From b15821cba82e3fad60930b6ce1d5d90cbeb18850 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:19:54 +0000 Subject: [PATCH 1/2] fix: update gapic-generator-java with mock service generation fixes PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../cloud/domains/v1alpha2/DomainsGrpc.java | 2285 ----------- .../cloud/domains/v1beta1/DomainsGrpc.java | 2284 ----------- .../cloud/domains/v1/DomainsClient.java | 76 +- .../cloud/domains/v1/DomainsSettings.java | 7 +- .../cloud/domains/v1/gapic_metadata.json | 0 .../google/cloud/domains/v1/package-info.java | 0 .../cloud/domains/v1/stub/DomainsStub.java | 0 .../domains/v1/stub/DomainsStubSettings.java | 9 +- .../v1/stub/GrpcDomainsCallableFactory.java | 0 .../domains/v1/stub/GrpcDomainsStub.java | 1 + .../stub/HttpJsonDomainsCallableFactory.java | 0 .../domains/v1/stub/HttpJsonDomainsStub.java | 1 + .../domains/v1/DomainsClientHttpJsonTest.java | 0 .../cloud/domains/v1/DomainsClientTest.java | 0 .../google/cloud/domains/v1/MockDomains.java | 0 .../cloud/domains/v1/MockDomainsImpl.java | 0 .../google/cloud/domains/v1/DomainsGrpc.java | 1603 +++----- .../cloud/domains/v1/AuthorizationCode.java | 301 +- .../v1/AuthorizationCodeOrBuilder.java | 27 +- .../v1/ConfigureContactSettingsRequest.java | 743 ++-- ...figureContactSettingsRequestOrBuilder.java | 81 +- .../v1/ConfigureDnsSettingsRequest.java | 608 ++- .../ConfigureDnsSettingsRequestOrBuilder.java | 63 +- .../ConfigureManagementSettingsRequest.java | 594 ++- ...ureManagementSettingsRequestOrBuilder.java | 60 +- .../cloud/domains/v1/ContactNotice.java | 75 +- .../cloud/domains/v1/ContactPrivacy.java | 89 +- .../cloud/domains/v1/ContactSettings.java | 1430 +++---- .../domains/v1/ContactSettingsOrBuilder.java | 92 +- .../domains/v1/DeleteRegistrationRequest.java | 342 +- .../DeleteRegistrationRequestOrBuilder.java | 31 + .../google/cloud/domains/v1/DnsSettings.java | 3238 ++++++---------- .../domains/v1/DnsSettingsOrBuilder.java | 52 +- .../google/cloud/domains/v1/DomainNotice.java | 75 +- .../google/cloud/domains/v1/DomainsProto.java | 720 ++++ .../domains/v1/ExportRegistrationRequest.java | 342 +- .../ExportRegistrationRequestOrBuilder.java | 31 + .../domains/v1/GetRegistrationRequest.java | 339 +- .../v1/GetRegistrationRequestOrBuilder.java | 31 + .../domains/v1/ListRegistrationsRequest.java | 533 ++- .../v1/ListRegistrationsRequestOrBuilder.java | 56 +- .../domains/v1/ListRegistrationsResponse.java | 459 +-- .../ListRegistrationsResponseOrBuilder.java | 45 +- .../google/cloud/domains/v1/LocationName.java | 0 .../cloud/domains/v1/ManagementSettings.java | 453 +-- .../v1/ManagementSettingsOrBuilder.java | 38 +- .../cloud/domains/v1/OperationMetadata.java | 724 ++-- .../v1/OperationMetadataOrBuilder.java | 70 +- .../domains/v1/RegisterDomainRequest.java | 870 ++--- .../v1/RegisterDomainRequestOrBuilder.java | 102 +- .../cloud/domains/v1/RegisterParameters.java | 799 ++-- .../v1/RegisterParametersOrBuilder.java | 77 +- .../google/cloud/domains/v1/Registration.java | 2092 ++++------ .../cloud/domains/v1/RegistrationName.java | 0 .../domains/v1/RegistrationOrBuilder.java | 255 +- .../v1/ResetAuthorizationCodeRequest.java | 342 +- ...esetAuthorizationCodeRequestOrBuilder.java | 31 + .../v1/RetrieveAuthorizationCodeRequest.java | 352 +- ...ieveAuthorizationCodeRequestOrBuilder.java | 31 + .../v1/RetrieveRegisterParametersRequest.java | 432 +-- ...eveRegisterParametersRequestOrBuilder.java | 44 +- .../RetrieveRegisterParametersResponse.java | 362 +- ...veRegisterParametersResponseOrBuilder.java | 26 +- .../v1/RetrieveTransferParametersRequest.java | 432 +-- ...eveTransferParametersRequestOrBuilder.java | 44 +- .../RetrieveTransferParametersResponse.java | 362 +- ...veTransferParametersResponseOrBuilder.java | 26 +- .../domains/v1/SearchDomainsRequest.java | 415 +- .../v1/SearchDomainsRequestOrBuilder.java | 44 +- .../domains/v1/SearchDomainsResponse.java | 367 +- .../v1/SearchDomainsResponseOrBuilder.java | 36 +- .../domains/v1/TransferDomainRequest.java | 834 ++-- .../v1/TransferDomainRequestOrBuilder.java | 92 +- .../cloud/domains/v1/TransferLockState.java | 80 +- .../cloud/domains/v1/TransferParameters.java | 767 ++-- .../v1/TransferParametersOrBuilder.java | 86 +- .../domains/v1/UpdateRegistrationRequest.java | 468 +-- .../UpdateRegistrationRequestOrBuilder.java | 43 +- .../google/cloud/domains/v1/domains.proto | 0 .../AsyncConfigureContactSettings.java | 0 .../AsyncConfigureContactSettingsLRO.java | 0 .../SyncConfigureContactSettings.java | 0 ...istrationnameContactsettingsFieldmask.java | 6 +- ...ettingsStringContactsettingsFieldmask.java | 6 +- .../AsyncConfigureDnsSettings.java | 0 .../AsyncConfigureDnsSettingsLRO.java | 0 .../SyncConfigureDnsSettings.java | 0 ...sRegistrationnameDnssettingsFieldmask.java | 6 +- ...DnsSettingsStringDnssettingsFieldmask.java | 0 .../AsyncConfigureManagementSettings.java | 0 .../AsyncConfigureManagementSettingsLRO.java | 0 .../SyncConfigureManagementSettings.java | 0 ...rationnameManagementsettingsFieldmask.java | 6 +- ...ingsStringManagementsettingsFieldmask.java | 6 +- .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncDeleteRegistration.java | 0 .../AsyncDeleteRegistrationLRO.java | 0 .../SyncDeleteRegistration.java | 1 + ...yncDeleteRegistrationRegistrationname.java | 1 + .../SyncDeleteRegistrationString.java | 1 + .../AsyncExportRegistration.java | 0 .../AsyncExportRegistrationLRO.java | 0 .../SyncExportRegistration.java | 0 ...yncExportRegistrationRegistrationname.java | 0 .../SyncExportRegistrationString.java | 0 .../getregistration/AsyncGetRegistration.java | 0 .../getregistration/SyncGetRegistration.java | 0 .../SyncGetRegistrationRegistrationname.java | 0 .../SyncGetRegistrationString.java | 0 .../AsyncListRegistrations.java | 0 .../AsyncListRegistrationsPaged.java | 0 .../SyncListRegistrations.java | 0 .../SyncListRegistrationsLocationname.java | 0 .../SyncListRegistrationsString.java | 0 .../registerdomain/AsyncRegisterDomain.java | 0 .../AsyncRegisterDomainLRO.java | 0 .../registerdomain/SyncRegisterDomain.java | 0 ...erDomainLocationnameRegistrationMoney.java | 0 ...RegisterDomainStringRegistrationMoney.java | 0 .../AsyncResetAuthorizationCode.java | 0 .../SyncResetAuthorizationCode.java | 0 ...esetAuthorizationCodeRegistrationname.java | 0 .../SyncResetAuthorizationCodeString.java | 0 .../AsyncRetrieveAuthorizationCode.java | 0 .../SyncRetrieveAuthorizationCode.java | 0 ...ieveAuthorizationCodeRegistrationname.java | 0 .../SyncRetrieveAuthorizationCodeString.java | 0 .../AsyncRetrieveRegisterParameters.java | 0 .../SyncRetrieveRegisterParameters.java | 0 ...eRegisterParametersLocationnameString.java | 0 ...etrieveRegisterParametersStringString.java | 0 .../AsyncRetrieveTransferParameters.java | 0 .../SyncRetrieveTransferParameters.java | 0 ...eTransferParametersLocationnameString.java | 0 ...etrieveTransferParametersStringString.java | 0 .../searchdomains/AsyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../SyncSearchDomainsLocationnameString.java | 0 .../SyncSearchDomainsStringString.java | 0 .../transferdomain/AsyncTransferDomain.java | 0 .../AsyncTransferDomainLRO.java | 0 .../transferdomain/SyncTransferDomain.java | 0 ...ameRegistrationMoneyAuthorizationcode.java | 6 +- ...ingRegistrationMoneyAuthorizationcode.java | 6 +- .../AsyncUpdateRegistration.java | 0 .../AsyncUpdateRegistrationLRO.java | 0 .../SyncUpdateRegistration.java | 0 ...dateRegistrationRegistrationFieldmask.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../cloud/domains/v1alpha2/DomainsClient.java | 75 +- .../domains/v1alpha2/DomainsSettings.java | 7 +- .../domains/v1alpha2/gapic_metadata.json | 0 .../cloud/domains/v1alpha2/package-info.java | 0 .../domains/v1alpha2/stub/DomainsStub.java | 0 .../v1alpha2/stub/DomainsStubSettings.java | 9 +- .../stub/GrpcDomainsCallableFactory.java | 0 .../v1alpha2/stub/GrpcDomainsStub.java | 1 + .../stub/HttpJsonDomainsCallableFactory.java | 0 .../v1alpha2/stub/HttpJsonDomainsStub.java | 1 + .../v1alpha2/DomainsClientHttpJsonTest.java | 0 .../domains/v1alpha2/DomainsClientTest.java | 0 .../cloud/domains/v1alpha2/MockDomains.java | 0 .../domains/v1alpha2/MockDomainsImpl.java | 0 .../cloud/domains/v1alpha2/DomainsGrpc.java | 1763 +++++++++ .../domains/v1alpha2/AuthorizationCode.java | 311 +- .../v1alpha2/AuthorizationCodeOrBuilder.java | 27 +- .../ConfigureContactSettingsRequest.java | 773 ++-- ...figureContactSettingsRequestOrBuilder.java | 81 +- .../v1alpha2/ConfigureDnsSettingsRequest.java | 613 ++- .../ConfigureDnsSettingsRequestOrBuilder.java | 63 +- .../ConfigureManagementSettingsRequest.java | 622 ++- ...ureManagementSettingsRequestOrBuilder.java | 60 +- .../cloud/domains/v1alpha2/ContactNotice.java | 75 +- .../domains/v1alpha2/ContactPrivacy.java | 89 +- .../domains/v1alpha2/ContactSettings.java | 1469 +++---- .../v1alpha2/ContactSettingsOrBuilder.java | 95 +- .../v1alpha2/DeleteRegistrationRequest.java | 342 +- .../DeleteRegistrationRequestOrBuilder.java | 31 + .../cloud/domains/v1alpha2/DnsSettings.java | 3397 ++++++----------- .../v1alpha2/DnsSettingsOrBuilder.java | 61 +- .../cloud/domains/v1alpha2/DomainNotice.java | 75 +- .../cloud/domains/v1alpha2/DomainsProto.java | 732 ++++ .../v1alpha2/ExportRegistrationRequest.java | 342 +- .../ExportRegistrationRequestOrBuilder.java | 31 + .../v1alpha2/GetRegistrationRequest.java | 342 +- .../GetRegistrationRequestOrBuilder.java | 31 + .../v1alpha2/ListRegistrationsRequest.java | 536 ++- .../ListRegistrationsRequestOrBuilder.java | 56 +- .../v1alpha2/ListRegistrationsResponse.java | 441 +-- .../ListRegistrationsResponseOrBuilder.java | 45 +- .../cloud/domains/v1alpha2/LocationName.java | 0 .../domains/v1alpha2/ManagementSettings.java | 478 +-- .../v1alpha2/ManagementSettingsOrBuilder.java | 38 +- .../domains/v1alpha2/OperationMetadata.java | 734 ++-- .../v1alpha2/OperationMetadataOrBuilder.java | 70 +- .../v1alpha2/RegisterDomainRequest.java | 867 ++--- .../RegisterDomainRequestOrBuilder.java | 102 +- .../domains/v1alpha2/RegisterParameters.java | 821 ++-- .../v1alpha2/RegisterParametersOrBuilder.java | 77 +- .../cloud/domains/v1alpha2/Registration.java | 2145 ++++------- .../domains/v1alpha2/RegistrationName.java | 0 .../v1alpha2/RegistrationOrBuilder.java | 255 +- .../ResetAuthorizationCodeRequest.java | 363 +- ...esetAuthorizationCodeRequestOrBuilder.java | 31 + .../RetrieveAuthorizationCodeRequest.java | 378 +- ...ieveAuthorizationCodeRequestOrBuilder.java | 31 + .../RetrieveRegisterParametersRequest.java | 457 +-- ...eveRegisterParametersRequestOrBuilder.java | 44 +- .../RetrieveRegisterParametersResponse.java | 390 +- ...veRegisterParametersResponseOrBuilder.java | 26 +- .../RetrieveTransferParametersRequest.java | 457 +-- ...eveTransferParametersRequestOrBuilder.java | 44 +- .../RetrieveTransferParametersResponse.java | 390 +- ...veTransferParametersResponseOrBuilder.java | 26 +- .../v1alpha2/SearchDomainsRequest.java | 421 +- .../SearchDomainsRequestOrBuilder.java | 44 +- .../v1alpha2/SearchDomainsResponse.java | 465 +-- .../SearchDomainsResponseOrBuilder.java | 48 +- .../v1alpha2/TransferDomainRequest.java | 847 ++-- .../TransferDomainRequestOrBuilder.java | 92 +- .../domains/v1alpha2/TransferLockState.java | 80 +- .../domains/v1alpha2/TransferParameters.java | 794 ++-- .../v1alpha2/TransferParametersOrBuilder.java | 86 +- .../v1alpha2/UpdateRegistrationRequest.java | 468 +-- .../UpdateRegistrationRequestOrBuilder.java | 43 +- .../cloud/domains/v1alpha2/domains.proto | 0 .../AsyncConfigureContactSettings.java | 0 .../AsyncConfigureContactSettingsLRO.java | 0 .../SyncConfigureContactSettings.java | 0 ...istrationnameContactsettingsFieldmask.java | 6 +- ...ettingsStringContactsettingsFieldmask.java | 6 +- .../AsyncConfigureDnsSettings.java | 0 .../AsyncConfigureDnsSettingsLRO.java | 0 .../SyncConfigureDnsSettings.java | 0 ...sRegistrationnameDnssettingsFieldmask.java | 6 +- ...DnsSettingsStringDnssettingsFieldmask.java | 6 +- .../AsyncConfigureManagementSettings.java | 0 .../AsyncConfigureManagementSettingsLRO.java | 0 .../SyncConfigureManagementSettings.java | 0 ...rationnameManagementsettingsFieldmask.java | 6 +- ...ingsStringManagementsettingsFieldmask.java | 6 +- .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncDeleteRegistration.java | 0 .../AsyncDeleteRegistrationLRO.java | 0 .../SyncDeleteRegistration.java | 1 + ...yncDeleteRegistrationRegistrationname.java | 1 + .../SyncDeleteRegistrationString.java | 1 + .../AsyncExportRegistration.java | 0 .../AsyncExportRegistrationLRO.java | 0 .../SyncExportRegistration.java | 0 ...yncExportRegistrationRegistrationname.java | 0 .../SyncExportRegistrationString.java | 0 .../getregistration/AsyncGetRegistration.java | 0 .../getregistration/SyncGetRegistration.java | 0 .../SyncGetRegistrationRegistrationname.java | 0 .../SyncGetRegistrationString.java | 0 .../AsyncListRegistrations.java | 0 .../AsyncListRegistrationsPaged.java | 0 .../SyncListRegistrations.java | 0 .../SyncListRegistrationsLocationname.java | 0 .../SyncListRegistrationsString.java | 0 .../registerdomain/AsyncRegisterDomain.java | 0 .../AsyncRegisterDomainLRO.java | 0 .../registerdomain/SyncRegisterDomain.java | 0 ...erDomainLocationnameRegistrationMoney.java | 3 +- ...RegisterDomainStringRegistrationMoney.java | 0 .../AsyncResetAuthorizationCode.java | 0 .../SyncResetAuthorizationCode.java | 0 ...esetAuthorizationCodeRegistrationname.java | 0 .../SyncResetAuthorizationCodeString.java | 0 .../AsyncRetrieveAuthorizationCode.java | 0 .../SyncRetrieveAuthorizationCode.java | 0 ...ieveAuthorizationCodeRegistrationname.java | 0 .../SyncRetrieveAuthorizationCodeString.java | 0 .../AsyncRetrieveRegisterParameters.java | 0 .../SyncRetrieveRegisterParameters.java | 0 ...eRegisterParametersLocationnameString.java | 3 +- ...etrieveRegisterParametersStringString.java | 0 .../AsyncRetrieveTransferParameters.java | 0 .../SyncRetrieveTransferParameters.java | 0 ...eTransferParametersLocationnameString.java | 3 +- ...etrieveTransferParametersStringString.java | 0 .../searchdomains/AsyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../SyncSearchDomainsLocationnameString.java | 0 .../SyncSearchDomainsStringString.java | 0 .../transferdomain/AsyncTransferDomain.java | 0 .../AsyncTransferDomainLRO.java | 0 .../transferdomain/SyncTransferDomain.java | 0 ...ameRegistrationMoneyAuthorizationcode.java | 6 +- ...ingRegistrationMoneyAuthorizationcode.java | 6 +- .../AsyncUpdateRegistration.java | 0 .../AsyncUpdateRegistrationLRO.java | 0 .../SyncUpdateRegistration.java | 0 ...dateRegistrationRegistrationFieldmask.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../cloud/domains/v1beta1/DomainsClient.java | 75 +- .../domains/v1beta1/DomainsSettings.java | 7 +- .../cloud/domains/v1beta1/gapic_metadata.json | 0 .../cloud/domains/v1beta1/package-info.java | 0 .../domains/v1beta1/stub/DomainsStub.java | 0 .../v1beta1/stub/DomainsStubSettings.java | 9 +- .../stub/GrpcDomainsCallableFactory.java | 0 .../domains/v1beta1/stub/GrpcDomainsStub.java | 1 + .../stub/HttpJsonDomainsCallableFactory.java | 0 .../v1beta1/stub/HttpJsonDomainsStub.java | 1 + .../v1beta1/DomainsClientHttpJsonTest.java | 0 .../domains/v1beta1/DomainsClientTest.java | 0 .../cloud/domains/v1beta1/MockDomains.java | 0 .../domains/v1beta1/MockDomainsImpl.java | 0 .../cloud/domains/v1beta1/DomainsGrpc.java | 1763 +++++++++ .../domains/v1beta1/AuthorizationCode.java | 311 +- .../v1beta1/AuthorizationCodeOrBuilder.java | 27 +- .../ConfigureContactSettingsRequest.java | 761 ++-- ...figureContactSettingsRequestOrBuilder.java | 81 +- .../v1beta1/ConfigureDnsSettingsRequest.java | 612 ++- .../ConfigureDnsSettingsRequestOrBuilder.java | 63 +- .../ConfigureManagementSettingsRequest.java | 622 ++- ...ureManagementSettingsRequestOrBuilder.java | 60 +- .../cloud/domains/v1beta1/ContactNotice.java | 75 +- .../cloud/domains/v1beta1/ContactPrivacy.java | 89 +- .../domains/v1beta1/ContactSettings.java | 1458 +++---- .../v1beta1/ContactSettingsOrBuilder.java | 92 +- .../v1beta1/DeleteRegistrationRequest.java | 342 +- .../DeleteRegistrationRequestOrBuilder.java | 31 + .../cloud/domains/v1beta1/DnsSettings.java | 3365 ++++++---------- .../domains/v1beta1/DnsSettingsOrBuilder.java | 52 +- .../cloud/domains/v1beta1/DomainNotice.java | 75 +- .../cloud/domains/v1beta1/DomainsProto.java | 730 ++++ .../v1beta1/ExportRegistrationRequest.java | 342 +- .../ExportRegistrationRequestOrBuilder.java | 31 + .../v1beta1/GetRegistrationRequest.java | 342 +- .../GetRegistrationRequestOrBuilder.java | 31 + .../v1beta1/ListRegistrationsRequest.java | 536 ++- .../ListRegistrationsRequestOrBuilder.java | 56 +- .../v1beta1/ListRegistrationsResponse.java | 441 +-- .../ListRegistrationsResponseOrBuilder.java | 45 +- .../cloud/domains/v1beta1/LocationName.java | 0 .../domains/v1beta1/ManagementSettings.java | 477 +-- .../v1beta1/ManagementSettingsOrBuilder.java | 38 +- .../domains/v1beta1/OperationMetadata.java | 734 ++-- .../v1beta1/OperationMetadataOrBuilder.java | 70 +- .../v1beta1/RegisterDomainRequest.java | 867 ++--- .../RegisterDomainRequestOrBuilder.java | 102 +- .../domains/v1beta1/RegisterParameters.java | 813 ++-- .../v1beta1/RegisterParametersOrBuilder.java | 77 +- .../cloud/domains/v1beta1/Registration.java | 2137 ++++------- .../domains/v1beta1/RegistrationName.java | 0 .../v1beta1/RegistrationOrBuilder.java | 255 +- .../ResetAuthorizationCodeRequest.java | 360 +- ...esetAuthorizationCodeRequestOrBuilder.java | 31 + .../RetrieveAuthorizationCodeRequest.java | 374 +- ...ieveAuthorizationCodeRequestOrBuilder.java | 31 + .../RetrieveRegisterParametersRequest.java | 457 +-- ...eveRegisterParametersRequestOrBuilder.java | 44 +- .../RetrieveRegisterParametersResponse.java | 390 +- ...veRegisterParametersResponseOrBuilder.java | 26 +- .../RetrieveTransferParametersRequest.java | 457 +-- ...eveTransferParametersRequestOrBuilder.java | 44 +- .../RetrieveTransferParametersResponse.java | 390 +- ...veTransferParametersResponseOrBuilder.java | 26 +- .../domains/v1beta1/SearchDomainsRequest.java | 421 +- .../SearchDomainsRequestOrBuilder.java | 44 +- .../v1beta1/SearchDomainsResponse.java | 442 +-- .../SearchDomainsResponseOrBuilder.java | 33 +- .../v1beta1/TransferDomainRequest.java | 847 ++-- .../TransferDomainRequestOrBuilder.java | 92 +- .../domains/v1beta1/TransferLockState.java | 80 +- .../domains/v1beta1/TransferParameters.java | 788 ++-- .../v1beta1/TransferParametersOrBuilder.java | 86 +- .../v1beta1/UpdateRegistrationRequest.java | 468 +-- .../UpdateRegistrationRequestOrBuilder.java | 43 +- .../cloud/domains/v1beta1/domains.proto | 0 .../AsyncConfigureContactSettings.java | 0 .../AsyncConfigureContactSettingsLRO.java | 0 .../SyncConfigureContactSettings.java | 0 ...istrationnameContactsettingsFieldmask.java | 6 +- ...ettingsStringContactsettingsFieldmask.java | 6 +- .../AsyncConfigureDnsSettings.java | 0 .../AsyncConfigureDnsSettingsLRO.java | 0 .../SyncConfigureDnsSettings.java | 0 ...sRegistrationnameDnssettingsFieldmask.java | 6 +- ...DnsSettingsStringDnssettingsFieldmask.java | 6 +- .../AsyncConfigureManagementSettings.java | 0 .../AsyncConfigureManagementSettingsLRO.java | 0 .../SyncConfigureManagementSettings.java | 0 ...rationnameManagementsettingsFieldmask.java | 6 +- ...ingsStringManagementsettingsFieldmask.java | 6 +- .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncDeleteRegistration.java | 0 .../AsyncDeleteRegistrationLRO.java | 0 .../SyncDeleteRegistration.java | 1 + ...yncDeleteRegistrationRegistrationname.java | 1 + .../SyncDeleteRegistrationString.java | 1 + .../AsyncExportRegistration.java | 0 .../AsyncExportRegistrationLRO.java | 0 .../SyncExportRegistration.java | 0 ...yncExportRegistrationRegistrationname.java | 0 .../SyncExportRegistrationString.java | 0 .../getregistration/AsyncGetRegistration.java | 0 .../getregistration/SyncGetRegistration.java | 0 .../SyncGetRegistrationRegistrationname.java | 0 .../SyncGetRegistrationString.java | 0 .../AsyncListRegistrations.java | 0 .../AsyncListRegistrationsPaged.java | 0 .../SyncListRegistrations.java | 0 .../SyncListRegistrationsLocationname.java | 0 .../SyncListRegistrationsString.java | 0 .../registerdomain/AsyncRegisterDomain.java | 0 .../AsyncRegisterDomainLRO.java | 0 .../registerdomain/SyncRegisterDomain.java | 0 ...erDomainLocationnameRegistrationMoney.java | 0 ...RegisterDomainStringRegistrationMoney.java | 0 .../AsyncResetAuthorizationCode.java | 0 .../SyncResetAuthorizationCode.java | 0 ...esetAuthorizationCodeRegistrationname.java | 0 .../SyncResetAuthorizationCodeString.java | 0 .../AsyncRetrieveAuthorizationCode.java | 0 .../SyncRetrieveAuthorizationCode.java | 0 ...ieveAuthorizationCodeRegistrationname.java | 0 .../SyncRetrieveAuthorizationCodeString.java | 0 .../AsyncRetrieveRegisterParameters.java | 0 .../SyncRetrieveRegisterParameters.java | 0 ...eRegisterParametersLocationnameString.java | 3 +- ...etrieveRegisterParametersStringString.java | 0 .../AsyncRetrieveTransferParameters.java | 0 .../SyncRetrieveTransferParameters.java | 0 ...eTransferParametersLocationnameString.java | 3 +- ...etrieveTransferParametersStringString.java | 0 .../searchdomains/AsyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../SyncSearchDomainsLocationnameString.java | 0 .../SyncSearchDomainsStringString.java | 0 .../transferdomain/AsyncTransferDomain.java | 0 .../AsyncTransferDomainLRO.java | 0 .../transferdomain/SyncTransferDomain.java | 0 ...ameRegistrationMoneyAuthorizationcode.java | 6 +- ...ingRegistrationMoneyAuthorizationcode.java | 6 +- .../AsyncUpdateRegistration.java | 0 .../AsyncUpdateRegistrationLRO.java | 0 .../SyncUpdateRegistration.java | 0 ...dateRegistrationRegistrationFieldmask.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../DeleteRegistrationRequestOrBuilder.java | 56 - .../google/cloud/domains/v1/DomainsProto.java | 793 ---- .../ExportRegistrationRequestOrBuilder.java | 56 - .../v1/GetRegistrationRequestOrBuilder.java | 56 - ...esetAuthorizationCodeRequestOrBuilder.java | 56 - ...ieveAuthorizationCodeRequestOrBuilder.java | 56 - .../DeleteRegistrationRequestOrBuilder.java | 56 - .../cloud/domains/v1alpha2/DomainsProto.java | 817 ---- .../ExportRegistrationRequestOrBuilder.java | 56 - .../GetRegistrationRequestOrBuilder.java | 56 - ...esetAuthorizationCodeRequestOrBuilder.java | 56 - ...ieveAuthorizationCodeRequestOrBuilder.java | 56 - .../DeleteRegistrationRequestOrBuilder.java | 56 - .../cloud/domains/v1beta1/DomainsProto.java | 807 ---- .../ExportRegistrationRequestOrBuilder.java | 56 - .../GetRegistrationRequestOrBuilder.java | 56 - ...esetAuthorizationCodeRequestOrBuilder.java | 56 - ...ieveAuthorizationCodeRequestOrBuilder.java | 56 - 470 files changed, 29304 insertions(+), 50312 deletions(-) delete mode 100644 grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java delete mode 100644 grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/DomainsClient.java (98%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java (98%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/gapic_metadata.json (100%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/package-info.java (100%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/DomainsStub.java (100%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java (99%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsCallableFactory.java (100%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java (99%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsCallableFactory.java (100%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java (99%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1/DomainsClientHttpJsonTest.java (100%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1/DomainsClientTest.java (100%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1/MockDomains.java (100%) rename {google-cloud-domains => owl-bot-staging/v1/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1/MockDomainsImpl.java (100%) rename {grpc-google-cloud-domains-v1 => owl-bot-staging/v1/grpc-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java (50%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java (69%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java (50%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java (73%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java (78%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java (72%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java (75%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java (68%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java (69%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ContactNotice.java (67%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java (75%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ContactSettings.java (66%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java (59%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/DnsSettings.java (76%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java (80%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/DomainNotice.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java (74%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java (74%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java (73%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java (67%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/LocationName.java (100%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java (68%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java (56%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java (72%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java (74%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java (75%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java (79%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java (77%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java (83%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/Registration.java (68%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegistrationName.java (100%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java (71%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java (66%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java (51%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java (66%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java (62%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java (66%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java (51%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java (66%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java (62%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java (67%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java (50%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java (74%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java (65%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java (74%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java (80%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/TransferLockState.java (69%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/TransferParameters.java (76%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java (81%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java (69%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java (70%) rename {proto-google-cloud-domains-v1 => owl-bot-staging/v1/proto-google-cloud-domains-v1}/src/main/proto/google/cloud/domains/v1/domains.proto (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java (89%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java (89%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/AsyncGetRegistration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomain.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomain.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/AsyncSearchDomains.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomains.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsStringString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomain.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomainLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomain.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java (89%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java (89%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistration.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/domainssettings/searchdomains/SyncSearchDomains.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/domains/v1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java (100%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java (98%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java (98%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/gapic_metadata.json (100%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/package-info.java (100%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStub.java (100%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java (99%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsCallableFactory.java (100%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java (99%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsCallableFactory.java (100%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java (99%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientHttpJsonTest.java (100%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientTest.java (100%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1alpha2/MockDomains.java (100%) rename {google-cloud-domains => owl-bot-staging/v1alpha2/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1alpha2/MockDomainsImpl.java (100%) create mode 100644 owl-bot-staging/v1alpha2/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java (68%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java (51%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java (72%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java (78%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java (72%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java (75%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java (66%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java (69%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java (67%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java (75%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java (66%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java (58%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java (75%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java (77%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java (69%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java (65%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java (73%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java (74%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java (74%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java (69%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/LocationName.java (100%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java (66%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java (56%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java (71%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java (74%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java (75%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java (79%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java (76%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java (83%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java (68%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationName.java (100%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java (71%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java (63%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java (61%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java (63%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java (52%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java (64%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java (63%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java (63%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java (52%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java (64%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java (63%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java (66%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java (50%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java (70%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java (59%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java (74%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java (80%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java (69%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java (75%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java (81%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java (69%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java (71%) rename {proto-google-cloud-domains-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2}/src/main/proto/google/cloud/domains/v1alpha2/domains.proto (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java (89%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettings.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java (89%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistration.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java (98%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java (97%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java (97%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistration.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistrationLRO.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistration.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationString.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/AsyncGetRegistration.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistration.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationString.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrations.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrationsPaged.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrations.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsLocationname.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsString.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomain.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomainLRO.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomain.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java (94%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java (94%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java (94%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/AsyncSearchDomains.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomains.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsStringString.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomain.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomainLRO.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomain.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java (88%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java (89%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistration.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistration.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainssettings/searchdomains/SyncSearchDomains.java (100%) rename {samples => owl-bot-staging/v1alpha2/samples}/snippets/generated/com/google/cloud/domains/v1alpha2/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java (100%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java (98%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java (98%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/gapic_metadata.json (100%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/package-info.java (100%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStub.java (100%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java (99%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsCallableFactory.java (100%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java (99%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsCallableFactory.java (100%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java (99%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientHttpJsonTest.java (100%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientTest.java (100%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1beta1/MockDomains.java (100%) rename {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/test/java/com/google/cloud/domains/v1beta1/MockDomainsImpl.java (100%) create mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java (68%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java (51%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java (72%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java (78%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java (72%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java (75%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java (66%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java (69%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java (67%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java (75%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java (66%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java (59%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java (75%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java (80%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java (69%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java (73%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java (74%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java (74%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java (69%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/LocationName.java (100%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java (66%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java (56%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java (71%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java (74%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java (75%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java (79%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java (76%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java (83%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/Registration.java (68%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegistrationName.java (100%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java (71%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java (64%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java (62%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java (63%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java (52%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java (64%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java (63%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java (63%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java (52%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java (64%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java (63%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java (66%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java (50%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java (71%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java (67%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java (74%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java (80%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java (69%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java (75%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java (81%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java (69%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java (71%) rename {proto-google-cloud-domains-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1}/src/main/proto/google/cloud/domains/v1beta1/domains.proto (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java (89%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java (89%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java (88%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistration.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java (98%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java (97%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java (97%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistration.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistration.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/AsyncGetRegistration.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistration.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrations.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrations.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomain.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomain.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java (94%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java (94%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/AsyncSearchDomains.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomains.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsStringString.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomain.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomainLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomain.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java (88%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java (89%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistration.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistration.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainssettings/searchdomains/SyncSearchDomains.java (100%) rename {samples => owl-bot-staging/v1beta1/samples}/snippets/generated/com/google/cloud/domains/v1beta1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java (100%) delete mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java delete mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java delete mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java delete mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java delete mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java diff --git a/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java b/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java deleted file mode 100644 index 25970610..00000000 --- a/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java +++ /dev/null @@ -1,2285 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.domains.v1alpha2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Cloud Domains API enables management and configuration of domain names.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/domains/v1alpha2/domains.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DomainsGrpc { - - private DomainsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.domains.v1alpha2.Domains"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.SearchDomainsRequest, - com.google.cloud.domains.v1alpha2.SearchDomainsResponse> - getSearchDomainsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchDomains", - requestType = com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, - responseType = com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.SearchDomainsRequest, - com.google.cloud.domains.v1alpha2.SearchDomainsResponse> - getSearchDomainsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.SearchDomainsRequest, - com.google.cloud.domains.v1alpha2.SearchDomainsResponse> - getSearchDomainsMethod; - if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { - DomainsGrpc.getSearchDomainsMethod = - getSearchDomainsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.SearchDomainsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) - .build(); - } - } - } - return getSearchDomainsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> - getRetrieveRegisterParametersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveRegisterParameters", - requestType = com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, - responseType = com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> - getRetrieveRegisterParametersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> - getRetrieveRegisterParametersMethod; - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) - == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) - == null) { - DomainsGrpc.getRetrieveRegisterParametersMethod = - getRetrieveRegisterParametersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) - .build(); - } - } - } - return getRetrieveRegisterParametersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RegisterDomainRequest, com.google.longrunning.Operation> - getRegisterDomainMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RegisterDomain", - requestType = com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RegisterDomainRequest, com.google.longrunning.Operation> - getRegisterDomainMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RegisterDomainRequest, - com.google.longrunning.Operation> - getRegisterDomainMethod; - if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { - DomainsGrpc.getRegisterDomainMethod = - getRegisterDomainMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) - .build(); - } - } - } - return getRegisterDomainMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> - getRetrieveTransferParametersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveTransferParameters", - requestType = com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, - responseType = com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> - getRetrieveTransferParametersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> - getRetrieveTransferParametersMethod; - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) - == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) - == null) { - DomainsGrpc.getRetrieveTransferParametersMethod = - getRetrieveTransferParametersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) - .build(); - } - } - } - return getRetrieveTransferParametersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.TransferDomainRequest, com.google.longrunning.Operation> - getTransferDomainMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TransferDomain", - requestType = com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.TransferDomainRequest, com.google.longrunning.Operation> - getTransferDomainMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.TransferDomainRequest, - com.google.longrunning.Operation> - getTransferDomainMethod; - if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { - DomainsGrpc.getTransferDomainMethod = - getTransferDomainMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.TransferDomainRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) - .build(); - } - } - } - return getTransferDomainMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest, - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse> - getListRegistrationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRegistrations", - requestType = com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, - responseType = com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest, - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse> - getListRegistrationsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest, - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse> - getListRegistrationsMethod; - if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { - DomainsGrpc.getListRegistrationsMethod = - getListRegistrationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) - .build(); - } - } - } - return getListRegistrationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.GetRegistrationRequest, - com.google.cloud.domains.v1alpha2.Registration> - getGetRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRegistration", - requestType = com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, - responseType = com.google.cloud.domains.v1alpha2.Registration.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.GetRegistrationRequest, - com.google.cloud.domains.v1alpha2.Registration> - getGetRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.GetRegistrationRequest, - com.google.cloud.domains.v1alpha2.Registration> - getGetRegistrationMethod; - if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { - DomainsGrpc.getGetRegistrationMethod = - getGetRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) - .build(); - } - } - } - return getGetRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest, - com.google.longrunning.Operation> - getUpdateRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRegistration", - requestType = com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest, - com.google.longrunning.Operation> - getUpdateRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest, - com.google.longrunning.Operation> - getUpdateRegistrationMethod; - if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { - DomainsGrpc.getUpdateRegistrationMethod = - getUpdateRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("UpdateRegistration")) - .build(); - } - } - } - return getUpdateRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation> - getConfigureManagementSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureManagementSettings", - requestType = com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation> - getConfigureManagementSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation> - getConfigureManagementSettingsMethod; - if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) - == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureManagementSettingsMethod = - DomainsGrpc.getConfigureManagementSettingsMethod) - == null) { - DomainsGrpc.getConfigureManagementSettingsMethod = - getConfigureManagementSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) - .build(); - } - } - } - return getConfigureManagementSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation> - getConfigureDnsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureDnsSettings", - requestType = com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation> - getConfigureDnsSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation> - getConfigureDnsSettingsMethod; - if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { - DomainsGrpc.getConfigureDnsSettingsMethod = - getConfigureDnsSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) - .build(); - } - } - } - return getConfigureDnsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest, - com.google.longrunning.Operation> - getConfigureContactSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureContactSettings", - requestType = com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest, - com.google.longrunning.Operation> - getConfigureContactSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest, - com.google.longrunning.Operation> - getConfigureContactSettingsMethod; - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) - == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) - == null) { - DomainsGrpc.getConfigureContactSettingsMethod = - getConfigureContactSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) - .build(); - } - } - } - return getConfigureContactSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest, - com.google.longrunning.Operation> - getExportRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportRegistration", - requestType = com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest, - com.google.longrunning.Operation> - getExportRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest, - com.google.longrunning.Operation> - getExportRegistrationMethod; - if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { - DomainsGrpc.getExportRegistrationMethod = - getExportRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ExportRegistration")) - .build(); - } - } - } - return getExportRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest, - com.google.longrunning.Operation> - getDeleteRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRegistration", - requestType = com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest, - com.google.longrunning.Operation> - getDeleteRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest, - com.google.longrunning.Operation> - getDeleteRegistrationMethod; - if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { - DomainsGrpc.getDeleteRegistrationMethod = - getDeleteRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("DeleteRegistration")) - .build(); - } - } - } - return getDeleteRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1alpha2.AuthorizationCode> - getRetrieveAuthorizationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveAuthorizationCode", - requestType = com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, - responseType = com.google.cloud.domains.v1alpha2.AuthorizationCode.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1alpha2.AuthorizationCode> - getRetrieveAuthorizationCodeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1alpha2.AuthorizationCode> - getRetrieveAuthorizationCodeMethod; - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) - == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) - == null) { - DomainsGrpc.getRetrieveAuthorizationCodeMethod = - getRetrieveAuthorizationCodeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.AuthorizationCode - .getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) - .build(); - } - } - } - return getRetrieveAuthorizationCodeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1alpha2.AuthorizationCode> - getResetAuthorizationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResetAuthorizationCode", - requestType = com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, - responseType = com.google.cloud.domains.v1alpha2.AuthorizationCode.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1alpha2.AuthorizationCode> - getResetAuthorizationCodeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1alpha2.AuthorizationCode> - getResetAuthorizationCodeMethod; - if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) - == null) { - DomainsGrpc.getResetAuthorizationCodeMethod = - getResetAuthorizationCodeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.AuthorizationCode - .getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) - .build(); - } - } - } - return getResetAuthorizationCodeMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DomainsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsStub(channel, callOptions); - } - }; - return DomainsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DomainsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsBlockingStub(channel, callOptions); - } - }; - return DomainsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DomainsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsFutureStub(channel, callOptions); - } - }; - return DomainsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public abstract static class DomainsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public void searchDomains( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchDomainsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public void retrieveRegisterParameters( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRetrieveRegisterParametersMethod(), responseObserver); - } - - /** - * - * - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public void registerDomain( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRegisterDomainMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public void retrieveTransferParameters( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRetrieveTransferParametersMethod(), responseObserver); - } - - /** - * - * - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public void transferDomain( - com.google.cloud.domains.v1alpha2.TransferDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTransferDomainMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public void listRegistrations( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRegistrationsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public void getRegistration( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRegistrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public void updateRegistration( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRegistrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public void configureManagementSettings( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getConfigureManagementSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public void configureDnsSettings( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getConfigureDnsSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public void configureContactSettings( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getConfigureContactSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public void exportRegistration( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportRegistrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public void deleteRegistration( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRegistrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void retrieveAuthorizationCode( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRetrieveAuthorizationCodeMethod(), responseObserver); - } - - /** - * - * - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void resetAuthorizationCode( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResetAuthorizationCodeMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getSearchDomainsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.SearchDomainsRequest, - com.google.cloud.domains.v1alpha2.SearchDomainsResponse>( - this, METHODID_SEARCH_DOMAINS))) - .addMethod( - getRetrieveRegisterParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse>( - this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) - .addMethod( - getRegisterDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.RegisterDomainRequest, - com.google.longrunning.Operation>(this, METHODID_REGISTER_DOMAIN))) - .addMethod( - getRetrieveTransferParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse>( - this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) - .addMethod( - getTransferDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.TransferDomainRequest, - com.google.longrunning.Operation>(this, METHODID_TRANSFER_DOMAIN))) - .addMethod( - getListRegistrationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest, - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse>( - this, METHODID_LIST_REGISTRATIONS))) - .addMethod( - getGetRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.GetRegistrationRequest, - com.google.cloud.domains.v1alpha2.Registration>( - this, METHODID_GET_REGISTRATION))) - .addMethod( - getUpdateRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_REGISTRATION))) - .addMethod( - getConfigureManagementSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) - .addMethod( - getConfigureDnsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation>(this, METHODID_CONFIGURE_DNS_SETTINGS))) - .addMethod( - getConfigureContactSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest, - com.google.longrunning.Operation>(this, METHODID_CONFIGURE_CONTACT_SETTINGS))) - .addMethod( - getExportRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest, - com.google.longrunning.Operation>(this, METHODID_EXPORT_REGISTRATION))) - .addMethod( - getDeleteRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REGISTRATION))) - .addMethod( - getRetrieveAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1alpha2.AuthorizationCode>( - this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) - .addMethod( - getResetAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1alpha2.AuthorizationCode>( - this, METHODID_RESET_AUTHORIZATION_CODE))) - .build(); - } - } - - /** - * - * - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsStub extends io.grpc.stub.AbstractAsyncStub { - private DomainsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsStub(channel, callOptions); - } - - /** - * - * - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public void searchDomains( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public void retrieveRegisterParameters( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public void registerDomain( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public void retrieveTransferParameters( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public void transferDomain( - com.google.cloud.domains.v1alpha2.TransferDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTransferDomainMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public void listRegistrations( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public void getRegistration( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public void updateRegistration( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public void configureManagementSettings( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public void configureDnsSettings( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public void configureContactSettings( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public void exportRegistration( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public void deleteRegistration( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void retrieveAuthorizationCode( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void resetAuthorizationCode( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DomainsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.SearchDomainsResponse searchDomains( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchDomainsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse - retrieveRegisterParameters( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveRegisterParametersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public com.google.longrunning.Operation registerDomain( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRegisterDomainMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse - retrieveTransferParameters( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveTransferParametersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public com.google.longrunning.Operation transferDomain( - com.google.cloud.domains.v1alpha2.TransferDomainRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTransferDomainMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse listRegistrations( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRegistrationsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.Registration getRegistration( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRegistrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public com.google.longrunning.Operation updateRegistration( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRegistrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public com.google.longrunning.Operation configureManagementSettings( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureManagementSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public com.google.longrunning.Operation configureDnsSettings( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureDnsSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public com.google.longrunning.Operation configureContactSettings( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureContactSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public com.google.longrunning.Operation exportRegistration( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportRegistrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public com.google.longrunning.Operation deleteRegistration( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRegistrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.AuthorizationCode retrieveAuthorizationCode( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveAuthorizationCodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.AuthorizationCode resetAuthorizationCode( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResetAuthorizationCodeMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DomainsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1alpha2.SearchDomainsResponse> - searchDomains(com.google.cloud.domains.v1alpha2.SearchDomainsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> - retrieveRegisterParameters( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - registerDomain(com.google.cloud.domains.v1alpha2.RegisterDomainRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> - retrieveTransferParameters( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - transferDomain(com.google.cloud.domains.v1alpha2.TransferDomainRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse> - listRegistrations(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1alpha2.Registration> - getRegistration(com.google.cloud.domains.v1alpha2.GetRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateRegistration(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - configureManagementSettings( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - configureDnsSettings( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - configureContactSettings( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - exportRegistration(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRegistration(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1alpha2.AuthorizationCode> - retrieveAuthorizationCode( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1alpha2.AuthorizationCode> - resetAuthorizationCode( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_SEARCH_DOMAINS = 0; - private static final int METHODID_RETRIEVE_REGISTER_PARAMETERS = 1; - private static final int METHODID_REGISTER_DOMAIN = 2; - private static final int METHODID_RETRIEVE_TRANSFER_PARAMETERS = 3; - private static final int METHODID_TRANSFER_DOMAIN = 4; - private static final int METHODID_LIST_REGISTRATIONS = 5; - private static final int METHODID_GET_REGISTRATION = 6; - private static final int METHODID_UPDATE_REGISTRATION = 7; - private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 8; - private static final int METHODID_CONFIGURE_DNS_SETTINGS = 9; - private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 10; - private static final int METHODID_EXPORT_REGISTRATION = 11; - private static final int METHODID_DELETE_REGISTRATION = 12; - private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 13; - private static final int METHODID_RESET_AUTHORIZATION_CODE = 14; - - 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 DomainsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DomainsImplBase 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_SEARCH_DOMAINS: - serviceImpl.searchDomains( - (com.google.cloud.domains.v1alpha2.SearchDomainsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RETRIEVE_REGISTER_PARAMETERS: - serviceImpl.retrieveRegisterParameters( - (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse>) - responseObserver); - break; - case METHODID_REGISTER_DOMAIN: - serviceImpl.registerDomain( - (com.google.cloud.domains.v1alpha2.RegisterDomainRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRIEVE_TRANSFER_PARAMETERS: - serviceImpl.retrieveTransferParameters( - (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse>) - responseObserver); - break; - case METHODID_TRANSFER_DOMAIN: - serviceImpl.transferDomain( - (com.google.cloud.domains.v1alpha2.TransferDomainRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REGISTRATIONS: - serviceImpl.listRegistrations( - (com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse>) - responseObserver); - break; - case METHODID_GET_REGISTRATION: - serviceImpl.getRegistration( - (com.google.cloud.domains.v1alpha2.GetRegistrationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_REGISTRATION: - serviceImpl.updateRegistration( - (com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_MANAGEMENT_SETTINGS: - serviceImpl.configureManagementSettings( - (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_DNS_SETTINGS: - serviceImpl.configureDnsSettings( - (com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_CONTACT_SETTINGS: - serviceImpl.configureContactSettings( - (com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_REGISTRATION: - serviceImpl.exportRegistration( - (com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REGISTRATION: - serviceImpl.deleteRegistration( - (com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRIEVE_AUTHORIZATION_CODE: - serviceImpl.retrieveAuthorizationCode( - (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RESET_AUTHORIZATION_CODE: - serviceImpl.resetAuthorizationCode( - (com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class DomainsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DomainsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Domains"); - } - } - - private static final class DomainsFileDescriptorSupplier extends DomainsBaseDescriptorSupplier { - DomainsFileDescriptorSupplier() {} - } - - private static final class DomainsMethodDescriptorSupplier extends DomainsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DomainsMethodDescriptorSupplier(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 (DomainsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) - .addMethod(getSearchDomainsMethod()) - .addMethod(getRetrieveRegisterParametersMethod()) - .addMethod(getRegisterDomainMethod()) - .addMethod(getRetrieveTransferParametersMethod()) - .addMethod(getTransferDomainMethod()) - .addMethod(getListRegistrationsMethod()) - .addMethod(getGetRegistrationMethod()) - .addMethod(getUpdateRegistrationMethod()) - .addMethod(getConfigureManagementSettingsMethod()) - .addMethod(getConfigureDnsSettingsMethod()) - .addMethod(getConfigureContactSettingsMethod()) - .addMethod(getExportRegistrationMethod()) - .addMethod(getDeleteRegistrationMethod()) - .addMethod(getRetrieveAuthorizationCodeMethod()) - .addMethod(getResetAuthorizationCodeMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java b/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java deleted file mode 100644 index be75f90e..00000000 --- a/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java +++ /dev/null @@ -1,2284 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.domains.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Cloud Domains API enables management and configuration of domain names.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/domains/v1beta1/domains.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DomainsGrpc { - - private DomainsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.domains.v1beta1.Domains"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.SearchDomainsRequest, - com.google.cloud.domains.v1beta1.SearchDomainsResponse> - getSearchDomainsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchDomains", - requestType = com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, - responseType = com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.SearchDomainsRequest, - com.google.cloud.domains.v1beta1.SearchDomainsResponse> - getSearchDomainsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.SearchDomainsRequest, - com.google.cloud.domains.v1beta1.SearchDomainsResponse> - getSearchDomainsMethod; - if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { - DomainsGrpc.getSearchDomainsMethod = - getSearchDomainsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.SearchDomainsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.SearchDomainsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) - .build(); - } - } - } - return getSearchDomainsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> - getRetrieveRegisterParametersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveRegisterParameters", - requestType = com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, - responseType = com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> - getRetrieveRegisterParametersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> - getRetrieveRegisterParametersMethod; - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) - == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) - == null) { - DomainsGrpc.getRetrieveRegisterParametersMethod = - getRetrieveRegisterParametersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) - .build(); - } - } - } - return getRetrieveRegisterParametersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RegisterDomainRequest, com.google.longrunning.Operation> - getRegisterDomainMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RegisterDomain", - requestType = com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RegisterDomainRequest, com.google.longrunning.Operation> - getRegisterDomainMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RegisterDomainRequest, - com.google.longrunning.Operation> - getRegisterDomainMethod; - if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { - DomainsGrpc.getRegisterDomainMethod = - getRegisterDomainMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RegisterDomainRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) - .build(); - } - } - } - return getRegisterDomainMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> - getRetrieveTransferParametersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveTransferParameters", - requestType = com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, - responseType = com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> - getRetrieveTransferParametersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> - getRetrieveTransferParametersMethod; - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) - == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) - == null) { - DomainsGrpc.getRetrieveTransferParametersMethod = - getRetrieveTransferParametersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) - .build(); - } - } - } - return getRetrieveTransferParametersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.TransferDomainRequest, com.google.longrunning.Operation> - getTransferDomainMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TransferDomain", - requestType = com.google.cloud.domains.v1beta1.TransferDomainRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.TransferDomainRequest, com.google.longrunning.Operation> - getTransferDomainMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.TransferDomainRequest, - com.google.longrunning.Operation> - getTransferDomainMethod; - if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { - DomainsGrpc.getTransferDomainMethod = - getTransferDomainMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.TransferDomainRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) - .build(); - } - } - } - return getTransferDomainMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ListRegistrationsRequest, - com.google.cloud.domains.v1beta1.ListRegistrationsResponse> - getListRegistrationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRegistrations", - requestType = com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, - responseType = com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ListRegistrationsRequest, - com.google.cloud.domains.v1beta1.ListRegistrationsResponse> - getListRegistrationsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ListRegistrationsRequest, - com.google.cloud.domains.v1beta1.ListRegistrationsResponse> - getListRegistrationsMethod; - if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { - DomainsGrpc.getListRegistrationsMethod = - getListRegistrationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ListRegistrationsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) - .build(); - } - } - } - return getListRegistrationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.GetRegistrationRequest, - com.google.cloud.domains.v1beta1.Registration> - getGetRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRegistration", - requestType = com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, - responseType = com.google.cloud.domains.v1beta1.Registration.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.GetRegistrationRequest, - com.google.cloud.domains.v1beta1.Registration> - getGetRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.GetRegistrationRequest, - com.google.cloud.domains.v1beta1.Registration> - getGetRegistrationMethod; - if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { - DomainsGrpc.getGetRegistrationMethod = - getGetRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.GetRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.Registration.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) - .build(); - } - } - } - return getGetRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest, - com.google.longrunning.Operation> - getUpdateRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRegistration", - requestType = com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest, - com.google.longrunning.Operation> - getUpdateRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest, - com.google.longrunning.Operation> - getUpdateRegistrationMethod; - if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { - DomainsGrpc.getUpdateRegistrationMethod = - getUpdateRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("UpdateRegistration")) - .build(); - } - } - } - return getUpdateRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation> - getConfigureManagementSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureManagementSettings", - requestType = com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation> - getConfigureManagementSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation> - getConfigureManagementSettingsMethod; - if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) - == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureManagementSettingsMethod = - DomainsGrpc.getConfigureManagementSettingsMethod) - == null) { - DomainsGrpc.getConfigureManagementSettingsMethod = - getConfigureManagementSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) - .build(); - } - } - } - return getConfigureManagementSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation> - getConfigureDnsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureDnsSettings", - requestType = com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation> - getConfigureDnsSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation> - getConfigureDnsSettingsMethod; - if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { - DomainsGrpc.getConfigureDnsSettingsMethod = - getConfigureDnsSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) - .build(); - } - } - } - return getConfigureDnsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest, - com.google.longrunning.Operation> - getConfigureContactSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureContactSettings", - requestType = com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest, - com.google.longrunning.Operation> - getConfigureContactSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest, - com.google.longrunning.Operation> - getConfigureContactSettingsMethod; - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) - == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) - == null) { - DomainsGrpc.getConfigureContactSettingsMethod = - getConfigureContactSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) - .build(); - } - } - } - return getConfigureContactSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ExportRegistrationRequest, - com.google.longrunning.Operation> - getExportRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportRegistration", - requestType = com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ExportRegistrationRequest, - com.google.longrunning.Operation> - getExportRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ExportRegistrationRequest, - com.google.longrunning.Operation> - getExportRegistrationMethod; - if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { - DomainsGrpc.getExportRegistrationMethod = - getExportRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ExportRegistration")) - .build(); - } - } - } - return getExportRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest, - com.google.longrunning.Operation> - getDeleteRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRegistration", - requestType = com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest, - com.google.longrunning.Operation> - getDeleteRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest, - com.google.longrunning.Operation> - getDeleteRegistrationMethod; - if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { - DomainsGrpc.getDeleteRegistrationMethod = - getDeleteRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("DeleteRegistration")) - .build(); - } - } - } - return getDeleteRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1beta1.AuthorizationCode> - getRetrieveAuthorizationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveAuthorizationCode", - requestType = com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, - responseType = com.google.cloud.domains.v1beta1.AuthorizationCode.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1beta1.AuthorizationCode> - getRetrieveAuthorizationCodeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1beta1.AuthorizationCode> - getRetrieveAuthorizationCodeMethod; - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) - == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) - == null) { - DomainsGrpc.getRetrieveAuthorizationCodeMethod = - getRetrieveAuthorizationCodeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.AuthorizationCode - .getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) - .build(); - } - } - } - return getRetrieveAuthorizationCodeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1beta1.AuthorizationCode> - getResetAuthorizationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResetAuthorizationCode", - requestType = com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, - responseType = com.google.cloud.domains.v1beta1.AuthorizationCode.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1beta1.AuthorizationCode> - getResetAuthorizationCodeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1beta1.AuthorizationCode> - getResetAuthorizationCodeMethod; - if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) - == null) { - DomainsGrpc.getResetAuthorizationCodeMethod = - getResetAuthorizationCodeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.AuthorizationCode - .getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) - .build(); - } - } - } - return getResetAuthorizationCodeMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DomainsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsStub(channel, callOptions); - } - }; - return DomainsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DomainsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsBlockingStub(channel, callOptions); - } - }; - return DomainsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DomainsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsFutureStub(channel, callOptions); - } - }; - return DomainsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public abstract static class DomainsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public void searchDomains( - com.google.cloud.domains.v1beta1.SearchDomainsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchDomainsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public void retrieveRegisterParameters( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRetrieveRegisterParametersMethod(), responseObserver); - } - - /** - * - * - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public void registerDomain( - com.google.cloud.domains.v1beta1.RegisterDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRegisterDomainMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public void retrieveTransferParameters( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRetrieveTransferParametersMethod(), responseObserver); - } - - /** - * - * - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public void transferDomain( - com.google.cloud.domains.v1beta1.TransferDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTransferDomainMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public void listRegistrations( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRegistrationsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public void getRegistration( - com.google.cloud.domains.v1beta1.GetRegistrationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRegistrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public void updateRegistration( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRegistrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public void configureManagementSettings( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getConfigureManagementSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public void configureDnsSettings( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getConfigureDnsSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public void configureContactSettings( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getConfigureContactSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public void exportRegistration( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportRegistrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public void deleteRegistration( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRegistrationMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void retrieveAuthorizationCode( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRetrieveAuthorizationCodeMethod(), responseObserver); - } - - /** - * - * - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void resetAuthorizationCode( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResetAuthorizationCodeMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getSearchDomainsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.SearchDomainsRequest, - com.google.cloud.domains.v1beta1.SearchDomainsResponse>( - this, METHODID_SEARCH_DOMAINS))) - .addMethod( - getRetrieveRegisterParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse>( - this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) - .addMethod( - getRegisterDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.RegisterDomainRequest, - com.google.longrunning.Operation>(this, METHODID_REGISTER_DOMAIN))) - .addMethod( - getRetrieveTransferParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse>( - this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) - .addMethod( - getTransferDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.TransferDomainRequest, - com.google.longrunning.Operation>(this, METHODID_TRANSFER_DOMAIN))) - .addMethod( - getListRegistrationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ListRegistrationsRequest, - com.google.cloud.domains.v1beta1.ListRegistrationsResponse>( - this, METHODID_LIST_REGISTRATIONS))) - .addMethod( - getGetRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.GetRegistrationRequest, - com.google.cloud.domains.v1beta1.Registration>( - this, METHODID_GET_REGISTRATION))) - .addMethod( - getUpdateRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_REGISTRATION))) - .addMethod( - getConfigureManagementSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) - .addMethod( - getConfigureDnsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation>(this, METHODID_CONFIGURE_DNS_SETTINGS))) - .addMethod( - getConfigureContactSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest, - com.google.longrunning.Operation>(this, METHODID_CONFIGURE_CONTACT_SETTINGS))) - .addMethod( - getExportRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ExportRegistrationRequest, - com.google.longrunning.Operation>(this, METHODID_EXPORT_REGISTRATION))) - .addMethod( - getDeleteRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REGISTRATION))) - .addMethod( - getRetrieveAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1beta1.AuthorizationCode>( - this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) - .addMethod( - getResetAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1beta1.AuthorizationCode>( - this, METHODID_RESET_AUTHORIZATION_CODE))) - .build(); - } - } - - /** - * - * - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsStub extends io.grpc.stub.AbstractAsyncStub { - private DomainsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsStub(channel, callOptions); - } - - /** - * - * - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public void searchDomains( - com.google.cloud.domains.v1beta1.SearchDomainsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public void retrieveRegisterParameters( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public void registerDomain( - com.google.cloud.domains.v1beta1.RegisterDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public void retrieveTransferParameters( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public void transferDomain( - com.google.cloud.domains.v1beta1.TransferDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTransferDomainMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public void listRegistrations( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public void getRegistration( - com.google.cloud.domains.v1beta1.GetRegistrationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public void updateRegistration( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public void configureManagementSettings( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public void configureDnsSettings( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public void configureContactSettings( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public void exportRegistration( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public void deleteRegistration( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void retrieveAuthorizationCode( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void resetAuthorizationCode( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DomainsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public com.google.cloud.domains.v1beta1.SearchDomainsResponse searchDomains( - com.google.cloud.domains.v1beta1.SearchDomainsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchDomainsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse - retrieveRegisterParameters( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveRegisterParametersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public com.google.longrunning.Operation registerDomain( - com.google.cloud.domains.v1beta1.RegisterDomainRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRegisterDomainMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse - retrieveTransferParameters( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveTransferParametersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public com.google.longrunning.Operation transferDomain( - com.google.cloud.domains.v1beta1.TransferDomainRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTransferDomainMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public com.google.cloud.domains.v1beta1.ListRegistrationsResponse listRegistrations( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRegistrationsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public com.google.cloud.domains.v1beta1.Registration getRegistration( - com.google.cloud.domains.v1beta1.GetRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRegistrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public com.google.longrunning.Operation updateRegistration( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRegistrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public com.google.longrunning.Operation configureManagementSettings( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureManagementSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public com.google.longrunning.Operation configureDnsSettings( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureDnsSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public com.google.longrunning.Operation configureContactSettings( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureContactSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public com.google.longrunning.Operation exportRegistration( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportRegistrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public com.google.longrunning.Operation deleteRegistration( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRegistrationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.cloud.domains.v1beta1.AuthorizationCode retrieveAuthorizationCode( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveAuthorizationCodeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.cloud.domains.v1beta1.AuthorizationCode resetAuthorizationCode( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResetAuthorizationCodeMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DomainsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1beta1.SearchDomainsResponse> - searchDomains(com.google.cloud.domains.v1beta1.SearchDomainsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> - retrieveRegisterParameters( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - registerDomain(com.google.cloud.domains.v1beta1.RegisterDomainRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> - retrieveTransferParameters( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - transferDomain(com.google.cloud.domains.v1beta1.TransferDomainRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1beta1.ListRegistrationsResponse> - listRegistrations(com.google.cloud.domains.v1beta1.ListRegistrationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1beta1.Registration> - getRegistration(com.google.cloud.domains.v1beta1.GetRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateRegistration(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - configureManagementSettings( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - configureDnsSettings(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - configureContactSettings( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - exportRegistration(com.google.cloud.domains.v1beta1.ExportRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRegistration(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1beta1.AuthorizationCode> - retrieveAuthorizationCode( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1beta1.AuthorizationCode> - resetAuthorizationCode( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_SEARCH_DOMAINS = 0; - private static final int METHODID_RETRIEVE_REGISTER_PARAMETERS = 1; - private static final int METHODID_REGISTER_DOMAIN = 2; - private static final int METHODID_RETRIEVE_TRANSFER_PARAMETERS = 3; - private static final int METHODID_TRANSFER_DOMAIN = 4; - private static final int METHODID_LIST_REGISTRATIONS = 5; - private static final int METHODID_GET_REGISTRATION = 6; - private static final int METHODID_UPDATE_REGISTRATION = 7; - private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 8; - private static final int METHODID_CONFIGURE_DNS_SETTINGS = 9; - private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 10; - private static final int METHODID_EXPORT_REGISTRATION = 11; - private static final int METHODID_DELETE_REGISTRATION = 12; - private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 13; - private static final int METHODID_RESET_AUTHORIZATION_CODE = 14; - - 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 DomainsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DomainsImplBase 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_SEARCH_DOMAINS: - serviceImpl.searchDomains( - (com.google.cloud.domains.v1beta1.SearchDomainsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RETRIEVE_REGISTER_PARAMETERS: - serviceImpl.retrieveRegisterParameters( - (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse>) - responseObserver); - break; - case METHODID_REGISTER_DOMAIN: - serviceImpl.registerDomain( - (com.google.cloud.domains.v1beta1.RegisterDomainRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRIEVE_TRANSFER_PARAMETERS: - serviceImpl.retrieveTransferParameters( - (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse>) - responseObserver); - break; - case METHODID_TRANSFER_DOMAIN: - serviceImpl.transferDomain( - (com.google.cloud.domains.v1beta1.TransferDomainRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REGISTRATIONS: - serviceImpl.listRegistrations( - (com.google.cloud.domains.v1beta1.ListRegistrationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1beta1.ListRegistrationsResponse>) - responseObserver); - break; - case METHODID_GET_REGISTRATION: - serviceImpl.getRegistration( - (com.google.cloud.domains.v1beta1.GetRegistrationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_REGISTRATION: - serviceImpl.updateRegistration( - (com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_MANAGEMENT_SETTINGS: - serviceImpl.configureManagementSettings( - (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_DNS_SETTINGS: - serviceImpl.configureDnsSettings( - (com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_CONTACT_SETTINGS: - serviceImpl.configureContactSettings( - (com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_REGISTRATION: - serviceImpl.exportRegistration( - (com.google.cloud.domains.v1beta1.ExportRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REGISTRATION: - serviceImpl.deleteRegistration( - (com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRIEVE_AUTHORIZATION_CODE: - serviceImpl.retrieveAuthorizationCode( - (com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RESET_AUTHORIZATION_CODE: - serviceImpl.resetAuthorizationCode( - (com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class DomainsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DomainsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Domains"); - } - } - - private static final class DomainsFileDescriptorSupplier extends DomainsBaseDescriptorSupplier { - DomainsFileDescriptorSupplier() {} - } - - private static final class DomainsMethodDescriptorSupplier extends DomainsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DomainsMethodDescriptorSupplier(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 (DomainsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) - .addMethod(getSearchDomainsMethod()) - .addMethod(getRetrieveRegisterParametersMethod()) - .addMethod(getRegisterDomainMethod()) - .addMethod(getRetrieveTransferParametersMethod()) - .addMethod(getTransferDomainMethod()) - .addMethod(getListRegistrationsMethod()) - .addMethod(getGetRegistrationMethod()) - .addMethod(getUpdateRegistrationMethod()) - .addMethod(getConfigureManagementSettingsMethod()) - .addMethod(getConfigureDnsSettingsMethod()) - .addMethod(getConfigureContactSettingsMethod()) - .addMethod(getExportRegistrationMethod()) - .addMethod(getDeleteRegistrationMethod()) - .addMethod(getRetrieveAuthorizationCodeMethod()) - .addMethod(getResetAuthorizationCodeMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java similarity index 98% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java rename to owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java index a697fd4d..6127c5e4 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java +++ b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -63,13 +64,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -187,6 +188,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -1302,9 +1304,9 @@ public final UnaryCallable getRegistration * use the appropriate custom update method: * *
    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1341,9 +1343,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1375,9 +1377,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1409,9 +1411,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -2125,9 +2127,9 @@ public final UnaryCallable exportRegistrat * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2172,9 +2174,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2216,9 +2218,9 @@ public final OperationFuture deleteRegistrationAsync(S * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2261,9 +2263,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2306,9 +2308,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2612,10 +2614,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRegistrationsPagedResponse extends AbstractPagedListResponse< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, - ListRegistrationsPage, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2636,9 +2635,7 @@ private ListRegistrationsPagedResponse(ListRegistrationsPage page) { public static class ListRegistrationsPage extends AbstractPage< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage> { private ListRegistrationsPage( @@ -2668,10 +2665,7 @@ public ApiFuture createPageAsync( public static class ListRegistrationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, - ListRegistrationsPage, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { private ListRegistrationsFixedSizeCollection( diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java similarity index 98% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java rename to owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java index e1b7cc49..8a17a2dd 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java +++ b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java @@ -29,6 +29,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.domains.v1.stub.DomainsStubSettings; @@ -45,9 +46,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/gapic_metadata.json similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/gapic_metadata.json diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/package-info.java b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/package-info.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/package-info.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStub.java b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStub.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStub.java rename to owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStub.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java similarity index 99% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java rename to owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java index 77bd965e..4a4e08b4 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java @@ -87,9 +87,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -209,8 +209,7 @@ public Iterable extractResources(ListRegistrationsResponse payload ListRegistrationsRequest, ListRegistrationsResponse, ListRegistrationsPagedResponse> LIST_REGISTRATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListRegistrationsRequest, - ListRegistrationsResponse, + ListRegistrationsRequest, ListRegistrationsResponse, ListRegistrationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsCallableFactory.java b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsCallableFactory.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsCallableFactory.java rename to owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsCallableFactory.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java similarity index 99% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java rename to owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java index 0c0deccc..4165afac 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java +++ b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java @@ -54,6 +54,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsCallableFactory.java b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsCallableFactory.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsCallableFactory.java rename to owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsCallableFactory.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java similarity index 99% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java rename to owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java index ff46eff7..723002eb 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java +++ b/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java @@ -30,6 +30,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientHttpJsonTest.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientHttpJsonTest.java diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientTest.java b/owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientTest.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientTest.java rename to owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientTest.java diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomains.java b/owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomains.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomains.java rename to owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomains.java diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomainsImpl.java b/owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomainsImpl.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomainsImpl.java rename to owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomainsImpl.java diff --git a/grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java similarity index 50% rename from grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java index ac5b10f3..b45c7dab 100644 --- a/grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.domains.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * The Cloud Domains API enables management and configuration of domain names.
  * 
@@ -35,749 +18,523 @@ private DomainsGrpc() {} public static final String SERVICE_NAME = "google.cloud.domains.v1.Domains"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.SearchDomainsRequest, - com.google.cloud.domains.v1.SearchDomainsResponse> - getSearchDomainsMethod; + private static volatile io.grpc.MethodDescriptor getSearchDomainsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchDomains", requestType = com.google.cloud.domains.v1.SearchDomainsRequest.class, responseType = com.google.cloud.domains.v1.SearchDomainsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.SearchDomainsRequest, - com.google.cloud.domains.v1.SearchDomainsResponse> - getSearchDomainsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.SearchDomainsRequest, - com.google.cloud.domains.v1.SearchDomainsResponse> - getSearchDomainsMethod; + public static io.grpc.MethodDescriptor getSearchDomainsMethod() { + io.grpc.MethodDescriptor getSearchDomainsMethod; if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { synchronized (DomainsGrpc.class) { if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { - DomainsGrpc.getSearchDomainsMethod = - getSearchDomainsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.SearchDomainsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.SearchDomainsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) - .build(); + DomainsGrpc.getSearchDomainsMethod = getSearchDomainsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.SearchDomainsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.SearchDomainsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) + .build(); } } } return getSearchDomainsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse> - getRetrieveRegisterParametersMethod; + private static volatile io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RetrieveRegisterParameters", requestType = com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.class, responseType = com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse> - getRetrieveRegisterParametersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse> - getRetrieveRegisterParametersMethod; - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) - == null) { + public static io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod() { + io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { synchronized (DomainsGrpc.class) { - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) - == null) { - DomainsGrpc.getRetrieveRegisterParametersMethod = - getRetrieveRegisterParametersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) - .build(); + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { + DomainsGrpc.getRetrieveRegisterParametersMethod = getRetrieveRegisterParametersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) + .build(); } } } return getRetrieveRegisterParametersMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RegisterDomainRequest, com.google.longrunning.Operation> - getRegisterDomainMethod; + private static volatile io.grpc.MethodDescriptor getRegisterDomainMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RegisterDomain", requestType = com.google.cloud.domains.v1.RegisterDomainRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RegisterDomainRequest, com.google.longrunning.Operation> - getRegisterDomainMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RegisterDomainRequest, com.google.longrunning.Operation> - getRegisterDomainMethod; + public static io.grpc.MethodDescriptor getRegisterDomainMethod() { + io.grpc.MethodDescriptor getRegisterDomainMethod; if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { synchronized (DomainsGrpc.class) { if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { - DomainsGrpc.getRegisterDomainMethod = - getRegisterDomainMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RegisterDomainRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) - .build(); + DomainsGrpc.getRegisterDomainMethod = getRegisterDomainMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RegisterDomainRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) + .build(); } } } return getRegisterDomainMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1.RetrieveTransferParametersResponse> - getRetrieveTransferParametersMethod; + private static volatile io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RetrieveTransferParameters", requestType = com.google.cloud.domains.v1.RetrieveTransferParametersRequest.class, responseType = com.google.cloud.domains.v1.RetrieveTransferParametersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1.RetrieveTransferParametersResponse> - getRetrieveTransferParametersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1.RetrieveTransferParametersResponse> - getRetrieveTransferParametersMethod; - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) - == null) { + public static io.grpc.MethodDescriptor getRetrieveTransferParametersMethod() { + io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { synchronized (DomainsGrpc.class) { - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) - == null) { - DomainsGrpc.getRetrieveTransferParametersMethod = - getRetrieveTransferParametersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RetrieveTransferParametersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) - .build(); + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { + DomainsGrpc.getRetrieveTransferParametersMethod = getRetrieveTransferParametersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RetrieveTransferParametersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RetrieveTransferParametersResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) + .build(); } } } return getRetrieveTransferParametersMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.TransferDomainRequest, com.google.longrunning.Operation> - getTransferDomainMethod; + private static volatile io.grpc.MethodDescriptor getTransferDomainMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "TransferDomain", requestType = com.google.cloud.domains.v1.TransferDomainRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.TransferDomainRequest, com.google.longrunning.Operation> - getTransferDomainMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.TransferDomainRequest, com.google.longrunning.Operation> - getTransferDomainMethod; + public static io.grpc.MethodDescriptor getTransferDomainMethod() { + io.grpc.MethodDescriptor getTransferDomainMethod; if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { synchronized (DomainsGrpc.class) { if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { - DomainsGrpc.getTransferDomainMethod = - getTransferDomainMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.TransferDomainRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) - .build(); + DomainsGrpc.getTransferDomainMethod = getTransferDomainMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.TransferDomainRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) + .build(); } } } return getTransferDomainMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ListRegistrationsRequest, - com.google.cloud.domains.v1.ListRegistrationsResponse> - getListRegistrationsMethod; + private static volatile io.grpc.MethodDescriptor getListRegistrationsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListRegistrations", requestType = com.google.cloud.domains.v1.ListRegistrationsRequest.class, responseType = com.google.cloud.domains.v1.ListRegistrationsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ListRegistrationsRequest, - com.google.cloud.domains.v1.ListRegistrationsResponse> - getListRegistrationsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ListRegistrationsRequest, - com.google.cloud.domains.v1.ListRegistrationsResponse> - getListRegistrationsMethod; + public static io.grpc.MethodDescriptor getListRegistrationsMethod() { + io.grpc.MethodDescriptor getListRegistrationsMethod; if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { synchronized (DomainsGrpc.class) { if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { - DomainsGrpc.getListRegistrationsMethod = - getListRegistrationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ListRegistrationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ListRegistrationsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) - .build(); + DomainsGrpc.getListRegistrationsMethod = getListRegistrationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ListRegistrationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ListRegistrationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) + .build(); } } } return getListRegistrationsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.GetRegistrationRequest, - com.google.cloud.domains.v1.Registration> - getGetRegistrationMethod; + private static volatile io.grpc.MethodDescriptor getGetRegistrationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetRegistration", requestType = com.google.cloud.domains.v1.GetRegistrationRequest.class, responseType = com.google.cloud.domains.v1.Registration.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.GetRegistrationRequest, - com.google.cloud.domains.v1.Registration> - getGetRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.GetRegistrationRequest, - com.google.cloud.domains.v1.Registration> - getGetRegistrationMethod; + public static io.grpc.MethodDescriptor getGetRegistrationMethod() { + io.grpc.MethodDescriptor getGetRegistrationMethod; if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { synchronized (DomainsGrpc.class) { if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { - DomainsGrpc.getGetRegistrationMethod = - getGetRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.GetRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.Registration.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) - .build(); + DomainsGrpc.getGetRegistrationMethod = getGetRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.GetRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.Registration.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) + .build(); } } } return getGetRegistrationMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.UpdateRegistrationRequest, com.google.longrunning.Operation> - getUpdateRegistrationMethod; + private static volatile io.grpc.MethodDescriptor getUpdateRegistrationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateRegistration", requestType = com.google.cloud.domains.v1.UpdateRegistrationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.UpdateRegistrationRequest, com.google.longrunning.Operation> - getUpdateRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.UpdateRegistrationRequest, com.google.longrunning.Operation> - getUpdateRegistrationMethod; + public static io.grpc.MethodDescriptor getUpdateRegistrationMethod() { + io.grpc.MethodDescriptor getUpdateRegistrationMethod; if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { synchronized (DomainsGrpc.class) { if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { - DomainsGrpc.getUpdateRegistrationMethod = - getUpdateRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.UpdateRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("UpdateRegistration")) - .build(); + DomainsGrpc.getUpdateRegistrationMethod = getUpdateRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.UpdateRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("UpdateRegistration")) + .build(); } } } return getUpdateRegistrationMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation> - getConfigureManagementSettingsMethod; + private static volatile io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ConfigureManagementSettings", requestType = com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation> - getConfigureManagementSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation> - getConfigureManagementSettingsMethod; - if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) - == null) { + public static io.grpc.MethodDescriptor getConfigureManagementSettingsMethod() { + io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; + if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { synchronized (DomainsGrpc.class) { - if ((getConfigureManagementSettingsMethod = - DomainsGrpc.getConfigureManagementSettingsMethod) - == null) { - DomainsGrpc.getConfigureManagementSettingsMethod = - getConfigureManagementSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) - .build(); + if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { + DomainsGrpc.getConfigureManagementSettingsMethod = getConfigureManagementSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) + .build(); } } } return getConfigureManagementSettingsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest, com.google.longrunning.Operation> - getConfigureDnsSettingsMethod; + private static volatile io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ConfigureDnsSettings", requestType = com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest, com.google.longrunning.Operation> - getConfigureDnsSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation> - getConfigureDnsSettingsMethod; + public static io.grpc.MethodDescriptor getConfigureDnsSettingsMethod() { + io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { synchronized (DomainsGrpc.class) { if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { - DomainsGrpc.getConfigureDnsSettingsMethod = - getConfigureDnsSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) - .build(); + DomainsGrpc.getConfigureDnsSettingsMethod = getConfigureDnsSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) + .build(); } } } return getConfigureDnsSettingsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ConfigureContactSettingsRequest, - com.google.longrunning.Operation> - getConfigureContactSettingsMethod; + private static volatile io.grpc.MethodDescriptor getConfigureContactSettingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ConfigureContactSettings", requestType = com.google.cloud.domains.v1.ConfigureContactSettingsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ConfigureContactSettingsRequest, - com.google.longrunning.Operation> - getConfigureContactSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ConfigureContactSettingsRequest, - com.google.longrunning.Operation> - getConfigureContactSettingsMethod; - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) - == null) { + public static io.grpc.MethodDescriptor getConfigureContactSettingsMethod() { + io.grpc.MethodDescriptor getConfigureContactSettingsMethod; + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { synchronized (DomainsGrpc.class) { - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) - == null) { - DomainsGrpc.getConfigureContactSettingsMethod = - getConfigureContactSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) - .build(); + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { + DomainsGrpc.getConfigureContactSettingsMethod = getConfigureContactSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ConfigureContactSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) + .build(); } } } return getConfigureContactSettingsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ExportRegistrationRequest, com.google.longrunning.Operation> - getExportRegistrationMethod; + private static volatile io.grpc.MethodDescriptor getExportRegistrationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ExportRegistration", requestType = com.google.cloud.domains.v1.ExportRegistrationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ExportRegistrationRequest, com.google.longrunning.Operation> - getExportRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ExportRegistrationRequest, com.google.longrunning.Operation> - getExportRegistrationMethod; + public static io.grpc.MethodDescriptor getExportRegistrationMethod() { + io.grpc.MethodDescriptor getExportRegistrationMethod; if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { synchronized (DomainsGrpc.class) { if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { - DomainsGrpc.getExportRegistrationMethod = - getExportRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ExportRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ExportRegistration")) - .build(); + DomainsGrpc.getExportRegistrationMethod = getExportRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ExportRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ExportRegistration")) + .build(); } } } return getExportRegistrationMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.DeleteRegistrationRequest, com.google.longrunning.Operation> - getDeleteRegistrationMethod; + private static volatile io.grpc.MethodDescriptor getDeleteRegistrationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteRegistration", requestType = com.google.cloud.domains.v1.DeleteRegistrationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.DeleteRegistrationRequest, com.google.longrunning.Operation> - getDeleteRegistrationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.DeleteRegistrationRequest, com.google.longrunning.Operation> - getDeleteRegistrationMethod; + public static io.grpc.MethodDescriptor getDeleteRegistrationMethod() { + io.grpc.MethodDescriptor getDeleteRegistrationMethod; if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { synchronized (DomainsGrpc.class) { if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { - DomainsGrpc.getDeleteRegistrationMethod = - getDeleteRegistrationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.DeleteRegistrationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("DeleteRegistration")) - .build(); + DomainsGrpc.getDeleteRegistrationMethod = getDeleteRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.DeleteRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("DeleteRegistration")) + .build(); } } } return getDeleteRegistrationMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1.AuthorizationCode> - getRetrieveAuthorizationCodeMethod; + private static volatile io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RetrieveAuthorizationCode", requestType = com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.class, responseType = com.google.cloud.domains.v1.AuthorizationCode.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1.AuthorizationCode> - getRetrieveAuthorizationCodeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1.AuthorizationCode> - getRetrieveAuthorizationCodeMethod; - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) - == null) { + public static io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod() { + io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { synchronized (DomainsGrpc.class) { - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) - == null) { - DomainsGrpc.getRetrieveAuthorizationCodeMethod = - getRetrieveAuthorizationCodeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) - .build(); + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { + DomainsGrpc.getRetrieveAuthorizationCodeMethod = getRetrieveAuthorizationCodeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) + .build(); } } } return getRetrieveAuthorizationCodeMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1.AuthorizationCode> - getResetAuthorizationCodeMethod; + private static volatile io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ResetAuthorizationCode", requestType = com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.class, responseType = com.google.cloud.domains.v1.AuthorizationCode.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1.AuthorizationCode> - getResetAuthorizationCodeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1.AuthorizationCode> - getResetAuthorizationCodeMethod; + public static io.grpc.MethodDescriptor getResetAuthorizationCodeMethod() { + io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { synchronized (DomainsGrpc.class) { - if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) - == null) { - DomainsGrpc.getResetAuthorizationCodeMethod = - getResetAuthorizationCodeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance())) - .setSchemaDescriptor( - new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) - .build(); + if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { + DomainsGrpc.getResetAuthorizationCodeMethod = getResetAuthorizationCodeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) + .build(); } } } return getResetAuthorizationCodeMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static DomainsStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsStub(channel, callOptions); + } + }; return DomainsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static DomainsBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static DomainsBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsBlockingStub(channel, callOptions); + } + }; return DomainsBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DomainsFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DomainsFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsFutureStub(channel, callOptions); + } + }; return DomainsFutureStub.newStub(factory, channel); } /** - * - * *
    * The Cloud Domains API enables management and configuration of domain names.
    * 
*/ - public abstract static class DomainsImplBase implements io.grpc.BindableService { + public static abstract class DomainsImplBase implements io.grpc.BindableService { /** - * - * *
      * Searches for available domain names similar to the provided query.
      * Availability results from this method are approximate; call
@@ -785,33 +542,23 @@ public abstract static class DomainsImplBase implements io.grpc.BindableService
      * availability.
      * 
*/ - public void searchDomains( - com.google.cloud.domains.v1.SearchDomainsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchDomainsMethod(), responseObserver); + public void searchDomains(com.google.cloud.domains.v1.SearchDomainsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchDomainsMethod(), responseObserver); } /** - * - * *
      * Gets parameters needed to register a new domain name, including price and
      * up-to-date availability. Use the returned values to call `RegisterDomain`.
      * 
*/ - public void retrieveRegisterParameters( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRetrieveRegisterParametersMethod(), responseObserver); + public void retrieveRegisterParameters(com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveRegisterParametersMethod(), responseObserver); } /** - * - * *
      * Registers a new domain name and creates a corresponding `Registration`
      * resource.
@@ -826,16 +573,12 @@ public void retrieveRegisterParameters(
      * resource and retry registration.
      * 
*/ - public void registerDomain( - com.google.cloud.domains.v1.RegisterDomainRequest request, + public void registerDomain(com.google.cloud.domains.v1.RegisterDomainRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRegisterDomainMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterDomainMethod(), responseObserver); } /** - * - * *
      * Gets parameters needed to transfer a domain name from another registrar to
      * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
@@ -843,17 +586,12 @@ public void registerDomain(
      * Use the returned values to call `TransferDomain`.
      * 
*/ - public void retrieveTransferParameters( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRetrieveTransferParametersMethod(), responseObserver); + public void retrieveTransferParameters(com.google.cloud.domains.v1.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveTransferParametersMethod(), responseObserver); } /** - * - * *
      * Transfers a domain name from another registrar to Cloud Domains.  For
      * domains managed by Google Domains, transferring to Cloud Domains is not
@@ -874,45 +612,32 @@ public void retrieveTransferParameters(
      * the resource and retry the transfer.
      * 
*/ - public void transferDomain( - com.google.cloud.domains.v1.TransferDomainRequest request, + public void transferDomain(com.google.cloud.domains.v1.TransferDomainRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTransferDomainMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTransferDomainMethod(), responseObserver); } /** - * - * *
      * Lists the `Registration` resources in a project.
      * 
*/ - public void listRegistrations( - com.google.cloud.domains.v1.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRegistrationsMethod(), responseObserver); + public void listRegistrations(com.google.cloud.domains.v1.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRegistrationsMethod(), responseObserver); } /** - * - * *
      * Gets the details of a `Registration` resource.
      * 
*/ - public void getRegistration( - com.google.cloud.domains.v1.GetRegistrationRequest request, + public void getRegistration(com.google.cloud.domains.v1.GetRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRegistrationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRegistrationMethod(), responseObserver); } /** - * - * *
      * Updates select fields of a `Registration` resource, notably `labels`. To
      * update other fields, use the appropriate custom update method:
@@ -921,59 +646,43 @@ public void getRegistration(
      * * To update contact information, see `ConfigureContactSettings`
      * 
*/ - public void updateRegistration( - com.google.cloud.domains.v1.UpdateRegistrationRequest request, + public void updateRegistration(com.google.cloud.domains.v1.UpdateRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRegistrationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRegistrationMethod(), responseObserver); } /** - * - * *
      * Updates a `Registration`'s management settings.
      * 
*/ - public void configureManagementSettings( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request, + public void configureManagementSettings(com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getConfigureManagementSettingsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureManagementSettingsMethod(), responseObserver); } /** - * - * *
      * Updates a `Registration`'s DNS settings.
      * 
*/ - public void configureDnsSettings( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request, + public void configureDnsSettings(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getConfigureDnsSettingsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureDnsSettingsMethod(), responseObserver); } /** - * - * *
      * Updates a `Registration`'s contact settings. Some changes require
      * confirmation by the domain's registrant contact .
      * 
*/ - public void configureContactSettings( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest request, + public void configureContactSettings(com.google.cloud.domains.v1.ConfigureContactSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getConfigureContactSettingsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureContactSettingsMethod(), responseObserver); } /** - * - * *
      * Exports a `Registration` resource, such that it is no longer managed by
      * Cloud Domains.
@@ -985,16 +694,12 @@ public void configureContactSettings(
      * Domains.
      * 
*/ - public void exportRegistration( - com.google.cloud.domains.v1.ExportRegistrationRequest request, + public void exportRegistration(com.google.cloud.domains.v1.ExportRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportRegistrationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportRegistrationMethod(), responseObserver); } /** - * - * *
      * Deletes a `Registration` resource.
      * This method works on any `Registration` resource using [Subscription or
@@ -1013,16 +718,12 @@ public void exportRegistration(
      * Google Domains.
      * 
*/ - public void deleteRegistration( - com.google.cloud.domains.v1.DeleteRegistrationRequest request, + public void deleteRegistration(com.google.cloud.domains.v1.DeleteRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRegistrationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRegistrationMethod(), responseObserver); } /** - * - * *
      * Gets the authorization code of the `Registration` for the purpose of
      * transferring the domain to another registrar.
@@ -1030,155 +731,152 @@ public void deleteRegistration(
      * domain registration.
      * 
*/ - public void retrieveAuthorizationCode( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRetrieveAuthorizationCodeMethod(), responseObserver); + public void retrieveAuthorizationCode(com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveAuthorizationCodeMethod(), responseObserver); } /** - * - * *
      * Resets the authorization code of the `Registration` to a new random string.
      * You can call this method only after 60 days have elapsed since the initial
      * domain registration.
      * 
*/ - public void resetAuthorizationCode( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResetAuthorizationCodeMethod(), responseObserver); + public void resetAuthorizationCode(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetAuthorizationCodeMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getSearchDomainsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.SearchDomainsRequest, - com.google.cloud.domains.v1.SearchDomainsResponse>( - this, METHODID_SEARCH_DOMAINS))) + getSearchDomainsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.SearchDomainsRequest, + com.google.cloud.domains.v1.SearchDomainsResponse>( + this, METHODID_SEARCH_DOMAINS))) .addMethod( - getRetrieveRegisterParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse>( - this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) + getRetrieveRegisterParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse>( + this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) .addMethod( - getRegisterDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.RegisterDomainRequest, - com.google.longrunning.Operation>(this, METHODID_REGISTER_DOMAIN))) + getRegisterDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.RegisterDomainRequest, + com.google.longrunning.Operation>( + this, METHODID_REGISTER_DOMAIN))) .addMethod( - getRetrieveTransferParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1.RetrieveTransferParametersResponse>( - this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) + getRetrieveTransferParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1.RetrieveTransferParametersResponse>( + this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) .addMethod( - getTransferDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.TransferDomainRequest, - com.google.longrunning.Operation>(this, METHODID_TRANSFER_DOMAIN))) + getTransferDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.TransferDomainRequest, + com.google.longrunning.Operation>( + this, METHODID_TRANSFER_DOMAIN))) .addMethod( - getListRegistrationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ListRegistrationsRequest, - com.google.cloud.domains.v1.ListRegistrationsResponse>( - this, METHODID_LIST_REGISTRATIONS))) + getListRegistrationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ListRegistrationsRequest, + com.google.cloud.domains.v1.ListRegistrationsResponse>( + this, METHODID_LIST_REGISTRATIONS))) .addMethod( - getGetRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.GetRegistrationRequest, - com.google.cloud.domains.v1.Registration>(this, METHODID_GET_REGISTRATION))) + getGetRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.GetRegistrationRequest, + com.google.cloud.domains.v1.Registration>( + this, METHODID_GET_REGISTRATION))) .addMethod( - getUpdateRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.UpdateRegistrationRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_REGISTRATION))) + getUpdateRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.UpdateRegistrationRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_REGISTRATION))) .addMethod( - getConfigureManagementSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) + getConfigureManagementSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) .addMethod( - getConfigureDnsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation>(this, METHODID_CONFIGURE_DNS_SETTINGS))) + getConfigureDnsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_DNS_SETTINGS))) .addMethod( - getConfigureContactSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ConfigureContactSettingsRequest, - com.google.longrunning.Operation>(this, METHODID_CONFIGURE_CONTACT_SETTINGS))) + getConfigureContactSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ConfigureContactSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_CONTACT_SETTINGS))) .addMethod( - getExportRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ExportRegistrationRequest, - com.google.longrunning.Operation>(this, METHODID_EXPORT_REGISTRATION))) + getExportRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ExportRegistrationRequest, + com.google.longrunning.Operation>( + this, METHODID_EXPORT_REGISTRATION))) .addMethod( - getDeleteRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.DeleteRegistrationRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REGISTRATION))) + getDeleteRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.DeleteRegistrationRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REGISTRATION))) .addMethod( - getRetrieveAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1.AuthorizationCode>( - this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) + getRetrieveAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1.AuthorizationCode>( + this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) .addMethod( - getResetAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1.AuthorizationCode>( - this, METHODID_RESET_AUTHORIZATION_CODE))) + getResetAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1.AuthorizationCode>( + this, METHODID_RESET_AUTHORIZATION_CODE))) .build(); } } /** - * - * *
    * The Cloud Domains API enables management and configuration of domain names.
    * 
*/ public static final class DomainsStub extends io.grpc.stub.AbstractAsyncStub { - private DomainsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private DomainsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected DomainsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected DomainsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new DomainsStub(channel, callOptions); } /** - * - * *
      * Searches for available domain names similar to the provided query.
      * Availability results from this method are approximate; call
@@ -1186,37 +884,25 @@ protected DomainsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOpt
      * availability.
      * 
*/ - public void searchDomains( - com.google.cloud.domains.v1.SearchDomainsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void searchDomains(com.google.cloud.domains.v1.SearchDomainsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets parameters needed to register a new domain name, including price and
      * up-to-date availability. Use the returned values to call `RegisterDomain`.
      * 
*/ - public void retrieveRegisterParameters( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void retrieveRegisterParameters(com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Registers a new domain name and creates a corresponding `Registration`
      * resource.
@@ -1231,18 +917,13 @@ public void retrieveRegisterParameters(
      * resource and retry registration.
      * 
*/ - public void registerDomain( - com.google.cloud.domains.v1.RegisterDomainRequest request, + public void registerDomain(com.google.cloud.domains.v1.RegisterDomainRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets parameters needed to transfer a domain name from another registrar to
      * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
@@ -1250,19 +931,13 @@ public void registerDomain(
      * Use the returned values to call `TransferDomain`.
      * 
*/ - public void retrieveTransferParameters( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void retrieveTransferParameters(com.google.cloud.domains.v1.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Transfers a domain name from another registrar to Cloud Domains.  For
      * domains managed by Google Domains, transferring to Cloud Domains is not
@@ -1283,51 +958,35 @@ public void retrieveTransferParameters(
      * the resource and retry the transfer.
      * 
*/ - public void transferDomain( - com.google.cloud.domains.v1.TransferDomainRequest request, + public void transferDomain(com.google.cloud.domains.v1.TransferDomainRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTransferDomainMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the `Registration` resources in a project.
      * 
*/ - public void listRegistrations( - com.google.cloud.domains.v1.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listRegistrations(com.google.cloud.domains.v1.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the details of a `Registration` resource.
      * 
*/ - public void getRegistration( - com.google.cloud.domains.v1.GetRegistrationRequest request, + public void getRegistration(com.google.cloud.domains.v1.GetRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates select fields of a `Registration` resource, notably `labels`. To
      * update other fields, use the appropriate custom update method:
@@ -1336,67 +995,47 @@ public void getRegistration(
      * * To update contact information, see `ConfigureContactSettings`
      * 
*/ - public void updateRegistration( - com.google.cloud.domains.v1.UpdateRegistrationRequest request, + public void updateRegistration(com.google.cloud.domains.v1.UpdateRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a `Registration`'s management settings.
      * 
*/ - public void configureManagementSettings( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request, + public void configureManagementSettings(com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a `Registration`'s DNS settings.
      * 
*/ - public void configureDnsSettings( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request, + public void configureDnsSettings(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a `Registration`'s contact settings. Some changes require
      * confirmation by the domain's registrant contact .
      * 
*/ - public void configureContactSettings( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest request, + public void configureContactSettings(com.google.cloud.domains.v1.ConfigureContactSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Exports a `Registration` resource, such that it is no longer managed by
      * Cloud Domains.
@@ -1408,18 +1047,13 @@ public void configureContactSettings(
      * Domains.
      * 
*/ - public void exportRegistration( - com.google.cloud.domains.v1.ExportRegistrationRequest request, + public void exportRegistration(com.google.cloud.domains.v1.ExportRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a `Registration` resource.
      * This method works on any `Registration` resource using [Subscription or
@@ -1438,18 +1072,13 @@ public void exportRegistration(
      * Google Domains.
      * 
*/ - public void deleteRegistration( - com.google.cloud.domains.v1.DeleteRegistrationRequest request, + public void deleteRegistration(com.google.cloud.domains.v1.DeleteRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the authorization code of the `Registration` for the purpose of
      * transferring the domain to another registrar.
@@ -1457,57 +1086,44 @@ public void deleteRegistration(
      * domain registration.
      * 
*/ - public void retrieveAuthorizationCode( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void retrieveAuthorizationCode(com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resets the authorization code of the `Registration` to a new random string.
      * You can call this method only after 60 days have elapsed since the initial
      * domain registration.
      * 
*/ - public void resetAuthorizationCode( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void resetAuthorizationCode(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * The Cloud Domains API enables management and configuration of domain names.
    * 
*/ - public static final class DomainsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DomainsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DomainsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DomainsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected DomainsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected DomainsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new DomainsBlockingStub(channel, callOptions); } /** - * - * *
      * Searches for available domain names similar to the provided query.
      * Availability results from this method are approximate; call
@@ -1515,30 +1131,23 @@ protected DomainsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions
      * availability.
      * 
*/ - public com.google.cloud.domains.v1.SearchDomainsResponse searchDomains( - com.google.cloud.domains.v1.SearchDomainsRequest request) { + public com.google.cloud.domains.v1.SearchDomainsResponse searchDomains(com.google.cloud.domains.v1.SearchDomainsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchDomainsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets parameters needed to register a new domain name, including price and
      * up-to-date availability. Use the returned values to call `RegisterDomain`.
      * 
*/ - public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse - retrieveRegisterParameters( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request) { + public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse retrieveRegisterParameters(com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRetrieveRegisterParametersMethod(), getCallOptions(), request); } /** - * - * *
      * Registers a new domain name and creates a corresponding `Registration`
      * resource.
@@ -1553,15 +1162,12 @@ public com.google.cloud.domains.v1.SearchDomainsResponse searchDomains(
      * resource and retry registration.
      * 
*/ - public com.google.longrunning.Operation registerDomain( - com.google.cloud.domains.v1.RegisterDomainRequest request) { + public com.google.longrunning.Operation registerDomain(com.google.cloud.domains.v1.RegisterDomainRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRegisterDomainMethod(), getCallOptions(), request); } /** - * - * *
      * Gets parameters needed to transfer a domain name from another registrar to
      * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
@@ -1569,16 +1175,12 @@ public com.google.longrunning.Operation registerDomain(
      * Use the returned values to call `TransferDomain`.
      * 
*/ - public com.google.cloud.domains.v1.RetrieveTransferParametersResponse - retrieveTransferParameters( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest request) { + public com.google.cloud.domains.v1.RetrieveTransferParametersResponse retrieveTransferParameters(com.google.cloud.domains.v1.RetrieveTransferParametersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRetrieveTransferParametersMethod(), getCallOptions(), request); } /** - * - * *
      * Transfers a domain name from another registrar to Cloud Domains.  For
      * domains managed by Google Domains, transferring to Cloud Domains is not
@@ -1599,41 +1201,32 @@ public com.google.longrunning.Operation registerDomain(
      * the resource and retry the transfer.
      * 
*/ - public com.google.longrunning.Operation transferDomain( - com.google.cloud.domains.v1.TransferDomainRequest request) { + public com.google.longrunning.Operation transferDomain(com.google.cloud.domains.v1.TransferDomainRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTransferDomainMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the `Registration` resources in a project.
      * 
*/ - public com.google.cloud.domains.v1.ListRegistrationsResponse listRegistrations( - com.google.cloud.domains.v1.ListRegistrationsRequest request) { + public com.google.cloud.domains.v1.ListRegistrationsResponse listRegistrations(com.google.cloud.domains.v1.ListRegistrationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListRegistrationsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the details of a `Registration` resource.
      * 
*/ - public com.google.cloud.domains.v1.Registration getRegistration( - com.google.cloud.domains.v1.GetRegistrationRequest request) { + public com.google.cloud.domains.v1.Registration getRegistration(com.google.cloud.domains.v1.GetRegistrationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetRegistrationMethod(), getCallOptions(), request); } /** - * - * *
      * Updates select fields of a `Registration` resource, notably `labels`. To
      * update other fields, use the appropriate custom update method:
@@ -1642,55 +1235,43 @@ public com.google.cloud.domains.v1.Registration getRegistration(
      * * To update contact information, see `ConfigureContactSettings`
      * 
*/ - public com.google.longrunning.Operation updateRegistration( - com.google.cloud.domains.v1.UpdateRegistrationRequest request) { + public com.google.longrunning.Operation updateRegistration(com.google.cloud.domains.v1.UpdateRegistrationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateRegistrationMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a `Registration`'s management settings.
      * 
*/ - public com.google.longrunning.Operation configureManagementSettings( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request) { + public com.google.longrunning.Operation configureManagementSettings(com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getConfigureManagementSettingsMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a `Registration`'s DNS settings.
      * 
*/ - public com.google.longrunning.Operation configureDnsSettings( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request) { + public com.google.longrunning.Operation configureDnsSettings(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getConfigureDnsSettingsMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a `Registration`'s contact settings. Some changes require
      * confirmation by the domain's registrant contact .
      * 
*/ - public com.google.longrunning.Operation configureContactSettings( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest request) { + public com.google.longrunning.Operation configureContactSettings(com.google.cloud.domains.v1.ConfigureContactSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getConfigureContactSettingsMethod(), getCallOptions(), request); } /** - * - * *
      * Exports a `Registration` resource, such that it is no longer managed by
      * Cloud Domains.
@@ -1702,15 +1283,12 @@ public com.google.longrunning.Operation configureContactSettings(
      * Domains.
      * 
*/ - public com.google.longrunning.Operation exportRegistration( - com.google.cloud.domains.v1.ExportRegistrationRequest request) { + public com.google.longrunning.Operation exportRegistration(com.google.cloud.domains.v1.ExportRegistrationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportRegistrationMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a `Registration` resource.
      * This method works on any `Registration` resource using [Subscription or
@@ -1729,15 +1307,12 @@ public com.google.longrunning.Operation exportRegistration(
      * Google Domains.
      * 
*/ - public com.google.longrunning.Operation deleteRegistration( - com.google.cloud.domains.v1.DeleteRegistrationRequest request) { + public com.google.longrunning.Operation deleteRegistration(com.google.cloud.domains.v1.DeleteRegistrationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteRegistrationMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the authorization code of the `Registration` for the purpose of
      * transferring the domain to another registrar.
@@ -1745,49 +1320,42 @@ public com.google.longrunning.Operation deleteRegistration(
      * domain registration.
      * 
*/ - public com.google.cloud.domains.v1.AuthorizationCode retrieveAuthorizationCode( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request) { + public com.google.cloud.domains.v1.AuthorizationCode retrieveAuthorizationCode(com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRetrieveAuthorizationCodeMethod(), getCallOptions(), request); } /** - * - * *
      * Resets the authorization code of the `Registration` to a new random string.
      * You can call this method only after 60 days have elapsed since the initial
      * domain registration.
      * 
*/ - public com.google.cloud.domains.v1.AuthorizationCode resetAuthorizationCode( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request) { + public com.google.cloud.domains.v1.AuthorizationCode resetAuthorizationCode(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResetAuthorizationCodeMethod(), getCallOptions(), request); } } /** - * - * *
    * The Cloud Domains API enables management and configuration of domain names.
    * 
*/ - public static final class DomainsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DomainsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DomainsFutureStub extends io.grpc.stub.AbstractFutureStub { + private DomainsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected DomainsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new DomainsFutureStub(channel, callOptions); } /** - * - * *
      * Searches for available domain names similar to the provided query.
      * Availability results from this method are approximate; call
@@ -1795,32 +1363,25 @@ protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * availability.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1.SearchDomainsResponse> - searchDomains(com.google.cloud.domains.v1.SearchDomainsRequest request) { + public com.google.common.util.concurrent.ListenableFuture searchDomains( + com.google.cloud.domains.v1.SearchDomainsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets parameters needed to register a new domain name, including price and
      * up-to-date availability. Use the returned values to call `RegisterDomain`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse> - retrieveRegisterParameters( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request) { + public com.google.common.util.concurrent.ListenableFuture retrieveRegisterParameters( + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request); } /** - * - * *
      * Registers a new domain name and creates a corresponding `Registration`
      * resource.
@@ -1835,15 +1396,13 @@ protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * resource and retry registration.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - registerDomain(com.google.cloud.domains.v1.RegisterDomainRequest request) { + public com.google.common.util.concurrent.ListenableFuture registerDomain( + com.google.cloud.domains.v1.RegisterDomainRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request); } /** - * - * *
      * Gets parameters needed to transfer a domain name from another registrar to
      * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
@@ -1851,17 +1410,13 @@ protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * Use the returned values to call `TransferDomain`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1.RetrieveTransferParametersResponse> - retrieveTransferParameters( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest request) { + public com.google.common.util.concurrent.ListenableFuture retrieveTransferParameters( + com.google.cloud.domains.v1.RetrieveTransferParametersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request); } /** - * - * *
      * Transfers a domain name from another registrar to Cloud Domains.  For
      * domains managed by Google Domains, transferring to Cloud Domains is not
@@ -1882,43 +1437,35 @@ protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * the resource and retry the transfer.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - transferDomain(com.google.cloud.domains.v1.TransferDomainRequest request) { + public com.google.common.util.concurrent.ListenableFuture transferDomain( + com.google.cloud.domains.v1.TransferDomainRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the `Registration` resources in a project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1.ListRegistrationsResponse> - listRegistrations(com.google.cloud.domains.v1.ListRegistrationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listRegistrations( + com.google.cloud.domains.v1.ListRegistrationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the details of a `Registration` resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1.Registration> - getRegistration(com.google.cloud.domains.v1.GetRegistrationRequest request) { + public com.google.common.util.concurrent.ListenableFuture getRegistration( + com.google.cloud.domains.v1.GetRegistrationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request); } /** - * - * *
      * Updates select fields of a `Registration` resource, notably `labels`. To
      * update other fields, use the appropriate custom update method:
@@ -1927,57 +1474,47 @@ protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * * To update contact information, see `ConfigureContactSettings`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateRegistration(com.google.cloud.domains.v1.UpdateRegistrationRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateRegistration( + com.google.cloud.domains.v1.UpdateRegistrationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a `Registration`'s management settings.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - configureManagementSettings( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request) { + public com.google.common.util.concurrent.ListenableFuture configureManagementSettings( + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a `Registration`'s DNS settings.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - configureDnsSettings(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request) { + public com.google.common.util.concurrent.ListenableFuture configureDnsSettings( + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a `Registration`'s contact settings. Some changes require
      * confirmation by the domain's registrant contact .
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - configureContactSettings( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest request) { + public com.google.common.util.concurrent.ListenableFuture configureContactSettings( + com.google.cloud.domains.v1.ConfigureContactSettingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request); } /** - * - * *
      * Exports a `Registration` resource, such that it is no longer managed by
      * Cloud Domains.
@@ -1989,15 +1526,13 @@ protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * Domains.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - exportRegistration(com.google.cloud.domains.v1.ExportRegistrationRequest request) { + public com.google.common.util.concurrent.ListenableFuture exportRegistration( + com.google.cloud.domains.v1.ExportRegistrationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a `Registration` resource.
      * This method works on any `Registration` resource using [Subscription or
@@ -2016,15 +1551,13 @@ protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * Google Domains.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteRegistration(com.google.cloud.domains.v1.DeleteRegistrationRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteRegistration( + com.google.cloud.domains.v1.DeleteRegistrationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the authorization code of the `Registration` for the purpose of
      * transferring the domain to another registrar.
@@ -2032,26 +1565,21 @@ protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * domain registration.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1.AuthorizationCode> - retrieveAuthorizationCode( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request) { + public com.google.common.util.concurrent.ListenableFuture retrieveAuthorizationCode( + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request); } /** - * - * *
      * Resets the authorization code of the `Registration` to a new random string.
      * You can call this method only after 60 days have elapsed since the initial
      * domain registration.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.domains.v1.AuthorizationCode> - resetAuthorizationCode(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request) { + public com.google.common.util.concurrent.ListenableFuture resetAuthorizationCode( + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request); } @@ -2073,11 +1601,11 @@ protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 13; private static final int METHODID_RESET_AUTHORIZATION_CODE = 14; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final DomainsImplBase serviceImpl; private final int methodId; @@ -2091,88 +1619,64 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_SEARCH_DOMAINS: - serviceImpl.searchDomains( - (com.google.cloud.domains.v1.SearchDomainsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.searchDomains((com.google.cloud.domains.v1.SearchDomainsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RETRIEVE_REGISTER_PARAMETERS: - serviceImpl.retrieveRegisterParameters( - (com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse>) - responseObserver); + serviceImpl.retrieveRegisterParameters((com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REGISTER_DOMAIN: - serviceImpl.registerDomain( - (com.google.cloud.domains.v1.RegisterDomainRequest) request, + serviceImpl.registerDomain((com.google.cloud.domains.v1.RegisterDomainRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RETRIEVE_TRANSFER_PARAMETERS: - serviceImpl.retrieveTransferParameters( - (com.google.cloud.domains.v1.RetrieveTransferParametersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.domains.v1.RetrieveTransferParametersResponse>) - responseObserver); + serviceImpl.retrieveTransferParameters((com.google.cloud.domains.v1.RetrieveTransferParametersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TRANSFER_DOMAIN: - serviceImpl.transferDomain( - (com.google.cloud.domains.v1.TransferDomainRequest) request, + serviceImpl.transferDomain((com.google.cloud.domains.v1.TransferDomainRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_REGISTRATIONS: - serviceImpl.listRegistrations( - (com.google.cloud.domains.v1.ListRegistrationsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listRegistrations((com.google.cloud.domains.v1.ListRegistrationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_REGISTRATION: - serviceImpl.getRegistration( - (com.google.cloud.domains.v1.GetRegistrationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getRegistration((com.google.cloud.domains.v1.GetRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_REGISTRATION: - serviceImpl.updateRegistration( - (com.google.cloud.domains.v1.UpdateRegistrationRequest) request, + serviceImpl.updateRegistration((com.google.cloud.domains.v1.UpdateRegistrationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CONFIGURE_MANAGEMENT_SETTINGS: - serviceImpl.configureManagementSettings( - (com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) request, + serviceImpl.configureManagementSettings((com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CONFIGURE_DNS_SETTINGS: - serviceImpl.configureDnsSettings( - (com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) request, + serviceImpl.configureDnsSettings((com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CONFIGURE_CONTACT_SETTINGS: - serviceImpl.configureContactSettings( - (com.google.cloud.domains.v1.ConfigureContactSettingsRequest) request, + serviceImpl.configureContactSettings((com.google.cloud.domains.v1.ConfigureContactSettingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXPORT_REGISTRATION: - serviceImpl.exportRegistration( - (com.google.cloud.domains.v1.ExportRegistrationRequest) request, + serviceImpl.exportRegistration((com.google.cloud.domains.v1.ExportRegistrationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_REGISTRATION: - serviceImpl.deleteRegistration( - (com.google.cloud.domains.v1.DeleteRegistrationRequest) request, + serviceImpl.deleteRegistration((com.google.cloud.domains.v1.DeleteRegistrationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RETRIEVE_AUTHORIZATION_CODE: - serviceImpl.retrieveAuthorizationCode( - (com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.retrieveAuthorizationCode((com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESET_AUTHORIZATION_CODE: - serviceImpl.resetAuthorizationCode( - (com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.resetAuthorizationCode((com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -2190,9 +1694,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class DomainsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class DomainsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { DomainsBaseDescriptorSupplier() {} @java.lang.Override @@ -2206,11 +1709,13 @@ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() } } - private static final class DomainsFileDescriptorSupplier extends DomainsBaseDescriptorSupplier { + private static final class DomainsFileDescriptorSupplier + extends DomainsBaseDescriptorSupplier { DomainsFileDescriptorSupplier() {} } - private static final class DomainsMethodDescriptorSupplier extends DomainsBaseDescriptorSupplier + private static final class DomainsMethodDescriptorSupplier + extends DomainsBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; @@ -2232,26 +1737,24 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (DomainsGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) - .addMethod(getSearchDomainsMethod()) - .addMethod(getRetrieveRegisterParametersMethod()) - .addMethod(getRegisterDomainMethod()) - .addMethod(getRetrieveTransferParametersMethod()) - .addMethod(getTransferDomainMethod()) - .addMethod(getListRegistrationsMethod()) - .addMethod(getGetRegistrationMethod()) - .addMethod(getUpdateRegistrationMethod()) - .addMethod(getConfigureManagementSettingsMethod()) - .addMethod(getConfigureDnsSettingsMethod()) - .addMethod(getConfigureContactSettingsMethod()) - .addMethod(getExportRegistrationMethod()) - .addMethod(getDeleteRegistrationMethod()) - .addMethod(getRetrieveAuthorizationCodeMethod()) - .addMethod(getResetAuthorizationCodeMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) + .addMethod(getSearchDomainsMethod()) + .addMethod(getRetrieveRegisterParametersMethod()) + .addMethod(getRegisterDomainMethod()) + .addMethod(getRetrieveTransferParametersMethod()) + .addMethod(getTransferDomainMethod()) + .addMethod(getListRegistrationsMethod()) + .addMethod(getGetRegistrationMethod()) + .addMethod(getUpdateRegistrationMethod()) + .addMethod(getConfigureManagementSettingsMethod()) + .addMethod(getConfigureDnsSettingsMethod()) + .addMethod(getConfigureContactSettingsMethod()) + .addMethod(getExportRegistrationMethod()) + .addMethod(getDeleteRegistrationMethod()) + .addMethod(getRetrieveAuthorizationCodeMethod()) + .addMethod(getResetAuthorizationCodeMethod()) + .build(); } } } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java similarity index 69% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java index a6a87f2e..3ffea4e5 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Defines an authorization code.
  * 
* * Protobuf type {@code google.cloud.domains.v1.AuthorizationCode} */ -public final class AuthorizationCode extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuthorizationCode extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.AuthorizationCode) AuthorizationCodeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuthorizationCode.newBuilder() to construct. private AuthorizationCode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuthorizationCode() { code_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuthorizationCode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AuthorizationCode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AuthorizationCode( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + code_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,40 +73,35 @@ private AuthorizationCode( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.AuthorizationCode.class, - com.google.cloud.domains.v1.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1.AuthorizationCode.class, com.google.cloud.domains.v1.AuthorizationCode.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private volatile java.lang.Object code_; /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The code. */ @java.lang.Override @@ -133,30 +110,30 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } @@ -201,15 +178,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.domains.v1.AuthorizationCode)) { return super.equals(obj); } - com.google.cloud.domains.v1.AuthorizationCode other = - (com.google.cloud.domains.v1.AuthorizationCode) obj; + com.google.cloud.domains.v1.AuthorizationCode other = (com.google.cloud.domains.v1.AuthorizationCode) obj; - if (!getCode().equals(other.getCode())) return false; + if (!getCode() + .equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.AuthorizationCode parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.AuthorizationCode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.AuthorizationCode parseFrom(java.io.InputStream input) 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.domains.v1.AuthorizationCode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.AuthorizationCode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.AuthorizationCode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.AuthorizationCode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.AuthorizationCode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines an authorization code.
    * 
* * Protobuf type {@code google.cloud.domains.v1.AuthorizationCode} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.AuthorizationCode) com.google.cloud.domains.v1.AuthorizationCodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.AuthorizationCode.class, - com.google.cloud.domains.v1.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1.AuthorizationCode.class, com.google.cloud.domains.v1.AuthorizationCode.Builder.class); } // Construct using com.google.cloud.domains.v1.AuthorizationCode.newBuilder() @@ -356,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; } @java.lang.Override @@ -395,8 +364,7 @@ public com.google.cloud.domains.v1.AuthorizationCode build() { @java.lang.Override public com.google.cloud.domains.v1.AuthorizationCode buildPartial() { - com.google.cloud.domains.v1.AuthorizationCode result = - new com.google.cloud.domains.v1.AuthorizationCode(this); + com.google.cloud.domains.v1.AuthorizationCode result = new com.google.cloud.domains.v1.AuthorizationCode(this); result.code_ = code_; onBuilt(); return result; @@ -406,39 +374,38 @@ public com.google.cloud.domains.v1.AuthorizationCode buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.AuthorizationCode) { - return mergeFrom((com.google.cloud.domains.v1.AuthorizationCode) other); + return mergeFrom((com.google.cloud.domains.v1.AuthorizationCode)other); } else { super.mergeFrom(other); return this; @@ -482,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object code_ = ""; /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -505,22 +470,21 @@ public java.lang.String getCode() { } } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @return The bytes for code. */ - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -528,71 +492,64 @@ public com.google.protobuf.ByteString getCodeBytes() { } } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(java.lang.String value) { + public Builder setCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -602,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.AuthorizationCode) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.AuthorizationCode) private static final com.google.cloud.domains.v1.AuthorizationCode DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.AuthorizationCode(); } @@ -616,16 +573,16 @@ public static com.google.cloud.domains.v1.AuthorizationCode getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthorizationCode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuthorizationCode(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthorizationCode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthorizationCode(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.AuthorizationCode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java similarity index 50% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java index f2893185..e03bfc2e 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface AuthorizationCodeOrBuilder - extends +public interface AuthorizationCodeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.AuthorizationCode) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The code. */ java.lang.String getCode(); /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The bytes for code. */ - com.google.protobuf.ByteString getCodeBytes(); + com.google.protobuf.ByteString + getCodeBytes(); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java similarity index 73% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java index 560f2e81..f3a959d1 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `ConfigureContactSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureContactSettingsRequest} */ -public final class ConfigureContactSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigureContactSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ConfigureContactSettingsRequest) ConfigureContactSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigureContactSettingsRequest.newBuilder() to construct. - private ConfigureContactSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureContactSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigureContactSettingsRequest() { registration_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -45,15 +26,16 @@ private ConfigureContactSettingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigureContactSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConfigureContactSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,81 +55,73 @@ private ConfigureContactSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; + registration_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null; + if (contactSettings_ != null) { + subBuilder = contactSettings_.toBuilder(); + } + contactSettings_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(contactSettings_); + contactSettings_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null; - if (contactSettings_ != null) { - subBuilder = contactSettings_.toBuilder(); - } - contactSettings_ = - input.readMessage( - com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(contactSettings_); - contactSettings_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 32: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { + contactNotices_.add(rawValue); + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); - break; } - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - contactNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 40: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(oldLimit); + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -155,7 +129,8 @@ private ConfigureContactSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -164,36 +139,28 @@ private ConfigureContactSettingsRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest.class, - com.google.cloud.domains.v1.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1.ConfigureContactSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -202,32 +169,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -238,14 +203,11 @@ public com.google.protobuf.ByteString getRegistrationBytes() { public static final int CONTACT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.ContactSettings contactSettings_; /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; - * * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -253,25 +215,18 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; - * * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings getContactSettings() { - return contactSettings_ == null - ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; } /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -286,17 +241,13 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -304,17 +255,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -322,16 +269,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -341,47 +285,36 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> - contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>() { public com.google.cloud.domains.v1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactNotice result = - com.google.cloud.domains.v1.ContactNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.ContactNotice result = com.google.cloud.domains.v1.ContactNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ @java.lang.Override @@ -389,15 +322,12 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -406,31 +336,26 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return contactNotices_; } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -438,20 +363,16 @@ public java.util.List getContactNoticesValueList() { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } - private int contactNoticesMemoizedSerializedSize; public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_; /** - * - * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; - * * @return The validateOnly. */ @java.lang.Override @@ -460,7 +381,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -472,7 +392,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); @@ -506,26 +427,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContactSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getContactSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }contactNoticesMemoizedSerializedSize = dataSize; } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -535,25 +458,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.domains.v1.ConfigureContactSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ConfigureContactSettingsRequest other = - (com.google.cloud.domains.v1.ConfigureContactSettingsRequest) obj; + com.google.cloud.domains.v1.ConfigureContactSettingsRequest other = (com.google.cloud.domains.v1.ConfigureContactSettingsRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings().equals(other.getContactSettings())) return false; + if (!getContactSettings() + .equals(other.getContactSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -580,134 +506,125 @@ public int hashCode() { hash = (53 * hash) + contactNotices_.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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.ConfigureContactSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureContactSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureContactSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ConfigureContactSettingsRequest) com.google.cloud.domains.v1.ConfigureContactSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest.class, - com.google.cloud.domains.v1.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1.ConfigureContactSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ConfigureContactSettingsRequest.newBuilder() @@ -715,15 +632,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -749,9 +667,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override @@ -770,8 +688,7 @@ public com.google.cloud.domains.v1.ConfigureContactSettingsRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ConfigureContactSettingsRequest buildPartial() { - com.google.cloud.domains.v1.ConfigureContactSettingsRequest result = - new com.google.cloud.domains.v1.ConfigureContactSettingsRequest(this); + com.google.cloud.domains.v1.ConfigureContactSettingsRequest result = new com.google.cloud.domains.v1.ConfigureContactSettingsRequest(this); int from_bitField0_ = bitField0_; result.registration_ = registration_; if (contactSettingsBuilder_ == null) { @@ -798,39 +715,38 @@ public com.google.cloud.domains.v1.ConfigureContactSettingsRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ConfigureContactSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1.ConfigureContactSettingsRequest) other); + return mergeFrom((com.google.cloud.domains.v1.ConfigureContactSettingsRequest)other); } else { super.mergeFrom(other); return this; @@ -838,8 +754,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ConfigureContactSettingsRequest other) { - if (other == com.google.cloud.domains.v1.ConfigureContactSettingsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.ConfigureContactSettingsRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -882,8 +797,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.ConfigureContactSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.ConfigureContactSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -892,28 +806,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -922,24 +831,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -947,70 +853,57 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -1018,47 +911,34 @@ public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1.ContactSettings contactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, - com.google.cloud.domains.v1.ContactSettings.Builder, - com.google.cloud.domains.v1.ContactSettingsOrBuilder> - contactSettingsBuilder_; + com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> contactSettingsBuilder_; /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; - * * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; - * * @return The contactSettings. */ public com.google.cloud.domains.v1.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null - ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1079,8 +959,6 @@ public Builder setContactSettings(com.google.cloud.domains.v1.ContactSettings va return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1099,8 +977,6 @@ public Builder setContactSettings( return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1111,9 +987,7 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1.ContactSettings if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1.ContactSettings.newBuilder(contactSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); } else { contactSettings_ = value; } @@ -1125,8 +999,6 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1.ContactSettings return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1145,8 +1017,6 @@ public Builder clearContactSettings() { return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1154,13 +1024,11 @@ public Builder clearContactSettings() { * .google.cloud.domains.v1.ContactSettings contact_settings = 2; */ public com.google.cloud.domains.v1.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1171,14 +1039,11 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null - ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? + com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; } } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1186,17 +1051,14 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr * .google.cloud.domains.v1.ContactSettings contact_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, - com.google.cloud.domains.v1.ContactSettings.Builder, - com.google.cloud.domains.v1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, - com.google.cloud.domains.v1.ContactSettings.Builder, - com.google.cloud.domains.v1.ContactSettingsOrBuilder>( - getContactSettings(), getParentForChildren(), isClean()); + contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder>( + getContactSettings(), + getParentForChildren(), + isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -1204,61 +1066,45 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1274,18 +1120,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1296,22 +1140,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1323,16 +1164,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1346,74 +1184,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private java.util.List contactNotices_ = java.util.Collections.emptyList(); - + private java.util.List contactNotices_ = + java.util.Collections.emptyList(); private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1421,47 +1246,37 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1469,20 +1284,18 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. */ - public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactNotice value) { + public Builder setContactNotices( + int index, com.google.cloud.domains.v1.ContactNotice value) { if (value == null) { throw new NullPointerException(); } @@ -1492,15 +1305,12 @@ public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactN return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1514,15 +1324,12 @@ public Builder addContactNotices(com.google.cloud.domains.v1.ContactNotice value return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1536,15 +1343,12 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1554,30 +1358,25 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1585,35 +1384,30 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue(int index, int value) { + public Builder setContactNoticesValue( + int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1624,19 +1418,17 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue(java.lang.Iterable values) { + public Builder addAllContactNoticesValue( + java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1645,16 +1437,13 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; - * * @return The validateOnly. */ @java.lang.Override @@ -1662,43 +1451,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1708,12 +1491,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ConfigureContactSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ConfigureContactSettingsRequest) private static final com.google.cloud.domains.v1.ConfigureContactSettingsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ConfigureContactSettingsRequest(); } @@ -1722,16 +1505,16 @@ public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureContactSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureContactSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureContactSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureContactSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1746,4 +1529,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.domains.v1.ConfigureContactSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java index b94c22a4..97bc6250 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ConfigureContactSettingsRequestOrBuilder - extends +public interface ConfigureContactSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ConfigureContactSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ java.lang.String getRegistration(); /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - com.google.protobuf.ByteString getRegistrationBytes(); + com.google.protobuf.ByteString + getRegistrationBytes(); /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; - * * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; - * * @return The contactSettings. */ com.google.cloud.domains.v1.ContactSettings getContactSettings(); /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -90,126 +57,98 @@ public interface ConfigureContactSettingsRequestOrBuilder com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ int getContactNoticesCount(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1.ContactNotice getContactNotices(int index); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List getContactNoticesValueList(); + java.util.List + getContactNoticesValueList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** - * - * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java similarity index 72% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java index 3d1f19e5..9e08b477 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `ConfigureDnsSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureDnsSettingsRequest} */ -public final class ConfigureDnsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigureDnsSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ConfigureDnsSettingsRequest) ConfigureDnsSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigureDnsSettingsRequest.newBuilder() to construct. private ConfigureDnsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigureDnsSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigureDnsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConfigureDnsSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,56 +53,50 @@ private ConfigureDnsSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; + registration_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1.DnsSettings.Builder subBuilder = null; + if (dnsSettings_ != null) { + subBuilder = dnsSettings_.toBuilder(); } - case 18: - { - com.google.cloud.domains.v1.DnsSettings.Builder subBuilder = null; - if (dnsSettings_ != null) { - subBuilder = dnsSettings_.toBuilder(); - } - dnsSettings_ = - input.readMessage( - com.google.cloud.domains.v1.DnsSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsSettings_); - dnsSettings_ = subBuilder.buildPartial(); - } - - break; + dnsSettings_ = input.readMessage(com.google.cloud.domains.v1.DnsSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsSettings_); + dnsSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 32: - { - validateOnly_ = input.readBool(); - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +104,35 @@ private ConfigureDnsSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.class, - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -171,32 +141,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -207,14 +175,11 @@ public com.google.protobuf.ByteString getRegistrationBytes() { public static final int DNS_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.DnsSettings dnsSettings_; /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; - * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -222,25 +187,18 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; - * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings getDnsSettings() { - return dnsSettings_ == null - ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_; } /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -255,8 +213,6 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder( public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -268,9 +224,7 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -278,8 +232,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -291,9 +243,7 @@ public boolean hasUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -301,8 +251,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -314,8 +262,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -325,14 +272,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** - * - * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -341,7 +285,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -353,7 +296,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -379,13 +323,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDnsSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -395,24 +342,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.domains.v1.ConfigureDnsSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest other = - (com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) obj; + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest other = (com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings().equals(other.getDnsSettings())) return false; + if (!getDnsSettings() + .equals(other.getDnsSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -435,134 +385,125 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureDnsSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureDnsSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ConfigureDnsSettingsRequest) com.google.cloud.domains.v1.ConfigureDnsSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.class, - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.newBuilder() @@ -570,15 +511,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -602,9 +544,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override @@ -623,8 +565,7 @@ public com.google.cloud.domains.v1.ConfigureDnsSettingsRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ConfigureDnsSettingsRequest buildPartial() { - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest result = - new com.google.cloud.domains.v1.ConfigureDnsSettingsRequest(this); + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest result = new com.google.cloud.domains.v1.ConfigureDnsSettingsRequest(this); result.registration_ = registration_; if (dnsSettingsBuilder_ == null) { result.dnsSettings_ = dnsSettings_; @@ -645,39 +586,38 @@ public com.google.cloud.domains.v1.ConfigureDnsSettingsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) other); + return mergeFrom((com.google.cloud.domains.v1.ConfigureDnsSettingsRequest)other); } else { super.mergeFrom(other); return this; @@ -685,8 +625,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest other) { - if (other == com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -719,8 +658,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -732,23 +670,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -757,24 +691,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -782,70 +713,57 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -853,47 +771,34 @@ public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1.DnsSettings dnsSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings, - com.google.cloud.domains.v1.DnsSettings.Builder, - com.google.cloud.domains.v1.DnsSettingsOrBuilder> - dnsSettingsBuilder_; + com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder> dnsSettingsBuilder_; /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; - * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; - * * @return The dnsSettings. */ public com.google.cloud.domains.v1.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null - ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -914,15 +819,14 @@ public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings value) { return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; */ - public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings.Builder builderForValue) { + public Builder setDnsSettings( + com.google.cloud.domains.v1.DnsSettings.Builder builderForValue) { if (dnsSettingsBuilder_ == null) { dnsSettings_ = builderForValue.build(); onChanged(); @@ -933,8 +837,6 @@ public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings.Builder bu return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -945,9 +847,7 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1.DnsSettings value) { if (dnsSettingsBuilder_ == null) { if (dnsSettings_ != null) { dnsSettings_ = - com.google.cloud.domains.v1.DnsSettings.newBuilder(dnsSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial(); } else { dnsSettings_ = value; } @@ -959,8 +859,6 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1.DnsSettings value) { return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -979,8 +877,6 @@ public Builder clearDnsSettings() { return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -988,13 +884,11 @@ public Builder clearDnsSettings() { * .google.cloud.domains.v1.DnsSettings dns_settings = 2; */ public com.google.cloud.domains.v1.DnsSettings.Builder getDnsSettingsBuilder() { - + onChanged(); return getDnsSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -1005,14 +899,11 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder( if (dnsSettingsBuilder_ != null) { return dnsSettingsBuilder_.getMessageOrBuilder(); } else { - return dnsSettings_ == null - ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? + com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_; } } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -1020,17 +911,14 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder( * .google.cloud.domains.v1.DnsSettings dns_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings, - com.google.cloud.domains.v1.DnsSettings.Builder, - com.google.cloud.domains.v1.DnsSettingsOrBuilder> + com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder> getDnsSettingsFieldBuilder() { if (dnsSettingsBuilder_ == null) { - dnsSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings, - com.google.cloud.domains.v1.DnsSettings.Builder, - com.google.cloud.domains.v1.DnsSettingsOrBuilder>( - getDnsSettings(), getParentForChildren(), isClean()); + dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder>( + getDnsSettings(), + getParentForChildren(), + isClean()); dnsSettings_ = null; } return dnsSettingsBuilder_; @@ -1038,13 +926,8 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1056,17 +939,13 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1078,23 +957,17 @@ public boolean hasUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1106,8 +979,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1123,8 +995,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1136,10 +1006,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1150,8 +1020,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1163,14 +1031,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1182,8 +1049,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1195,8 +1060,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1210,8 +1074,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1223,17 +1085,14 @@ public Builder clearUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1245,21 +1104,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1271,36 +1126,29 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1308,43 +1156,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1354,12 +1196,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ConfigureDnsSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ConfigureDnsSettingsRequest) private static final com.google.cloud.domains.v1.ConfigureDnsSettingsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ConfigureDnsSettingsRequest(); } @@ -1368,16 +1210,16 @@ public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureDnsSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureDnsSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureDnsSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureDnsSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1392,4 +1234,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.domains.v1.ConfigureDnsSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java index 22a5a368..882bfa52 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ConfigureDnsSettingsRequestOrBuilder - extends +public interface ConfigureDnsSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ConfigureDnsSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ java.lang.String getRegistration(); /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - com.google.protobuf.ByteString getRegistrationBytes(); + com.google.protobuf.ByteString + getRegistrationBytes(); /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; - * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; - * * @return The dnsSettings. */ com.google.cloud.domains.v1.DnsSettings getDnsSettings(); /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -90,8 +57,6 @@ public interface ConfigureDnsSettingsRequestOrBuilder com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -103,15 +68,11 @@ public interface ConfigureDnsSettingsRequestOrBuilder
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -123,15 +84,11 @@ public interface ConfigureDnsSettingsRequestOrBuilder
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -143,20 +100,16 @@ public interface ConfigureDnsSettingsRequestOrBuilder
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java similarity index 68% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java index 947937fc..c1280134 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `ConfigureManagementSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureManagementSettingsRequest} */ -public final class ConfigureManagementSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigureManagementSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ConfigureManagementSettingsRequest) ConfigureManagementSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigureManagementSettingsRequest.newBuilder() to construct. - private ConfigureManagementSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureManagementSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigureManagementSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigureManagementSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConfigureManagementSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,51 +53,45 @@ private ConfigureManagementSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; + registration_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1.ManagementSettings.Builder subBuilder = null; + if (managementSettings_ != null) { + subBuilder = managementSettings_.toBuilder(); } - case 18: - { - com.google.cloud.domains.v1.ManagementSettings.Builder subBuilder = null; - if (managementSettings_ != null) { - subBuilder = managementSettings_.toBuilder(); - } - managementSettings_ = - input.readMessage( - com.google.cloud.domains.v1.ManagementSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(managementSettings_); - managementSettings_ = subBuilder.buildPartial(); - } - - break; + managementSettings_ = input.readMessage(com.google.cloud.domains.v1.ManagementSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(managementSettings_); + managementSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,42 +99,35 @@ private ConfigureManagementSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.class, - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -167,32 +136,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -203,14 +170,11 @@ public com.google.protobuf.ByteString getRegistrationBytes() { public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.ManagementSettings managementSettings_; /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; - * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -218,25 +182,18 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; - * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1.ManagementSettings getManagementSettings() { - return managementSettings_ == null - ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_; } /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -251,17 +208,13 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -269,17 +222,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -287,16 +236,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -304,7 +250,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +261,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -339,10 +285,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getManagementSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -352,22 +300,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.domains.v1.ConfigureManagementSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest other = - (com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) obj; + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest other = (com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings().equals(other.getManagementSettings())) return false; + if (!getManagementSettings() + .equals(other.getManagementSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -396,127 +346,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.ConfigureManagementSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureManagementSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureManagementSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ConfigureManagementSettingsRequest) com.google.cloud.domains.v1.ConfigureManagementSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.class, - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.newBuilder() @@ -524,15 +464,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -554,14 +495,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.getDefaultInstance(); } @@ -576,8 +516,7 @@ public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest buildPartial() { - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest result = - new com.google.cloud.domains.v1.ConfigureManagementSettingsRequest(this); + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest result = new com.google.cloud.domains.v1.ConfigureManagementSettingsRequest(this); result.registration_ = registration_; if (managementSettingsBuilder_ == null) { result.managementSettings_ = managementSettings_; @@ -597,39 +536,38 @@ public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) other); + return mergeFrom((com.google.cloud.domains.v1.ConfigureManagementSettingsRequest)other); } else { super.mergeFrom(other); return this; @@ -637,9 +575,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ConfigureManagementSettingsRequest other) { - if (other - == com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -669,9 +605,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -683,23 +617,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -708,24 +638,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -733,70 +660,57 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -804,47 +718,34 @@ public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ManagementSettings, - com.google.cloud.domains.v1.ManagementSettings.Builder, - com.google.cloud.domains.v1.ManagementSettingsOrBuilder> - managementSettingsBuilder_; + com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder> managementSettingsBuilder_; /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; - * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; - * * @return The managementSettings. */ public com.google.cloud.domains.v1.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null - ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -865,8 +766,6 @@ public Builder setManagementSettings(com.google.cloud.domains.v1.ManagementSetti return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -885,8 +784,6 @@ public Builder setManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -897,9 +794,7 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1.ManagementSet if (managementSettingsBuilder_ == null) { if (managementSettings_ != null) { managementSettings_ = - com.google.cloud.domains.v1.ManagementSettings.newBuilder(managementSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial(); } else { managementSettings_ = value; } @@ -911,8 +806,6 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1.ManagementSet return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -931,8 +824,6 @@ public Builder clearManagementSettings() { return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -940,32 +831,26 @@ public Builder clearManagementSettings() { * .google.cloud.domains.v1.ManagementSettings management_settings = 2; */ public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSettingsBuilder() { - + onChanged(); return getManagementSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; */ - public com.google.cloud.domains.v1.ManagementSettingsOrBuilder - getManagementSettingsOrBuilder() { + public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() { if (managementSettingsBuilder_ != null) { return managementSettingsBuilder_.getMessageOrBuilder(); } else { - return managementSettings_ == null - ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? + com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_; } } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -973,17 +858,14 @@ public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSetti * .google.cloud.domains.v1.ManagementSettings management_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ManagementSettings, - com.google.cloud.domains.v1.ManagementSettings.Builder, - com.google.cloud.domains.v1.ManagementSettingsOrBuilder> + com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder> getManagementSettingsFieldBuilder() { if (managementSettingsBuilder_ == null) { - managementSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ManagementSettings, - com.google.cloud.domains.v1.ManagementSettings.Builder, - com.google.cloud.domains.v1.ManagementSettingsOrBuilder>( - getManagementSettings(), getParentForChildren(), isClean()); + managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder>( + getManagementSettings(), + getParentForChildren(), + isClean()); managementSettings_ = null; } return managementSettingsBuilder_; @@ -991,61 +873,45 @@ public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSetti private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1061,18 +927,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1083,22 +947,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1110,16 +971,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1133,74 +991,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1210,32 +1055,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ConfigureManagementSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ConfigureManagementSettingsRequest) - private static final com.google.cloud.domains.v1.ConfigureManagementSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1.ConfigureManagementSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ConfigureManagementSettingsRequest(); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureManagementSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureManagementSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureManagementSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureManagementSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1247,8 +1090,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java index 8291d341..5d4cc8ce 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ConfigureManagementSettingsRequestOrBuilder - extends +public interface ConfigureManagementSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ConfigureManagementSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ java.lang.String getRegistration(); /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - com.google.protobuf.ByteString getRegistrationBytes(); + com.google.protobuf.ByteString + getRegistrationBytes(); /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; - * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; - * * @return The managementSettings. */ com.google.cloud.domains.v1.ManagementSettings getManagementSettings(); /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -90,46 +57,35 @@ public interface ConfigureManagementSettingsRequestOrBuilder com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java similarity index 67% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java index 6fb11ec0..eb118477 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Notices related to contact information.
  * 
* * Protobuf enum {@code google.cloud.domains.v1.ContactNotice} */ -public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { +public enum ContactNotice + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The notice is undefined.
    * 
@@ -39,8 +21,6 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { */ CONTACT_NOTICE_UNSPECIFIED(0), /** - * - * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -53,8 +33,6 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * The notice is undefined.
    * 
@@ -63,8 +41,6 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTACT_NOTICE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -74,6 +50,7 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT_VALUE = 1;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -98,47 +75,48 @@ public static ContactNotice valueOf(int value) {
    */
   public static ContactNotice forNumber(int value) {
     switch (value) {
-      case 0:
-        return CONTACT_NOTICE_UNSPECIFIED;
-      case 1:
-        return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
-      default:
-        return null;
+      case 0: return CONTACT_NOTICE_UNSPECIFIED;
+      case 1: return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
+      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 ContactNotice findValueByNumber(int number) {
-          return ContactNotice.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ContactNotice> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ContactNotice findValueByNumber(int number) {
+            return ContactNotice.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.domains.v1.DomainsProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final ContactNotice[] VALUES = values();
 
-  public static ContactNotice valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactNotice valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -154,3 +132,4 @@ private ContactNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1.ContactNotice)
 }
+
diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java
similarity index 75%
rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java
rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java
index 51a7da0f..aa3de044 100644
--- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java
+++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1/domains.proto
 
 package com.google.cloud.domains.v1;
 
 /**
- *
- *
  * 
  * Defines a set of possible contact privacy settings for a `Registration`.
  * [ICANN](https://icann.org/) maintains the WHOIS database, a publicly
@@ -31,10 +14,9 @@
  *
  * Protobuf enum {@code google.cloud.domains.v1.ContactPrivacy}
  */
-public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
+public enum ContactPrivacy
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -43,8 +25,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum { */ CONTACT_PRIVACY_UNSPECIFIED(0), /** - * - * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -56,8 +36,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   PUBLIC_CONTACT_DATA(1),
   /**
-   *
-   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -69,8 +47,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   PRIVATE_CONTACT_DATA(2),
   /**
-   *
-   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -85,8 +61,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -95,8 +69,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTACT_PRIVACY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -108,8 +80,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PUBLIC_CONTACT_DATA_VALUE = 1;
   /**
-   *
-   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -121,8 +91,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PRIVATE_CONTACT_DATA_VALUE = 2;
   /**
-   *
-   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -134,6 +102,7 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int REDACTED_CONTACT_DATA_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -158,51 +127,50 @@ public static ContactPrivacy valueOf(int value) {
    */
   public static ContactPrivacy forNumber(int value) {
     switch (value) {
-      case 0:
-        return CONTACT_PRIVACY_UNSPECIFIED;
-      case 1:
-        return PUBLIC_CONTACT_DATA;
-      case 2:
-        return PRIVATE_CONTACT_DATA;
-      case 3:
-        return REDACTED_CONTACT_DATA;
-      default:
-        return null;
+      case 0: return CONTACT_PRIVACY_UNSPECIFIED;
+      case 1: return PUBLIC_CONTACT_DATA;
+      case 2: return PRIVATE_CONTACT_DATA;
+      case 3: return REDACTED_CONTACT_DATA;
+      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 ContactPrivacy findValueByNumber(int number) {
-          return ContactPrivacy.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ContactPrivacy> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ContactPrivacy findValueByNumber(int number) {
+            return ContactPrivacy.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.domains.v1.DomainsProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final ContactPrivacy[] VALUES = values();
 
-  public static ContactPrivacy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactPrivacy valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -218,3 +186,4 @@ private ContactPrivacy(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1.ContactPrivacy)
 }
+
diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java
similarity index 66%
rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java
rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java
index 2e41e72a..b6b74576 100644
--- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java
+++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1/domains.proto
 
 package com.google.cloud.domains.v1;
 
 /**
- *
- *
  * 
  * Defines the contact information associated with a `Registration`.
  * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -30,31 +13,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1.ContactSettings}
  */
-public final class ContactSettings extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContactSettings extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ContactSettings)
     ContactSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContactSettings.newBuilder() to construct.
   private ContactSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ContactSettings() {
     privacy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ContactSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ContactSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,71 +56,58 @@ private ContactSettings(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              privacy_ = rawValue;
-              break;
+            privacy_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
+            if (registrantContact_ != null) {
+              subBuilder = registrantContact_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
-              if (registrantContact_ != null) {
-                subBuilder = registrantContact_.toBuilder();
-              }
-              registrantContact_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1.ContactSettings.Contact.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(registrantContact_);
-                registrantContact_ = subBuilder.buildPartial();
-              }
-
-              break;
+            registrantContact_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.Contact.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(registrantContact_);
+              registrantContact_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
-              if (adminContact_ != null) {
-                subBuilder = adminContact_.toBuilder();
-              }
-              adminContact_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1.ContactSettings.Contact.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(adminContact_);
-                adminContact_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
+            if (adminContact_ != null) {
+              subBuilder = adminContact_.toBuilder();
+            }
+            adminContact_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.Contact.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(adminContact_);
+              adminContact_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
-              if (technicalContact_ != null) {
-                subBuilder = technicalContact_.toBuilder();
-              }
-              technicalContact_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1.ContactSettings.Contact.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(technicalContact_);
-                technicalContact_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 34: {
+            com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
+            if (technicalContact_ != null) {
+              subBuilder = technicalContact_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            technicalContact_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.Contact.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(technicalContact_);
+              technicalContact_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -145,172 +115,137 @@ private ContactSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.domains.v1.DomainsProto
-        .internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1.DomainsProto
-        .internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1.ContactSettings.class,
-            com.google.cloud.domains.v1.ContactSettings.Builder.class);
+            com.google.cloud.domains.v1.ContactSettings.class, com.google.cloud.domains.v1.ContactSettings.Builder.class);
   }
 
-  public interface ContactOrBuilder
-      extends
+  public interface ContactOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ContactSettings.Contact)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder(); /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The email. */ java.lang.String getEmail(); /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for email. */ - com.google.protobuf.ByteString getEmailBytes(); + com.google.protobuf.ByteString + getEmailBytes(); /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The phoneNumber. */ java.lang.String getPhoneNumber(); /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for phoneNumber. */ - com.google.protobuf.ByteString getPhoneNumberBytes(); + com.google.protobuf.ByteString + getPhoneNumberBytes(); /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The faxNumber. */ java.lang.String getFaxNumber(); /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The bytes for faxNumber. */ - com.google.protobuf.ByteString getFaxNumberBytes(); + com.google.protobuf.ByteString + getFaxNumberBytes(); } /** - * - * *
    * Details required for a contact associated with a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ContactSettings.Contact} */ - public static final class Contact extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Contact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ContactSettings.Contact) ContactOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Contact.newBuilder() to construct. private Contact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Contact() { email_ = ""; phoneNumber_ = ""; @@ -319,15 +254,16 @@ private Contact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Contact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Contact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -346,49 +282,44 @@ private Contact( case 0: done = true; break; - case 10: - { - com.google.type.PostalAddress.Builder subBuilder = null; - if (postalAddress_ != null) { - subBuilder = postalAddress_.toBuilder(); - } - postalAddress_ = - input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(postalAddress_); - postalAddress_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.type.PostalAddress.Builder subBuilder = null; + if (postalAddress_ != null) { + subBuilder = postalAddress_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - email_ = s; - break; + postalAddress_ = input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(postalAddress_); + postalAddress_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - phoneNumber_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - faxNumber_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + email_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + phoneNumber_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + faxNumber_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -396,41 +327,34 @@ private Contact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ContactSettings.Contact.class, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1.ContactSettings.Contact.class, com.google.cloud.domains.v1.ContactSettings.Contact.Builder.class); } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 1; private com.google.type.PostalAddress postalAddress_; /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -438,34 +362,23 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { @@ -475,14 +388,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { public static final int EMAIL_FIELD_NUMBER = 2; private volatile java.lang.Object email_; /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The email. */ @java.lang.Override @@ -491,29 +401,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -524,15 +434,12 @@ public com.google.protobuf.ByteString getEmailBytes() { public static final int PHONE_NUMBER_FIELD_NUMBER = 3; private volatile java.lang.Object phoneNumber_; /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The phoneNumber. */ @java.lang.Override @@ -541,30 +448,30 @@ public java.lang.String getPhoneNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; } } /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for phoneNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getPhoneNumberBytes() { + public com.google.protobuf.ByteString + getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -575,15 +482,12 @@ public com.google.protobuf.ByteString getPhoneNumberBytes() { public static final int FAX_NUMBER_FIELD_NUMBER = 4; private volatile java.lang.Object faxNumber_; /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The faxNumber. */ @java.lang.Override @@ -592,30 +496,30 @@ public java.lang.String getFaxNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; } } /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The bytes for faxNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getFaxNumberBytes() { + public com.google.protobuf.ByteString + getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -624,7 +528,6 @@ public com.google.protobuf.ByteString getFaxNumberBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -636,7 +539,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (postalAddress_ != null) { output.writeMessage(1, getPostalAddress()); } @@ -659,7 +563,8 @@ public int getSerializedSize() { size = 0; if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPostalAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_); @@ -678,21 +583,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.domains.v1.ContactSettings.Contact)) { return super.equals(obj); } - com.google.cloud.domains.v1.ContactSettings.Contact other = - (com.google.cloud.domains.v1.ContactSettings.Contact) obj; + com.google.cloud.domains.v1.ContactSettings.Contact other = (com.google.cloud.domains.v1.ContactSettings.Contact) obj; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress().equals(other.getPostalAddress())) return false; - } - if (!getEmail().equals(other.getEmail())) return false; - if (!getPhoneNumber().equals(other.getPhoneNumber())) return false; - if (!getFaxNumber().equals(other.getFaxNumber())) return false; + if (!getPostalAddress() + .equals(other.getPostalAddress())) return false; + } + if (!getEmail() + .equals(other.getEmail())) return false; + if (!getPhoneNumber() + .equals(other.getPhoneNumber())) return false; + if (!getFaxNumber() + .equals(other.getFaxNumber())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -720,94 +628,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.ContactSettings.Contact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ContactSettings.Contact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.ContactSettings.Contact prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.ContactSettings.Contact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -817,32 +718,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details required for a contact associated with a `Registration`.
      * 
* * Protobuf type {@code google.cloud.domains.v1.ContactSettings.Contact} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ContactSettings.Contact) com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ContactSettings.Contact.class, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1.ContactSettings.Contact.class, com.google.cloud.domains.v1.ContactSettings.Contact.Builder.class); } // Construct using com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder() @@ -850,15 +746,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -878,9 +775,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; } @java.lang.Override @@ -899,8 +796,7 @@ public com.google.cloud.domains.v1.ContactSettings.Contact build() { @java.lang.Override public com.google.cloud.domains.v1.ContactSettings.Contact buildPartial() { - com.google.cloud.domains.v1.ContactSettings.Contact result = - new com.google.cloud.domains.v1.ContactSettings.Contact(this); + com.google.cloud.domains.v1.ContactSettings.Contact result = new com.google.cloud.domains.v1.ContactSettings.Contact(this); if (postalAddressBuilder_ == null) { result.postalAddress_ = postalAddress_; } else { @@ -917,41 +813,38 @@ public com.google.cloud.domains.v1.ContactSettings.Contact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.domains.v1.ContactSettings.Contact) { - return mergeFrom((com.google.cloud.domains.v1.ContactSettings.Contact) other); + return mergeFrom((com.google.cloud.domains.v1.ContactSettings.Contact)other); } else { super.mergeFrom(other); return this; @@ -959,8 +852,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ContactSettings.Contact other) { - if (other == com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance()) return this; if (other.hasPostalAddress()) { mergePostalAddress(other.getPostalAddress()); } @@ -995,8 +887,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.ContactSettings.Contact) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.ContactSettings.Contact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1008,58 +899,39 @@ public Builder mergeFrom( private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> - postalAddressBuilder_; + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { @@ -1075,17 +947,14 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) { + public Builder setPostalAddress( + com.google.type.PostalAddress.Builder builderForValue) { if (postalAddressBuilder_ == null) { postalAddress_ = builderForValue.build(); onChanged(); @@ -1096,23 +965,17 @@ public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderFor return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergePostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { if (postalAddress_ != null) { postalAddress_ = - com.google.type.PostalAddress.newBuilder(postalAddress_) - .mergeFrom(value) - .buildPartial(); + com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial(); } else { postalAddress_ = value; } @@ -1124,15 +987,11 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPostalAddress() { if (postalAddressBuilder_ == null) { @@ -1146,64 +1005,48 @@ public Builder clearPostalAddress() { return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.PostalAddress.Builder getPostalAddressBuilder() { - + onChanged(); return getPostalAddressFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { if (postalAddressBuilder_ != null) { return postalAddressBuilder_.getMessageOrBuilder(); } else { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? + com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> getPostalAddressFieldBuilder() { if (postalAddressBuilder_ == null) { - postalAddressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder>( - getPostalAddress(), getParentForChildren(), isClean()); + postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( + getPostalAddress(), + getParentForChildren(), + isClean()); postalAddress_ = null; } return postalAddressBuilder_; @@ -1211,20 +1054,18 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { private java.lang.Object email_ = ""; /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -1233,21 +1074,20 @@ public java.lang.String getEmail() { } } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for email. */ - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -1255,61 +1095,54 @@ public com.google.protobuf.ByteString getEmailBytes() { } } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail(java.lang.String value) { + public Builder setEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes(com.google.protobuf.ByteString value) { + public Builder setEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; @@ -1317,21 +1150,19 @@ public Builder setEmailBytes(com.google.protobuf.ByteString value) { private java.lang.Object phoneNumber_ = ""; /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The phoneNumber. */ public java.lang.String getPhoneNumber() { java.lang.Object ref = phoneNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; @@ -1340,22 +1171,21 @@ public java.lang.String getPhoneNumber() { } } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for phoneNumber. */ - public com.google.protobuf.ByteString getPhoneNumberBytes() { + public com.google.protobuf.ByteString + getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -1363,64 +1193,57 @@ public com.google.protobuf.ByteString getPhoneNumberBytes() { } } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumber(java.lang.String value) { + public Builder setPhoneNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phoneNumber_ = value; onChanged(); return this; } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPhoneNumber() { - + phoneNumber_ = getDefaultInstance().getPhoneNumber(); onChanged(); return this; } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { + public Builder setPhoneNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phoneNumber_ = value; onChanged(); return this; @@ -1428,21 +1251,19 @@ public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { private java.lang.Object faxNumber_ = ""; /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @return The faxNumber. */ public java.lang.String getFaxNumber() { java.lang.Object ref = faxNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; @@ -1451,22 +1272,21 @@ public java.lang.String getFaxNumber() { } } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @return The bytes for faxNumber. */ - public com.google.protobuf.ByteString getFaxNumberBytes() { + public com.google.protobuf.ByteString + getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -1474,69 +1294,61 @@ public com.google.protobuf.ByteString getFaxNumberBytes() { } } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @param value The faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumber(java.lang.String value) { + public Builder setFaxNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + faxNumber_ = value; onChanged(); return this; } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @return This builder for chaining. */ public Builder clearFaxNumber() { - + faxNumber_ = getDefaultInstance().getFaxNumber(); onChanged(); return this; } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @param value The bytes for faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumberBytes(com.google.protobuf.ByteString value) { + public Builder setFaxNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + faxNumber_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1549,12 +1361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ContactSettings.Contact) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ContactSettings.Contact) private static final com.google.cloud.domains.v1.ContactSettings.Contact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ContactSettings.Contact(); } @@ -1563,16 +1375,16 @@ public static com.google.cloud.domains.v1.ContactSettings.Contact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Contact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Contact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Contact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Contact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1587,53 +1399,39 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.ContactSettings.Contact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PRIVACY_FIELD_NUMBER = 1; private int privacy_; /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override - public int getPrivacyValue() { + @java.lang.Override public int getPrivacyValue() { return privacy_; } /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The privacy. */ - @java.lang.Override - public com.google.cloud.domains.v1.ContactPrivacy getPrivacy() { + @java.lang.Override public com.google.cloud.domains.v1.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactPrivacy result = - com.google.cloud.domains.v1.ContactPrivacy.valueOf(privacy_); + com.google.cloud.domains.v1.ContactPrivacy result = com.google.cloud.domains.v1.ContactPrivacy.valueOf(privacy_); return result == null ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED : result; } public static final int REGISTRANT_CONTACT_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.ContactSettings.Contact registrantContact_; /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1643,10 +1441,7 @@ public com.google.cloud.domains.v1.ContactPrivacy getPrivacy() {
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registrantContact field is set. */ @java.lang.Override @@ -1654,8 +1449,6 @@ public boolean hasRegistrantContact() { return registrantContact_ != null; } /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1665,21 +1458,14 @@ public boolean hasRegistrantContact() {
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registrantContact. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings.Contact getRegistrantContact() { - return registrantContact_ == null - ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() - : registrantContact_; + return registrantContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; } /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1689,29 +1475,21 @@ public com.google.cloud.domains.v1.ContactSettings.Contact getRegistrantContact(
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder - getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { return getRegistrantContact(); } public static final int ADMIN_CONTACT_FIELD_NUMBER = 3; private com.google.cloud.domains.v1.ContactSettings.Contact adminContact_; /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adminContact field is set. */ @java.lang.Override @@ -1719,34 +1497,23 @@ public boolean hasAdminContact() { return adminContact_ != null; } /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The adminContact. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings.Contact getAdminContact() { - return adminContact_ == null - ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() - : adminContact_; + return adminContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : adminContact_; } /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { @@ -1756,16 +1523,11 @@ public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getAdminCont public static final int TECHNICAL_CONTACT_FIELD_NUMBER = 4; private com.google.cloud.domains.v1.ContactSettings.Contact technicalContact_; /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the technicalContact field is set. */ @java.lang.Override @@ -1773,43 +1535,30 @@ public boolean hasTechnicalContact() { return technicalContact_ != null; } /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The technicalContact. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings.Contact getTechnicalContact() { - return technicalContact_ == null - ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() - : technicalContact_; + return technicalContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; } /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder - getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { return getTechnicalContact(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1821,9 +1570,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (privacy_ - != com.google.cloud.domains.v1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (privacy_ != com.google.cloud.domains.v1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { output.writeEnum(1, privacy_); } if (registrantContact_ != null) { @@ -1844,18 +1593,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (privacy_ - != com.google.cloud.domains.v1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, privacy_); + if (privacy_ != com.google.cloud.domains.v1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, privacy_); } if (registrantContact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistrantContact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRegistrantContact()); } if (adminContact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAdminContact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAdminContact()); } if (technicalContact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTechnicalContact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTechnicalContact()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1865,26 +1617,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.domains.v1.ContactSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1.ContactSettings other = - (com.google.cloud.domains.v1.ContactSettings) obj; + com.google.cloud.domains.v1.ContactSettings other = (com.google.cloud.domains.v1.ContactSettings) obj; if (privacy_ != other.privacy_) return false; if (hasRegistrantContact() != other.hasRegistrantContact()) return false; if (hasRegistrantContact()) { - if (!getRegistrantContact().equals(other.getRegistrantContact())) return false; + if (!getRegistrantContact() + .equals(other.getRegistrantContact())) return false; } if (hasAdminContact() != other.hasAdminContact()) return false; if (hasAdminContact()) { - if (!getAdminContact().equals(other.getAdminContact())) return false; + if (!getAdminContact() + .equals(other.getAdminContact())) return false; } if (hasTechnicalContact() != other.hasTechnicalContact()) return false; if (hasTechnicalContact()) { - if (!getTechnicalContact().equals(other.getTechnicalContact())) return false; + if (!getTechnicalContact() + .equals(other.getTechnicalContact())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1916,104 +1670,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.ContactSettings parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.ContactSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ContactSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ContactSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ContactSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ContactSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ContactSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ContactSettings parseFrom(java.io.InputStream input) 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.domains.v1.ContactSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.ContactSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ContactSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ContactSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ContactSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ContactSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.ContactSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines the contact information associated with a `Registration`.
    * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -2023,23 +1770,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.domains.v1.ContactSettings}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ContactSettings)
       com.google.cloud.domains.v1.ContactSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.ContactSettings.class,
-              com.google.cloud.domains.v1.ContactSettings.Builder.class);
+              com.google.cloud.domains.v1.ContactSettings.class, com.google.cloud.domains.v1.ContactSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1.ContactSettings.newBuilder()
@@ -2047,15 +1792,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2083,9 +1829,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
     }
 
     @java.lang.Override
@@ -2104,8 +1850,7 @@ public com.google.cloud.domains.v1.ContactSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1.ContactSettings buildPartial() {
-      com.google.cloud.domains.v1.ContactSettings result =
-          new com.google.cloud.domains.v1.ContactSettings(this);
+      com.google.cloud.domains.v1.ContactSettings result = new com.google.cloud.domains.v1.ContactSettings(this);
       result.privacy_ = privacy_;
       if (registrantContactBuilder_ == null) {
         result.registrantContact_ = registrantContact_;
@@ -2130,39 +1875,38 @@ public com.google.cloud.domains.v1.ContactSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1.ContactSettings) {
-        return mergeFrom((com.google.cloud.domains.v1.ContactSettings) other);
+        return mergeFrom((com.google.cloud.domains.v1.ContactSettings)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2214,73 +1958,51 @@ public Builder mergeFrom(
 
     private int privacy_ = 0;
     /**
-     *
-     *
      * 
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override - public int getPrivacyValue() { + @java.lang.Override public int getPrivacyValue() { return privacy_; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for privacy to set. * @return This builder for chaining. */ public Builder setPrivacyValue(int value) { - + privacy_ = value; onChanged(); return this; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The privacy. */ @java.lang.Override public com.google.cloud.domains.v1.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactPrivacy result = - com.google.cloud.domains.v1.ContactPrivacy.valueOf(privacy_); + com.google.cloud.domains.v1.ContactPrivacy result = com.google.cloud.domains.v1.ContactPrivacy.valueOf(privacy_); return result == null ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED : result; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The privacy to set. * @return This builder for chaining. */ @@ -2288,26 +2010,21 @@ public Builder setPrivacy(com.google.cloud.domains.v1.ContactPrivacy value) { if (value == null) { throw new NullPointerException(); } - + privacy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearPrivacy() { - + privacy_ = 0; onChanged(); return this; @@ -2315,13 +2032,8 @@ public Builder clearPrivacy() { private com.google.cloud.domains.v1.ContactSettings.Contact registrantContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> - registrantContactBuilder_; + com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> registrantContactBuilder_; /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2331,18 +2043,13 @@ public Builder clearPrivacy() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registrantContact field is set. */ public boolean hasRegistrantContact() { return registrantContactBuilder_ != null || registrantContact_ != null; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2352,24 +2059,17 @@ public boolean hasRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registrantContact. */ public com.google.cloud.domains.v1.ContactSettings.Contact getRegistrantContact() { if (registrantContactBuilder_ == null) { - return registrantContact_ == null - ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() - : registrantContact_; + return registrantContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; } else { return registrantContactBuilder_.getMessage(); } } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2379,9 +2079,7 @@ public com.google.cloud.domains.v1.ContactSettings.Contact getRegistrantContact(
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistrantContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { @@ -2397,8 +2095,6 @@ public Builder setRegistrantContact(com.google.cloud.domains.v1.ContactSettings. return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2408,9 +2104,7 @@ public Builder setRegistrantContact(com.google.cloud.domains.v1.ContactSettings.
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistrantContact( com.google.cloud.domains.v1.ContactSettings.Contact.Builder builderForValue) { @@ -2424,8 +2118,6 @@ public Builder setRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2435,18 +2127,13 @@ public Builder setRegistrantContact(
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeRegistrantContact( - com.google.cloud.domains.v1.ContactSettings.Contact value) { + public Builder mergeRegistrantContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { if (registrantContact_ != null) { registrantContact_ = - com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(registrantContact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(registrantContact_).mergeFrom(value).buildPartial(); } else { registrantContact_ = value; } @@ -2458,8 +2145,6 @@ public Builder mergeRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2469,9 +2154,7 @@ public Builder mergeRegistrantContact(
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRegistrantContact() { if (registrantContactBuilder_ == null) { @@ -2485,8 +2168,6 @@ public Builder clearRegistrantContact() { return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2496,19 +2177,14 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1.ContactSettings.Contact.Builder - getRegistrantContactBuilder() { - + public com.google.cloud.domains.v1.ContactSettings.Contact.Builder getRegistrantContactBuilder() { + onChanged(); return getRegistrantContactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2518,23 +2194,17 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder - getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { if (registrantContactBuilder_ != null) { return registrantContactBuilder_.getMessageOrBuilder(); } else { - return registrantContact_ == null - ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() - : registrantContact_; + return registrantContact_ == null ? + com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; } } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2544,22 +2214,17 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> getRegistrantContactFieldBuilder() { if (registrantContactBuilder_ == null) { - registrantContactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( - getRegistrantContact(), getParentForChildren(), isClean()); + registrantContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( + getRegistrantContact(), + getParentForChildren(), + isClean()); registrantContact_ = null; } return registrantContactBuilder_; @@ -2567,58 +2232,39 @@ public Builder clearRegistrantContact() { private com.google.cloud.domains.v1.ContactSettings.Contact adminContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> - adminContactBuilder_; + com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> adminContactBuilder_; /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adminContact field is set. */ public boolean hasAdminContact() { return adminContactBuilder_ != null || adminContact_ != null; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The adminContact. */ public com.google.cloud.domains.v1.ContactSettings.Contact getAdminContact() { if (adminContactBuilder_ == null) { - return adminContact_ == null - ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() - : adminContact_; + return adminContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : adminContact_; } else { return adminContactBuilder_.getMessage(); } } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAdminContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { @@ -2634,15 +2280,11 @@ public Builder setAdminContact(com.google.cloud.domains.v1.ContactSettings.Conta return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAdminContact( com.google.cloud.domains.v1.ContactSettings.Contact.Builder builderForValue) { @@ -2656,23 +2298,17 @@ public Builder setAdminContact( return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAdminContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { if (adminContact_ != null) { adminContact_ = - com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(adminContact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(adminContact_).mergeFrom(value).buildPartial(); } else { adminContact_ = value; } @@ -2684,15 +2320,11 @@ public Builder mergeAdminContact(com.google.cloud.domains.v1.ContactSettings.Con return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAdminContact() { if (adminContactBuilder_ == null) { @@ -2706,64 +2338,48 @@ public Builder clearAdminContact() { return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1.ContactSettings.Contact.Builder getAdminContactBuilder() { - + onChanged(); return getAdminContactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { if (adminContactBuilder_ != null) { return adminContactBuilder_.getMessageOrBuilder(); } else { - return adminContact_ == null - ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() - : adminContact_; + return adminContact_ == null ? + com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : adminContact_; } } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> getAdminContactFieldBuilder() { if (adminContactBuilder_ == null) { - adminContactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( - getAdminContact(), getParentForChildren(), isClean()); + adminContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( + getAdminContact(), + getParentForChildren(), + isClean()); adminContact_ = null; } return adminContactBuilder_; @@ -2771,58 +2387,39 @@ public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getAdminCont private com.google.cloud.domains.v1.ContactSettings.Contact technicalContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> - technicalContactBuilder_; + com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> technicalContactBuilder_; /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the technicalContact field is set. */ public boolean hasTechnicalContact() { return technicalContactBuilder_ != null || technicalContact_ != null; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The technicalContact. */ public com.google.cloud.domains.v1.ContactSettings.Contact getTechnicalContact() { if (technicalContactBuilder_ == null) { - return technicalContact_ == null - ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() - : technicalContact_; + return technicalContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; } else { return technicalContactBuilder_.getMessage(); } } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTechnicalContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { @@ -2838,15 +2435,11 @@ public Builder setTechnicalContact(com.google.cloud.domains.v1.ContactSettings.C return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTechnicalContact( com.google.cloud.domains.v1.ContactSettings.Contact.Builder builderForValue) { @@ -2860,24 +2453,17 @@ public Builder setTechnicalContact( return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTechnicalContact( - com.google.cloud.domains.v1.ContactSettings.Contact value) { + public Builder mergeTechnicalContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { if (technicalContact_ != null) { technicalContact_ = - com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(technicalContact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(technicalContact_).mergeFrom(value).buildPartial(); } else { technicalContact_ = value; } @@ -2889,15 +2475,11 @@ public Builder mergeTechnicalContact( return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTechnicalContact() { if (technicalContactBuilder_ == null) { @@ -2911,73 +2493,55 @@ public Builder clearTechnicalContact() { return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1.ContactSettings.Contact.Builder - getTechnicalContactBuilder() { - + public com.google.cloud.domains.v1.ContactSettings.Contact.Builder getTechnicalContactBuilder() { + onChanged(); return getTechnicalContactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder - getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { if (technicalContactBuilder_ != null) { return technicalContactBuilder_.getMessageOrBuilder(); } else { - return technicalContact_ == null - ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() - : technicalContact_; + return technicalContact_ == null ? + com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; } } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> getTechnicalContactFieldBuilder() { if (technicalContactBuilder_ == null) { - technicalContactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, - com.google.cloud.domains.v1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( - getTechnicalContact(), getParentForChildren(), isClean()); + technicalContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( + getTechnicalContact(), + getParentForChildren(), + isClean()); technicalContact_ = null; } return technicalContactBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2987,12 +2551,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ContactSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ContactSettings) private static final com.google.cloud.domains.v1.ContactSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ContactSettings(); } @@ -3001,16 +2565,16 @@ public static com.google.cloud.domains.v1.ContactSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContactSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContactSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContactSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContactSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3025,4 +2589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.ContactSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java similarity index 59% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java index d6fe7444..eb425f7c 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java @@ -1,60 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ContactSettingsOrBuilder - extends +public interface ContactSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ContactSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for privacy. */ int getPrivacyValue(); /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The privacy. */ com.google.cloud.domains.v1.ContactPrivacy getPrivacy(); /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -64,16 +36,11 @@ public interface ContactSettingsOrBuilder
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registrantContact field is set. */ boolean hasRegistrantContact(); /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -83,16 +50,11 @@ public interface ContactSettingsOrBuilder
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registrantContact. */ com.google.cloud.domains.v1.ContactSettings.Contact getRegistrantContact(); /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -102,91 +64,61 @@ public interface ContactSettingsOrBuilder
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder(); /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adminContact field is set. */ boolean hasAdminContact(); /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The adminContact. */ com.google.cloud.domains.v1.ContactSettings.Contact getAdminContact(); /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder(); /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the technicalContact field is set. */ boolean hasTechnicalContact(); /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The technicalContact. */ com.google.cloud.domains.v1.ContactSettings.Contact getTechnicalContact(); /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder(); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java similarity index 65% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java index 01184121..8c134cce 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `DeleteRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.DeleteRegistrationRequest} */ -public final class DeleteRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DeleteRegistrationRequest) DeleteRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRegistrationRequest.newBuilder() to construct. private DeleteRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRegistrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.DeleteRegistrationRequest.class, - com.google.cloud.domains.v1.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.DeleteRegistrationRequest.class, com.google.cloud.domains.v1.DeleteRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 @@ -135,32 +110,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 `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,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.domains.v1.DeleteRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.DeleteRegistrationRequest other = - (com.google.cloud.domains.v1.DeleteRegistrationRequest) obj; + com.google.cloud.domains.v1.DeleteRegistrationRequest other = (com.google.cloud.domains.v1.DeleteRegistrationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.DeleteRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.DeleteRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `DeleteRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.DeleteRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DeleteRegistrationRequest) com.google.cloud.domains.v1.DeleteRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.DeleteRegistrationRequest.class, - com.google.cloud.domains.v1.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.DeleteRegistrationRequest.class, com.google.cloud.domains.v1.DeleteRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.DeleteRegistrationRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.domains.v1.DeleteRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1.DeleteRegistrationRequest buildPartial() { - com.google.cloud.domains.v1.DeleteRegistrationRequest result = - new com.google.cloud.domains.v1.DeleteRegistrationRequest(this); + com.google.cloud.domains.v1.DeleteRegistrationRequest result = new com.google.cloud.domains.v1.DeleteRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.domains.v1.DeleteRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.DeleteRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1.DeleteRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1.DeleteRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.DeleteRegistrationRequest other) { - if (other == com.google.cloud.domains.v1.DeleteRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.DeleteRegistrationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.DeleteRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.DeleteRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DeleteRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DeleteRegistrationRequest) private static final com.google.cloud.domains.v1.DeleteRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DeleteRegistrationRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.domains.v1.DeleteRegistrationRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1.DeleteRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..6f6da3cc --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1/domains.proto + +package com.google.cloud.domains.v1; + +public interface DeleteRegistrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DeleteRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java similarity index 76% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java index 80e4926a..57d5fdb1 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Defines the DNS configuration of a `Registration`, including name servers,
  * DNSSEC, and glue records.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1.DnsSettings}
  */
-public final class DnsSettings extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DnsSettings extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DnsSettings)
     DnsSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DnsSettings.newBuilder() to construct.
   private DnsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DnsSettings() {
     glueRecords_ = 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 DnsSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DnsSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,65 +55,50 @@ private DnsSettings(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder subBuilder = null;
-              if (dnsProviderCase_ == 1) {
-                subBuilder =
-                    ((com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_).toBuilder();
-              }
-              dnsProvider_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1.DnsSettings.CustomDns.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_);
-                dnsProvider_ = subBuilder.buildPartial();
-              }
-              dnsProviderCase_ = 1;
-              break;
+          case 10: {
+            com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder subBuilder = null;
+            if (dnsProviderCase_ == 1) {
+              subBuilder = ((com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_).toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder subBuilder = null;
-              if (dnsProviderCase_ == 2) {
-                subBuilder =
-                    ((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_)
-                        .toBuilder();
-              }
-              dnsProvider_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_);
-                dnsProvider_ = subBuilder.buildPartial();
-              }
-              dnsProviderCase_ = 2;
-              break;
+            dnsProvider_ =
+                input.readMessage(com.google.cloud.domains.v1.DnsSettings.CustomDns.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_);
+              dnsProvider_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                glueRecords_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              glueRecords_.add(
-                  input.readMessage(
-                      com.google.cloud.domains.v1.DnsSettings.GlueRecord.parser(),
-                      extensionRegistry));
-              break;
+            dnsProviderCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder subBuilder = null;
+            if (dnsProviderCase_ == 2) {
+              subBuilder = ((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            dnsProvider_ =
+                input.readMessage(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_);
+              dnsProvider_ = subBuilder.buildPartial();
             }
+            dnsProviderCase_ = 2;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              glueRecords_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
+            }
+            glueRecords_.add(
+                input.readMessage(com.google.cloud.domains.v1.DnsSettings.GlueRecord.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,7 +106,8 @@ private DnsSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         glueRecords_ = java.util.Collections.unmodifiableList(glueRecords_);
@@ -147,35 +116,29 @@ private DnsSettings(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.domains.v1.DomainsProto
-        .internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1.DomainsProto
-        .internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1.DnsSettings.class,
-            com.google.cloud.domains.v1.DnsSettings.Builder.class);
+            com.google.cloud.domains.v1.DnsSettings.class, com.google.cloud.domains.v1.DnsSettings.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The publication state of DS records for a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1.DnsSettings.DsState} */ - public enum DsState implements com.google.protobuf.ProtocolMessageEnum { + public enum DsState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * DS state is unspecified.
      * 
@@ -184,8 +147,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum { */ DS_STATE_UNSPECIFIED(0), /** - * - * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -195,8 +156,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
      */
     DS_RECORDS_UNPUBLISHED(1),
     /**
-     *
-     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -211,8 +170,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * DS state is unspecified.
      * 
@@ -221,8 +178,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DS_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -232,8 +187,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DS_RECORDS_UNPUBLISHED_VALUE = 1;
     /**
-     *
-     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -245,6 +198,7 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DS_RECORDS_PUBLISHED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -269,49 +223,49 @@ public static DsState valueOf(int value) {
      */
     public static DsState forNumber(int value) {
       switch (value) {
-        case 0:
-          return DS_STATE_UNSPECIFIED;
-        case 1:
-          return DS_RECORDS_UNPUBLISHED;
-        case 2:
-          return DS_RECORDS_PUBLISHED;
-        default:
-          return null;
+        case 0: return DS_STATE_UNSPECIFIED;
+        case 1: return DS_RECORDS_UNPUBLISHED;
+        case 2: return DS_RECORDS_PUBLISHED;
+        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<
+        DsState> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DsState findValueByNumber(int number) {
+              return DsState.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DsState findValueByNumber(int number) {
-            return DsState.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.domains.v1.DnsSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DsState[] VALUES = values();
 
-    public static DsState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DsState 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;
@@ -328,14 +282,11 @@ private DsState(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1.DnsSettings.DsState)
   }
 
-  public interface CustomDnsOrBuilder
-      extends
+  public interface CustomDnsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DnsSettings.CustomDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -343,13 +294,11 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the nameServers. */ - java.util.List getNameServersList(); + java.util.List + getNameServersList(); /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -357,13 +306,10 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of nameServers. */ int getNameServersCount(); /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -371,14 +317,11 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -386,15 +329,13 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString getNameServersBytes(int index); + com.google.protobuf.ByteString + getNameServersBytes(int index); /** - * - * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -403,10 +344,9 @@ public interface CustomDnsOrBuilder
      *
      * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List getDsRecordsList();
+    java.util.List 
+        getDsRecordsList();
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -417,8 +357,6 @@ public interface CustomDnsOrBuilder
      */
     com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index);
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -429,8 +367,6 @@ public interface CustomDnsOrBuilder
      */
     int getDsRecordsCount();
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -439,11 +375,9 @@ public interface CustomDnsOrBuilder
      *
      * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List
+    java.util.List 
         getDsRecordsOrBuilderList();
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -452,27 +386,25 @@ public interface CustomDnsOrBuilder
      *
      * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      */
-    com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index);
+    com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * Configuration for an arbitrary DNS provider.
    * 
* * Protobuf type {@code google.cloud.domains.v1.DnsSettings.CustomDns} */ - public static final class CustomDns extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CustomDns extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DnsSettings.CustomDns) CustomDnsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomDns.newBuilder() to construct. private CustomDns(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomDns() { nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; dsRecords_ = java.util.Collections.emptyList(); @@ -480,15 +412,16 @@ private CustomDns() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomDns(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CustomDns( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -508,36 +441,31 @@ private CustomDns( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nameServers_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - dsRecords_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - dsRecords_.add( - input.readMessage( - com.google.cloud.domains.v1.DnsSettings.DsRecord.parser(), - extensionRegistry)); - break; + nameServers_.add(s); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + dsRecords_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dsRecords_.add( + input.readMessage(com.google.cloud.domains.v1.DnsSettings.DsRecord.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -545,7 +473,8 @@ private CustomDns( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -557,27 +486,22 @@ private CustomDns( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.DnsSettings.CustomDns.class, - com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1.DnsSettings.CustomDns.class, com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder.class); } public static final int NAME_SERVERS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList nameServers_; /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -585,15 +509,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_; } /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -601,15 +523,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -617,7 +536,6 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -625,8 +543,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -634,19 +550,17 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_RECORDS_FIELD_NUMBER = 2; private java.util.List dsRecords_; /** - * - * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -660,8 +574,6 @@ public java.util.List getDsRec
       return dsRecords_;
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -671,13 +583,11 @@ public java.util.List getDsRec
      * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getDsRecordsOrBuilderList() {
       return dsRecords_;
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -691,8 +601,6 @@ public int getDsRecordsCount() {
       return dsRecords_.size();
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -706,8 +614,6 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index)
       return dsRecords_.get(index);
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -723,7 +629,6 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -735,7 +640,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < nameServers_.size(); i++) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i));
       }
@@ -760,7 +666,8 @@ public int getSerializedSize() {
         size += 1 * getNameServersList().size();
       }
       for (int i = 0; i < dsRecords_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dsRecords_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, dsRecords_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -770,16 +677,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.domains.v1.DnsSettings.CustomDns)) {
         return super.equals(obj);
       }
-      com.google.cloud.domains.v1.DnsSettings.CustomDns other =
-          (com.google.cloud.domains.v1.DnsSettings.CustomDns) obj;
+      com.google.cloud.domains.v1.DnsSettings.CustomDns other = (com.google.cloud.domains.v1.DnsSettings.CustomDns) obj;
 
-      if (!getNameServersList().equals(other.getNameServersList())) return false;
-      if (!getDsRecordsList().equals(other.getDsRecordsList())) return false;
+      if (!getNameServersList()
+          .equals(other.getNameServersList())) return false;
+      if (!getDsRecordsList()
+          .equals(other.getDsRecordsList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -805,93 +713,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.cloud.domains.v1.DnsSettings.CustomDns prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -901,32 +803,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Configuration for an arbitrary DNS provider.
      * 
* * Protobuf type {@code google.cloud.domains.v1.DnsSettings.CustomDns} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DnsSettings.CustomDns) com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.DnsSettings.CustomDns.class, - com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1.DnsSettings.CustomDns.class, com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder.class); } // Construct using com.google.cloud.domains.v1.DnsSettings.CustomDns.newBuilder() @@ -934,17 +831,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDsRecordsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -960,9 +857,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; } @java.lang.Override @@ -981,8 +878,7 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDns build() { @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.CustomDns buildPartial() { - com.google.cloud.domains.v1.DnsSettings.CustomDns result = - new com.google.cloud.domains.v1.DnsSettings.CustomDns(this); + com.google.cloud.domains.v1.DnsSettings.CustomDns result = new com.google.cloud.domains.v1.DnsSettings.CustomDns(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -1006,41 +902,38 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDns buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.domains.v1.DnsSettings.CustomDns) { - return mergeFrom((com.google.cloud.domains.v1.DnsSettings.CustomDns) other); + return mergeFrom((com.google.cloud.domains.v1.DnsSettings.CustomDns)other); } else { super.mergeFrom(other); return this; @@ -1048,8 +941,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.CustomDns other) { - if (other == com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance()) return this; if (!other.nameServers_.isEmpty()) { if (nameServers_.isEmpty()) { nameServers_ = other.nameServers_; @@ -1078,10 +970,9 @@ public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.CustomDns other dsRecordsBuilder_ = null; dsRecords_ = other.dsRecords_; bitField0_ = (bitField0_ & ~0x00000002); - dsRecordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDsRecordsFieldBuilder() - : null; + dsRecordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDsRecordsFieldBuilder() : null; } else { dsRecordsBuilder_.addAllMessages(other.dsRecords_); } @@ -1106,8 +997,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.DnsSettings.CustomDns) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.DnsSettings.CustomDns) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1116,21 +1006,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList nameServers_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1138,15 +1023,13 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_.getUnmodifiableView(); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1154,15 +1037,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1170,7 +1050,6 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1178,8 +1057,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1187,16 +1064,14 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1204,23 +1079,21 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers(int index, java.lang.String value) { + public Builder setNameServers( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1228,22 +1101,20 @@ public Builder setNameServers(int index, java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers(java.lang.String value) { + public Builder addNameServers( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1251,19 +1122,18 @@ public Builder addNameServers(java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers(java.lang.Iterable values) { + public Builder addAllNameServers( + java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nameServers_); onChanged(); return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1271,7 +1141,6 @@ public Builder addAllNameServers(java.lang.Iterable values) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1281,8 +1150,6 @@ public Builder clearNameServers() { return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1290,15 +1157,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes(com.google.protobuf.ByteString value) { + public Builder addNameServersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1306,25 +1173,18 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) { } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = - new java.util.ArrayList(dsRecords_); + dsRecords_ = new java.util.ArrayList(dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.DsRecord, - com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> - dsRecordsBuilder_; + com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; /** - * - * *
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1341,8 +1201,6 @@ public java.util.List getDsRec
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1359,8 +1217,6 @@ public int getDsRecordsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1377,8 +1233,6 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index)
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1402,8 +1256,6 @@ public Builder setDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1424,8 +1276,6 @@ public Builder setDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1448,8 +1298,6 @@ public Builder addDsRecords(com.google.cloud.domains.v1.DnsSettings.DsRecord val
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1473,8 +1321,6 @@ public Builder addDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1495,8 +1341,6 @@ public Builder addDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1517,8 +1361,6 @@ public Builder addDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1531,7 +1373,8 @@ public Builder addAllDsRecords(
           java.lang.Iterable values) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, dsRecords_);
           onChanged();
         } else {
           dsRecordsBuilder_.addAllMessages(values);
@@ -1539,8 +1382,6 @@ public Builder addAllDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1560,8 +1401,6 @@ public Builder clearDsRecords() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1581,8 +1420,6 @@ public Builder removeDsRecords(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1596,8 +1433,6 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder getDsRecordsBuil
         return getDsRecordsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1609,14 +1444,11 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder getDsRecordsBuil
       public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
           int index) {
         if (dsRecordsBuilder_ == null) {
-          return dsRecords_.get(index);
-        } else {
+          return dsRecords_.get(index);  } else {
           return dsRecordsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1625,8 +1457,8 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB
        *
        * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List
-          getDsRecordsOrBuilderList() {
+      public java.util.List 
+           getDsRecordsOrBuilderList() {
         if (dsRecordsBuilder_ != null) {
           return dsRecordsBuilder_.getMessageOrBuilderList();
         } else {
@@ -1634,8 +1466,6 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1645,12 +1475,10 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB
        * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        */
       public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuilder() {
-        return getDsRecordsFieldBuilder()
-            .addBuilder(com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder().addBuilder(
+            com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1661,13 +1489,10 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuil
        */
       public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuilder(
           int index) {
-        return getDsRecordsFieldBuilder()
-            .addBuilder(
-                index, com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder().addBuilder(
+            index, com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1676,28 +1501,24 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuil
        *
        * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List
-          getDsRecordsBuilderList() {
+      public java.util.List 
+           getDsRecordsBuilderList() {
         return getDsRecordsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.domains.v1.DnsSettings.DsRecord,
-              com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder,
-              com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>
+          com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> 
           getDsRecordsFieldBuilder() {
         if (dsRecordsBuilder_ == null) {
-          dsRecordsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.domains.v1.DnsSettings.DsRecord,
-                  com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder,
-                  com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>(
-                  dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+          dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>(
+                  dsRecords_,
+                  ((bitField0_ & 0x00000002) != 0),
+                  getParentForChildren(),
+                  isClean());
           dsRecords_ = null;
         }
         return dsRecordsBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1710,12 +1531,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DnsSettings.CustomDns)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DnsSettings.CustomDns)
     private static final com.google.cloud.domains.v1.DnsSettings.CustomDns DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DnsSettings.CustomDns();
     }
@@ -1724,16 +1545,16 @@ public static com.google.cloud.domains.v1.DnsSettings.CustomDns getDefaultInstan
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CustomDns parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new CustomDns(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CustomDns parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new CustomDns(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1748,16 +1569,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.domains.v1.DnsSettings.CustomDns getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface GoogleDomainsDnsOrBuilder
-      extends
+  public interface GoogleDomainsDnsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DnsSettings.GoogleDomainsDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1766,13 +1585,11 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the nameServers. */ - java.util.List getNameServersList(); + java.util.List + getNameServersList(); /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1781,13 +1598,10 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of nameServers. */ int getNameServersCount(); /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1796,14 +1610,11 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1812,118 +1623,88 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString getNameServersBytes(int index); + com.google.protobuf.ByteString + getNameServersBytes(int index); /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dsState. */ int getDsStateValue(); /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dsState. */ com.google.cloud.domains.v1.DnsSettings.DsState getDsState(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getDsRecordsList(); + java.util.List + getDsRecordsList(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getDsRecordsCount(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getDsRecordsOrBuilderList(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index); + com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( + int index); } /** - * - * *
    * Configuration for using the free DNS zone provided by Google Domains as a
    * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -1933,16 +1714,15 @@ public interface GoogleDomainsDnsOrBuilder
    *
    * Protobuf type {@code google.cloud.domains.v1.DnsSettings.GoogleDomainsDns}
    */
-  public static final class GoogleDomainsDns extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class GoogleDomainsDns extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DnsSettings.GoogleDomainsDns)
       GoogleDomainsDnsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use GoogleDomainsDns.newBuilder() to construct.
     private GoogleDomainsDns(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private GoogleDomainsDns() {
       nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       dsState_ = 0;
@@ -1951,15 +1731,16 @@ private GoogleDomainsDns() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new GoogleDomainsDns();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private GoogleDomainsDns(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1979,43 +1760,37 @@ private GoogleDomainsDns(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  nameServers_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                nameServers_.add(s);
-                break;
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                nameServers_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+              nameServers_.add(s);
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                dsState_ = rawValue;
-                break;
-              }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  dsRecords_ =
-                      new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                dsRecords_.add(
-                    input.readMessage(
-                        com.google.cloud.domains.v1.DnsSettings.DsRecord.parser(),
-                        extensionRegistry));
-                break;
+              dsState_ = rawValue;
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                dsRecords_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              dsRecords_.add(
+                  input.readMessage(com.google.cloud.domains.v1.DnsSettings.DsRecord.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2023,7 +1798,8 @@ private GoogleDomainsDns(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -2035,27 +1811,22 @@ private GoogleDomainsDns(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.class,
-              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder.class);
+              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder.class);
     }
 
     public static final int NAME_SERVERS_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList nameServers_;
     /**
-     *
-     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2064,15 +1835,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_; } /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2081,15 +1850,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2098,7 +1864,6 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -2106,8 +1871,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2116,139 +1879,106 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_STATE_FIELD_NUMBER = 2; private int dsState_; /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override - public int getDsStateValue() { + @java.lang.Override public int getDsStateValue() { return dsState_; } /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dsState. */ - @java.lang.Override - public com.google.cloud.domains.v1.DnsSettings.DsState getDsState() { + @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsState result = - com.google.cloud.domains.v1.DnsSettings.DsState.valueOf(dsState_); + com.google.cloud.domains.v1.DnsSettings.DsState result = com.google.cloud.domains.v1.DnsSettings.DsState.valueOf(dsState_); return result == null ? com.google.cloud.domains.v1.DnsSettings.DsState.UNRECOGNIZED : result; } public static final int DS_RECORDS_FIELD_NUMBER = 3; private java.util.List dsRecords_; /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getDsRecordsList() { return dsRecords_; } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getDsRecordsOrBuilderList() { return dsRecords_; } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getDsRecordsCount() { return dsRecords_.size(); } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index) { return dsRecords_.get(index); } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( @@ -2257,7 +1987,6 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2269,12 +1998,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 < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i)); } - if (dsState_ - != com.google.cloud.domains.v1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { + if (dsState_ != com.google.cloud.domains.v1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { @@ -2297,12 +2026,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (dsState_ - != com.google.cloud.domains.v1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dsState_); + if (dsState_ != com.google.cloud.domains.v1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, dsRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, dsRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2312,17 +2042,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.domains.v1.DnsSettings.GoogleDomainsDns)) { return super.equals(obj); } - com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns other = - (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) obj; + com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns other = (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) obj; - if (!getNameServersList().equals(other.getNameServersList())) return false; + if (!getNameServersList() + .equals(other.getNameServersList())) return false; if (dsState_ != other.dsState_) return false; - if (!getDsRecordsList().equals(other.getDsRecordsList())) return false; + if (!getDsRecordsList() + .equals(other.getDsRecordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2350,94 +2081,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2447,8 +2171,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for using the free DNS zone provided by Google Domains as a
      * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -2458,24 +2180,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1.DnsSettings.GoogleDomainsDns}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DnsSettings.GoogleDomainsDns)
         com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.domains.v1.DomainsProto
-            .internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1.DomainsProto
-            .internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.class,
-                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder.class);
+                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.newBuilder()
@@ -2483,17 +2202,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getDsRecordsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2511,9 +2230,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.domains.v1.DomainsProto
-            .internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
@@ -2532,8 +2251,7 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns buildPartial() {
-        com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns result =
-            new com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns(this);
+        com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns result = new com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -2558,41 +2276,38 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.domains.v1.DnsSettings.GoogleDomainsDns) {
-          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) other);
+          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2600,8 +2315,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns other) {
-        if (other == com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance()) return this;
         if (!other.nameServers_.isEmpty()) {
           if (nameServers_.isEmpty()) {
             nameServers_ = other.nameServers_;
@@ -2633,10 +2347,9 @@ public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDn
               dsRecordsBuilder_ = null;
               dsRecords_ = other.dsRecords_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              dsRecordsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getDsRecordsFieldBuilder()
-                      : null;
+              dsRecordsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getDsRecordsFieldBuilder() : null;
             } else {
               dsRecordsBuilder_.addAllMessages(other.dsRecords_);
             }
@@ -2661,8 +2374,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2671,21 +2383,16 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList nameServers_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
-
+      private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureNameServersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
       /**
-       *
-       *
        * 
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2694,15 +2401,13 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_.getUnmodifiableView(); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2711,15 +2416,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2728,7 +2430,6 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -2736,8 +2437,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2746,16 +2445,14 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2764,23 +2461,21 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers(int index, java.lang.String value) { + public Builder setNameServers( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2789,22 +2484,20 @@ public Builder setNameServers(int index, java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers(java.lang.String value) { + public Builder addNameServers( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2813,19 +2506,18 @@ public Builder addNameServers(java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers(java.lang.Iterable values) { + public Builder addAllNameServers( + java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nameServers_); onChanged(); return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2834,7 +2526,6 @@ public Builder addAllNameServers(java.lang.Iterable values) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -2844,8 +2535,6 @@ public Builder clearNameServers() { return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2854,15 +2543,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes(com.google.protobuf.ByteString value) { + public Builder addNameServersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -2871,79 +2560,55 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) { private int dsState_ = 0; /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override - public int getDsStateValue() { + @java.lang.Override public int getDsStateValue() { return dsState_; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for dsState to set. * @return This builder for chaining. */ public Builder setDsStateValue(int value) { - + dsState_ = value; onChanged(); return this; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dsState. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsState result = - com.google.cloud.domains.v1.DnsSettings.DsState.valueOf(dsState_); - return result == null - ? com.google.cloud.domains.v1.DnsSettings.DsState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.DnsSettings.DsState result = com.google.cloud.domains.v1.DnsSettings.DsState.valueOf(dsState_); + return result == null ? com.google.cloud.domains.v1.DnsSettings.DsState.UNRECOGNIZED : result; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The dsState to set. * @return This builder for chaining. */ @@ -2951,61 +2616,47 @@ public Builder setDsState(com.google.cloud.domains.v1.DnsSettings.DsState value) if (value == null) { throw new NullPointerException(); } - + dsState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDsState() { - + dsState_ = 0; onChanged(); return this; } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = - new java.util.ArrayList(dsRecords_); + dsRecords_ = new java.util.ArrayList(dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.DsRecord, - com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> - dsRecordsBuilder_; + com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getDsRecordsList() { if (dsRecordsBuilder_ == null) { @@ -3015,17 +2666,13 @@ public java.util.List getDsRec } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getDsRecordsCount() { if (dsRecordsBuilder_ == null) { @@ -3035,17 +2682,13 @@ public int getDsRecordsCount() { } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -3055,17 +2698,13 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index) } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDsRecords( int index, com.google.cloud.domains.v1.DnsSettings.DsRecord value) { @@ -3082,17 +2721,13 @@ public Builder setDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDsRecords( int index, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder builderForValue) { @@ -3106,17 +2741,13 @@ public Builder setDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords(com.google.cloud.domains.v1.DnsSettings.DsRecord value) { if (dsRecordsBuilder_ == null) { @@ -3132,17 +2763,13 @@ public Builder addDsRecords(com.google.cloud.domains.v1.DnsSettings.DsRecord val return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords( int index, com.google.cloud.domains.v1.DnsSettings.DsRecord value) { @@ -3159,17 +2786,13 @@ public Builder addDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords( com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder builderForValue) { @@ -3183,17 +2806,13 @@ public Builder addDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords( int index, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder builderForValue) { @@ -3207,23 +2826,20 @@ public Builder addDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllDsRecords( java.lang.Iterable values) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dsRecords_); onChanged(); } else { dsRecordsBuilder_.addAllMessages(values); @@ -3231,17 +2847,13 @@ public Builder addAllDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDsRecords() { if (dsRecordsBuilder_ == null) { @@ -3254,17 +2866,13 @@ public Builder clearDsRecords() { return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -3277,58 +2885,45 @@ public Builder removeDsRecords(int index) { return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder getDsRecordsBuilder( int index) { return getDsRecordsFieldBuilder().getBuilder(index); } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( int index) { if (dsRecordsBuilder_ == null) { - return dsRecords_.get(index); - } else { + return dsRecords_.get(index); } else { return dsRecordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getDsRecordsOrBuilderList() { + public java.util.List + getDsRecordsOrBuilderList() { if (dsRecordsBuilder_ != null) { return dsRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -3336,76 +2931,59 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuilder() { - return getDsRecordsFieldBuilder() - .addBuilder(com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder().addBuilder( + com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance()); } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuilder( int index) { - return getDsRecordsFieldBuilder() - .addBuilder( - index, com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance()); } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getDsRecordsBuilderList() { + public java.util.List + getDsRecordsBuilderList() { return getDsRecordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.DsRecord, - com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> + com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> getDsRecordsFieldBuilder() { if (dsRecordsBuilder_ == null) { - dsRecordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.DsRecord, - com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>( - dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>( + dsRecords_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); dsRecords_ = null; } return dsRecordsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3418,12 +2996,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) private static final com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns(); } @@ -3432,16 +3010,16 @@ public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleDomainsDns parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GoogleDomainsDns(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleDomainsDns parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GoogleDomainsDns(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3456,104 +3034,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DsRecordOrBuilder - extends + public interface DsRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DnsSettings.DsRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; - * * @return The keyTag. */ int getKeyTag(); /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The enum numeric value on the wire for algorithm. */ int getAlgorithmValue(); /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The algorithm. */ com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm getAlgorithm(); /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The enum numeric value on the wire for digestType. */ int getDigestTypeValue(); /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The digestType. */ com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType getDigestType(); /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The digest. */ java.lang.String getDigest(); /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The bytes for digest. */ - com.google.protobuf.ByteString getDigestBytes(); + com.google.protobuf.ByteString + getDigestBytes(); } /** - * - * *
    * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
    * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -3562,16 +3118,15 @@ public interface DsRecordOrBuilder
    *
    * Protobuf type {@code google.cloud.domains.v1.DnsSettings.DsRecord}
    */
-  public static final class DsRecord extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DsRecord extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DnsSettings.DsRecord)
       DsRecordOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DsRecord.newBuilder() to construct.
     private DsRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private DsRecord() {
       algorithm_ = 0;
       digestType_ = 0;
@@ -3580,15 +3135,16 @@ private DsRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DsRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private DsRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3607,39 +3163,36 @@ private DsRecord(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                keyTag_ = input.readInt32();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
-
-                algorithm_ = rawValue;
-                break;
-              }
-            case 24:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                digestType_ = rawValue;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              keyTag_ = input.readInt32();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                digest_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              algorithm_ = rawValue;
+              break;
+            }
+            case 24: {
+              int rawValue = input.readEnum();
+
+              digestType_ = rawValue;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              digest_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3647,31 +3200,27 @@ private DsRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.DnsSettings.DsRecord.class,
-              com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder.class);
+              com.google.cloud.domains.v1.DnsSettings.DsRecord.class, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * List of algorithms used to create a DNSKEY. Certain
      * algorithms are not supported for particular domains.
@@ -3679,10 +3228,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm}
      */
-    public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum {
+    public enum Algorithm
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * The algorithm is unspecified.
        * 
@@ -3691,8 +3239,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ALGORITHM_UNSPECIFIED(0), /** - * - * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3701,8 +3247,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSAMD5(1), /** - * - * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3711,8 +3255,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DH(2), /** - * - * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3721,8 +3263,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DSA(3), /** - * - * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3731,8 +3271,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECC(4), /** - * - * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3741,8 +3279,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA1(5), /** - * - * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3751,8 +3287,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DSANSEC3SHA1(6), /** - * - * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3761,8 +3295,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA1NSEC3SHA1(7), /** - * - * *
        * RSA/SHA-256.
        * 
@@ -3771,8 +3303,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA256(8), /** - * - * *
        * RSA/SHA-512.
        * 
@@ -3781,8 +3311,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA512(10), /** - * - * *
        * GOST R 34.10-2001.
        * 
@@ -3791,8 +3319,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECCGOST(12), /** - * - * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3801,8 +3327,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECDSAP256SHA256(13), /** - * - * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3811,8 +3335,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECDSAP384SHA384(14), /** - * - * *
        * Ed25519.
        * 
@@ -3821,8 +3343,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ED25519(15), /** - * - * *
        * Ed448.
        * 
@@ -3831,8 +3351,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ED448(16), /** - * - * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -3841,8 +3359,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ INDIRECT(252), /** - * - * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -3851,8 +3367,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ PRIVATEDNS(253), /** - * - * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -3864,8 +3378,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The algorithm is unspecified.
        * 
@@ -3874,8 +3386,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALGORITHM_UNSPECIFIED_VALUE = 0; /** - * - * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3884,8 +3394,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSAMD5_VALUE = 1; /** - * - * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3894,8 +3402,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DH_VALUE = 2; /** - * - * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3904,8 +3410,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DSA_VALUE = 3; /** - * - * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3914,8 +3418,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECC_VALUE = 4; /** - * - * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3924,8 +3426,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA1_VALUE = 5; /** - * - * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3934,8 +3434,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DSANSEC3SHA1_VALUE = 6; /** - * - * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3944,8 +3442,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA1NSEC3SHA1_VALUE = 7; /** - * - * *
        * RSA/SHA-256.
        * 
@@ -3954,8 +3450,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA256_VALUE = 8; /** - * - * *
        * RSA/SHA-512.
        * 
@@ -3964,8 +3458,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA512_VALUE = 10; /** - * - * *
        * GOST R 34.10-2001.
        * 
@@ -3974,8 +3466,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECCGOST_VALUE = 12; /** - * - * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3984,8 +3474,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECDSAP256SHA256_VALUE = 13; /** - * - * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3994,8 +3482,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECDSAP384SHA384_VALUE = 14; /** - * - * *
        * Ed25519.
        * 
@@ -4004,8 +3490,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ED25519_VALUE = 15; /** - * - * *
        * Ed448.
        * 
@@ -4014,8 +3498,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ED448_VALUE = 16; /** - * - * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -4024,8 +3506,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INDIRECT_VALUE = 252; /** - * - * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -4034,8 +3514,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIVATEDNS_VALUE = 253; /** - * - * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -4044,6 +3522,7 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIVATEOID_VALUE = 254; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4068,81 +3547,64 @@ public static Algorithm valueOf(int value) { */ public static Algorithm forNumber(int value) { switch (value) { - case 0: - return ALGORITHM_UNSPECIFIED; - case 1: - return RSAMD5; - case 2: - return DH; - case 3: - return DSA; - case 4: - return ECC; - case 5: - return RSASHA1; - case 6: - return DSANSEC3SHA1; - case 7: - return RSASHA1NSEC3SHA1; - case 8: - return RSASHA256; - case 10: - return RSASHA512; - case 12: - return ECCGOST; - case 13: - return ECDSAP256SHA256; - case 14: - return ECDSAP384SHA384; - case 15: - return ED25519; - case 16: - return ED448; - case 252: - return INDIRECT; - case 253: - return PRIVATEDNS; - case 254: - return PRIVATEOID; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return ALGORITHM_UNSPECIFIED; + case 1: return RSAMD5; + case 2: return DH; + case 3: return DSA; + case 4: return ECC; + case 5: return RSASHA1; + case 6: return DSANSEC3SHA1; + case 7: return RSASHA1NSEC3SHA1; + case 8: return RSASHA256; + case 10: return RSASHA512; + case 12: return ECCGOST; + case 13: return ECDSAP256SHA256; + case 14: return ECDSAP384SHA384; + case 15: return ED25519; + case 16: return ED448; + case 252: return INDIRECT; + case 253: return PRIVATEDNS; + case 254: return PRIVATEOID; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Algorithm> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Algorithm findValueByNumber(int number) { + return Algorithm.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Algorithm findValueByNumber(int number) { - return Algorithm.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.domains.v1.DnsSettings.DsRecord.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.domains.v1.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(0); } private static final Algorithm[] VALUES = values(); - public static Algorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Algorithm 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; @@ -4160,8 +3622,6 @@ private Algorithm(int value) { } /** - * - * *
      * List of hash functions that may have been used to generate a digest of a
      * DNSKEY.
@@ -4169,10 +3629,9 @@ private Algorithm(int value) {
      *
      * Protobuf enum {@code google.cloud.domains.v1.DnsSettings.DsRecord.DigestType}
      */
-    public enum DigestType implements com.google.protobuf.ProtocolMessageEnum {
+    public enum DigestType
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * The DigestType is unspecified.
        * 
@@ -4181,8 +3640,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ DIGEST_TYPE_UNSPECIFIED(0), /** - * - * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -4191,8 +3648,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ SHA1(1), /** - * - * *
        * SHA-256.
        * 
@@ -4201,8 +3656,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(2), /** - * - * *
        * GOST R 34.11-94.
        * 
@@ -4211,8 +3664,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ GOST3411(3), /** - * - * *
        * SHA-384.
        * 
@@ -4224,8 +3675,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The DigestType is unspecified.
        * 
@@ -4234,8 +3683,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIGEST_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -4244,8 +3691,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA1_VALUE = 1; /** - * - * *
        * SHA-256.
        * 
@@ -4254,8 +3699,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 2; /** - * - * *
        * GOST R 34.11-94.
        * 
@@ -4264,8 +3707,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOST3411_VALUE = 3; /** - * - * *
        * SHA-384.
        * 
@@ -4274,6 +3715,7 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA384_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4298,55 +3740,51 @@ public static DigestType valueOf(int value) { */ public static DigestType forNumber(int value) { switch (value) { - case 0: - return DIGEST_TYPE_UNSPECIFIED; - case 1: - return SHA1; - case 2: - return SHA256; - case 3: - return GOST3411; - case 4: - return SHA384; - default: - return null; + case 0: return DIGEST_TYPE_UNSPECIFIED; + case 1: return SHA1; + case 2: return SHA256; + case 3: return GOST3411; + case 4: return SHA384; + 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< + DigestType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DigestType findValueByNumber(int number) { + return DigestType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DigestType findValueByNumber(int number) { - return DigestType.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.domains.v1.DnsSettings.DsRecord.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.domains.v1.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(1); } private static final DigestType[] VALUES = values(); - public static DigestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DigestType 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; @@ -4366,14 +3804,11 @@ private DigestType(int value) { public static final int KEY_TAG_FIELD_NUMBER = 1; private int keyTag_; /** - * - * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; - * * @return The keyTag. */ @java.lang.Override @@ -4384,90 +3819,65 @@ public int getKeyTag() { public static final int ALGORITHM_FIELD_NUMBER = 2; private int algorithm_; /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override - public int getAlgorithmValue() { + @java.lang.Override public int getAlgorithmValue() { return algorithm_; } /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The algorithm. */ - @java.lang.Override - public com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm getAlgorithm() { + @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm result = - com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null - ? com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null ? com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; } public static final int DIGEST_TYPE_FIELD_NUMBER = 3; private int digestType_; /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override - public int getDigestTypeValue() { + @java.lang.Override public int getDigestTypeValue() { return digestType_; } /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The digestType. */ - @java.lang.Override - public com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType getDigestType() { + @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType result = - com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null - ? com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null ? com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; } public static final int DIGEST_FIELD_NUMBER = 4; private volatile java.lang.Object digest_; /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The digest. */ @java.lang.Override @@ -4476,29 +3886,29 @@ public java.lang.String getDigest() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; } } /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The bytes for digest. */ @java.lang.Override - public com.google.protobuf.ByteString getDigestBytes() { + public com.google.protobuf.ByteString + getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); digest_ = b; return b; } else { @@ -4507,7 +3917,6 @@ public com.google.protobuf.ByteString getDigestBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4519,18 +3928,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 (keyTag_ != 0) { output.writeInt32(1, keyTag_); } - if (algorithm_ - != com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED - .getNumber()) { + if (algorithm_ != com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { output.writeEnum(2, algorithm_); } - if (digestType_ - != com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED - .getNumber()) { + if (digestType_ != com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { @@ -4546,17 +3952,16 @@ public int getSerializedSize() { size = 0; if (keyTag_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, keyTag_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, keyTag_); } - if (algorithm_ - != com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, algorithm_); + if (algorithm_ != com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, algorithm_); } - if (digestType_ - != com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, digestType_); + if (digestType_ != com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, digest_); @@ -4569,18 +3974,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.domains.v1.DnsSettings.DsRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1.DnsSettings.DsRecord other = - (com.google.cloud.domains.v1.DnsSettings.DsRecord) obj; + com.google.cloud.domains.v1.DnsSettings.DsRecord other = (com.google.cloud.domains.v1.DnsSettings.DsRecord) obj; - if (getKeyTag() != other.getKeyTag()) return false; + if (getKeyTag() + != other.getKeyTag()) return false; if (algorithm_ != other.algorithm_) return false; if (digestType_ != other.digestType_) return false; - if (!getDigest().equals(other.getDigest())) return false; + if (!getDigest() + .equals(other.getDigest())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4606,93 +4012,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.DnsSettings.DsRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4702,8 +4102,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
      * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -4712,24 +4110,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1.DnsSettings.DsRecord}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DnsSettings.DsRecord)
         com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.domains.v1.DomainsProto
-            .internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1.DomainsProto
-            .internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1.DnsSettings.DsRecord.class,
-                com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder.class);
+                com.google.cloud.domains.v1.DnsSettings.DsRecord.class, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1.DnsSettings.DsRecord.newBuilder()
@@ -4737,15 +4132,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4761,9 +4157,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.domains.v1.DomainsProto
-            .internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
@@ -4782,8 +4178,7 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1.DnsSettings.DsRecord buildPartial() {
-        com.google.cloud.domains.v1.DnsSettings.DsRecord result =
-            new com.google.cloud.domains.v1.DnsSettings.DsRecord(this);
+        com.google.cloud.domains.v1.DnsSettings.DsRecord result = new com.google.cloud.domains.v1.DnsSettings.DsRecord(this);
         result.keyTag_ = keyTag_;
         result.algorithm_ = algorithm_;
         result.digestType_ = digestType_;
@@ -4796,41 +4191,38 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.domains.v1.DnsSettings.DsRecord) {
-          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.DsRecord) other);
+          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.DsRecord)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4838,8 +4230,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.DsRecord other) {
-        if (other == com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance()) return this;
         if (other.getKeyTag() != 0) {
           setKeyTag(other.getKeyTag());
         }
@@ -4872,8 +4263,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.domains.v1.DnsSettings.DsRecord) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.domains.v1.DnsSettings.DsRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4883,16 +4273,13 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int keyTag_;
+      private int keyTag_ ;
       /**
-       *
-       *
        * 
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; - * * @return The keyTag. */ @java.lang.Override @@ -4900,36 +4287,30 @@ public int getKeyTag() { return keyTag_; } /** - * - * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; - * * @param value The keyTag to set. * @return This builder for chaining. */ public Builder setKeyTag(int value) { - + keyTag_ = value; onChanged(); return this; } /** - * - * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; - * * @return This builder for chaining. */ public Builder clearKeyTag() { - + keyTag_ = 0; onChanged(); return this; @@ -4937,93 +4318,73 @@ public Builder clearKeyTag() { private int algorithm_ = 0; /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override - public int getAlgorithmValue() { + @java.lang.Override public int getAlgorithmValue() { return algorithm_; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @param value The enum numeric value on the wire for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmValue(int value) { - + algorithm_ = value; onChanged(); return this; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The algorithm. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm result = - com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null - ? com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null ? com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @param value The algorithm to set. * @return This builder for chaining. */ - public Builder setAlgorithm( - com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm value) { + public Builder setAlgorithm(com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm value) { if (value == null) { throw new NullPointerException(); } - + algorithm_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return This builder for chaining. */ public Builder clearAlgorithm() { - + algorithm_ = 0; onChanged(); return this; @@ -5031,93 +4392,73 @@ public Builder clearAlgorithm() { private int digestType_ = 0; /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override - public int getDigestTypeValue() { + @java.lang.Override public int getDigestTypeValue() { return digestType_; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @param value The enum numeric value on the wire for digestType to set. * @return This builder for chaining. */ public Builder setDigestTypeValue(int value) { - + digestType_ = value; onChanged(); return this; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The digestType. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType result = - com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null - ? com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null ? com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @param value The digestType to set. * @return This builder for chaining. */ - public Builder setDigestType( - com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType value) { + public Builder setDigestType(com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType value) { if (value == null) { throw new NullPointerException(); } - + digestType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return This builder for chaining. */ public Builder clearDigestType() { - + digestType_ = 0; onChanged(); return this; @@ -5125,20 +4466,18 @@ public Builder clearDigestType() { private java.lang.Object digest_ = ""; /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @return The digest. */ public java.lang.String getDigest() { java.lang.Object ref = digest_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; @@ -5147,21 +4486,20 @@ public java.lang.String getDigest() { } } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @return The bytes for digest. */ - public com.google.protobuf.ByteString getDigestBytes() { + public com.google.protobuf.ByteString + getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); digest_ = b; return b; } else { @@ -5169,66 +4507,58 @@ public com.google.protobuf.ByteString getDigestBytes() { } } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @param value The digest to set. * @return This builder for chaining. */ - public Builder setDigest(java.lang.String value) { + public Builder setDigest( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + digest_ = value; onChanged(); return this; } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @return This builder for chaining. */ public Builder clearDigest() { - + digest_ = getDefaultInstance().getDigest(); onChanged(); return this; } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @param value The bytes for digest to set. * @return This builder for chaining. */ - public Builder setDigestBytes(com.google.protobuf.ByteString value) { + public Builder setDigestBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + digest_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5241,12 +4571,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DnsSettings.DsRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DnsSettings.DsRecord) private static final com.google.cloud.domains.v1.DnsSettings.DsRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DnsSettings.DsRecord(); } @@ -5255,16 +4585,16 @@ public static com.google.cloud.domains.v1.DnsSettings.DsRecord getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DsRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DsRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DsRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DsRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5279,41 +4609,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.DnsSettings.DsRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GlueRecordOrBuilder - extends + public interface GlueRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DnsSettings.GlueRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostName. */ java.lang.String getHostName(); /** - * - * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostName. */ - com.google.protobuf.ByteString getHostNameBytes(); + com.google.protobuf.ByteString + getHostNameBytes(); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5321,13 +4644,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @return A list containing the ipv4Addresses. */ - java.util.List getIpv4AddressesList(); + java.util.List + getIpv4AddressesList(); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5335,13 +4656,10 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @return The count of ipv4Addresses. */ int getIpv4AddressesCount(); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5349,14 +4667,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ java.lang.String getIpv4Addresses(int index); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5364,15 +4679,13 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - com.google.protobuf.ByteString getIpv4AddressesBytes(int index); + com.google.protobuf.ByteString + getIpv4AddressesBytes(int index); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5380,13 +4693,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @return A list containing the ipv6Addresses. */ - java.util.List getIpv6AddressesList(); + java.util.List + getIpv6AddressesList(); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5394,13 +4705,10 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @return The count of ipv6Addresses. */ int getIpv6AddressesCount(); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5408,14 +4716,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ java.lang.String getIpv6Addresses(int index); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5423,15 +4728,13 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - com.google.protobuf.ByteString getIpv6AddressesBytes(int index); + com.google.protobuf.ByteString + getIpv6AddressesBytes(int index); } /** - * - * *
    * Defines a host on your domain that is a DNS name server for your domain
    * and/or other domains. Glue records are a way of making the IP address of a
@@ -5443,16 +4746,15 @@ public interface GlueRecordOrBuilder
    *
    * Protobuf type {@code google.cloud.domains.v1.DnsSettings.GlueRecord}
    */
-  public static final class GlueRecord extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class GlueRecord extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DnsSettings.GlueRecord)
       GlueRecordOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use GlueRecord.newBuilder() to construct.
     private GlueRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private GlueRecord() {
       hostName_ = "";
       ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -5461,15 +4763,16 @@ private GlueRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new GlueRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private GlueRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5489,40 +4792,37 @@ private GlueRecord(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                hostName_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                ipv4Addresses_.add(s);
-                break;
+              hostName_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                ipv6Addresses_.add(s);
-                break;
+              ipv4Addresses_.add(s);
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              ipv6Addresses_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5530,7 +4830,8 @@ private GlueRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           ipv4Addresses_ = ipv4Addresses_.getUnmodifiableView();
@@ -5542,33 +4843,27 @@ private GlueRecord(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.DnsSettings.GlueRecord.class,
-              com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder.class);
+              com.google.cloud.domains.v1.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder.class);
     }
 
     public static final int HOST_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object hostName_;
     /**
-     *
-     *
      * 
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostName. */ @java.lang.Override @@ -5577,29 +4872,29 @@ public java.lang.String getHostName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; } } /** - * - * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostName. */ @java.lang.Override - public com.google.protobuf.ByteString getHostNameBytes() { + public com.google.protobuf.ByteString + getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostName_ = b; return b; } else { @@ -5610,8 +4905,6 @@ public com.google.protobuf.ByteString getHostNameBytes() { public static final int IPV4_ADDRESSES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList ipv4Addresses_; /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5619,15 +4912,13 @@ public com.google.protobuf.ByteString getHostNameBytes() {
      * 
* * repeated string ipv4_addresses = 2; - * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv4AddressesList() { return ipv4Addresses_; } /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5635,15 +4926,12 @@ public com.google.protobuf.ProtocolStringList getIpv4AddressesList() {
      * 
* * repeated string ipv4_addresses = 2; - * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5651,7 +4939,6 @@ public int getIpv4AddressesCount() {
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -5659,8 +4946,6 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5668,19 +4953,17 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } public static final int IPV6_ADDRESSES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ipv6Addresses_; /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5688,15 +4971,13 @@ public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) {
      * 
* * repeated string ipv6_addresses = 3; - * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv6AddressesList() { return ipv6Addresses_; } /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5704,15 +4985,12 @@ public com.google.protobuf.ProtocolStringList getIpv6AddressesList() {
      * 
* * repeated string ipv6_addresses = 3; - * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5720,7 +4998,6 @@ public int getIpv6AddressesCount() {
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -5728,8 +5005,6 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5737,16 +5012,15 @@ public java.lang.String getIpv6Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5758,7 +5032,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } @@ -5804,17 +5079,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.domains.v1.DnsSettings.GlueRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1.DnsSettings.GlueRecord other = - (com.google.cloud.domains.v1.DnsSettings.GlueRecord) obj; + com.google.cloud.domains.v1.DnsSettings.GlueRecord other = (com.google.cloud.domains.v1.DnsSettings.GlueRecord) obj; - if (!getHostName().equals(other.getHostName())) return false; - if (!getIpv4AddressesList().equals(other.getIpv4AddressesList())) return false; - if (!getIpv6AddressesList().equals(other.getIpv6AddressesList())) return false; + if (!getHostName() + .equals(other.getHostName())) return false; + if (!getIpv4AddressesList() + .equals(other.getIpv4AddressesList())) return false; + if (!getIpv6AddressesList() + .equals(other.getIpv6AddressesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5842,93 +5119,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.DnsSettings.GlueRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5938,8 +5209,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Defines a host on your domain that is a DNS name server for your domain
      * and/or other domains. Glue records are a way of making the IP address of a
@@ -5951,24 +5220,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1.DnsSettings.GlueRecord}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DnsSettings.GlueRecord)
         com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.domains.v1.DomainsProto
-            .internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1.DomainsProto
-            .internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1.DnsSettings.GlueRecord.class,
-                com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder.class);
+                com.google.cloud.domains.v1.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1.DnsSettings.GlueRecord.newBuilder()
@@ -5976,15 +5242,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5998,9 +5265,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.domains.v1.DomainsProto
-            .internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
@@ -6019,8 +5286,7 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1.DnsSettings.GlueRecord buildPartial() {
-        com.google.cloud.domains.v1.DnsSettings.GlueRecord result =
-            new com.google.cloud.domains.v1.DnsSettings.GlueRecord(this);
+        com.google.cloud.domains.v1.DnsSettings.GlueRecord result = new com.google.cloud.domains.v1.DnsSettings.GlueRecord(this);
         int from_bitField0_ = bitField0_;
         result.hostName_ = hostName_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -6041,41 +5307,38 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.domains.v1.DnsSettings.GlueRecord) {
-          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.GlueRecord) other);
+          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.GlueRecord)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6083,8 +5346,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.GlueRecord other) {
-        if (other == com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance()) return this;
         if (!other.getHostName().isEmpty()) {
           hostName_ = other.hostName_;
           onChanged();
@@ -6128,8 +5390,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.domains.v1.DnsSettings.GlueRecord) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.domains.v1.DnsSettings.GlueRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6138,25 +5399,22 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object hostName_ = "";
       /**
-       *
-       *
        * 
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostName. */ public java.lang.String getHostName() { java.lang.Object ref = hostName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; @@ -6165,21 +5423,20 @@ public java.lang.String getHostName() { } } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostName. */ - public com.google.protobuf.ByteString getHostNameBytes() { + public com.google.protobuf.ByteString + getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostName_ = b; return b; } else { @@ -6187,78 +5444,67 @@ public com.google.protobuf.ByteString getHostNameBytes() { } } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The hostName to set. * @return This builder for chaining. */ - public Builder setHostName(java.lang.String value) { + public Builder setHostName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostName_ = value; onChanged(); return this; } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearHostName() { - + hostName_ = getDefaultInstance().getHostName(); onChanged(); return this; } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for hostName to set. * @return This builder for chaining. */ - public Builder setHostNameBytes(com.google.protobuf.ByteString value) { + public Builder setHostNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostName_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv4Addresses_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIpv4AddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv4Addresses_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6266,15 +5512,13 @@ private void ensureIpv4AddressesIsMutable() {
        * 
* * repeated string ipv4_addresses = 2; - * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv4AddressesList() { return ipv4Addresses_.getUnmodifiableView(); } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6282,15 +5526,12 @@ public com.google.protobuf.ProtocolStringList getIpv4AddressesList() {
        * 
* * repeated string ipv4_addresses = 2; - * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6298,16 +5539,13 @@ public int getIpv4AddressesCount() {
        * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } - /** - * - * + /** *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6315,16 +5553,14 @@ public java.lang.String getIpv4Addresses(int index) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6332,23 +5568,21 @@ public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param index The index to set the value at. * @param value The ipv4Addresses to set. * @return This builder for chaining. */ - public Builder setIpv4Addresses(int index, java.lang.String value) { + public Builder setIpv4Addresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6356,22 +5590,20 @@ public Builder setIpv4Addresses(int index, java.lang.String value) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param value The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4Addresses(java.lang.String value) { + public Builder addIpv4Addresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6379,19 +5611,18 @@ public Builder addIpv4Addresses(java.lang.String value) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param values The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv4Addresses(java.lang.Iterable values) { + public Builder addAllIpv4Addresses( + java.lang.Iterable values) { ensureIpv4AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv4Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ipv4Addresses_); onChanged(); return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6399,7 +5630,6 @@ public Builder addAllIpv4Addresses(java.lang.Iterable values)
        * 
* * repeated string ipv4_addresses = 2; - * * @return This builder for chaining. */ public Builder clearIpv4Addresses() { @@ -6409,8 +5639,6 @@ public Builder clearIpv4Addresses() { return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6418,33 +5646,29 @@ public Builder clearIpv4Addresses() {
        * 
* * repeated string ipv4_addresses = 2; - * * @param value The bytes of the ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4AddressesBytes(com.google.protobuf.ByteString value) { + public Builder addIpv4AddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv6Addresses_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList ipv6Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIpv6AddressesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv6Addresses_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6452,15 +5676,13 @@ private void ensureIpv6AddressesIsMutable() {
        * 
* * repeated string ipv6_addresses = 3; - * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv6AddressesList() { return ipv6Addresses_.getUnmodifiableView(); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6468,15 +5690,12 @@ public com.google.protobuf.ProtocolStringList getIpv6AddressesList() {
        * 
* * repeated string ipv6_addresses = 3; - * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6484,7 +5703,6 @@ public int getIpv6AddressesCount() {
        * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -6492,8 +5710,6 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6501,16 +5717,14 @@ public java.lang.String getIpv6Addresses(int index) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6518,23 +5732,21 @@ public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param index The index to set the value at. * @param value The ipv6Addresses to set. * @return This builder for chaining. */ - public Builder setIpv6Addresses(int index, java.lang.String value) { + public Builder setIpv6Addresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6542,22 +5754,20 @@ public Builder setIpv6Addresses(int index, java.lang.String value) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param value The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6Addresses(java.lang.String value) { + public Builder addIpv6Addresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6565,19 +5775,18 @@ public Builder addIpv6Addresses(java.lang.String value) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param values The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv6Addresses(java.lang.Iterable values) { + public Builder addAllIpv6Addresses( + java.lang.Iterable values) { ensureIpv6AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv6Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ipv6Addresses_); onChanged(); return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6585,7 +5794,6 @@ public Builder addAllIpv6Addresses(java.lang.Iterable values)
        * 
* * repeated string ipv6_addresses = 3; - * * @return This builder for chaining. */ public Builder clearIpv6Addresses() { @@ -6595,8 +5803,6 @@ public Builder clearIpv6Addresses() { return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6604,21 +5810,20 @@ public Builder clearIpv6Addresses() {
        * 
* * repeated string ipv6_addresses = 3; - * * @param value The bytes of the ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6AddressesBytes(com.google.protobuf.ByteString value) { + public Builder addIpv6AddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6631,12 +5836,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DnsSettings.GlueRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DnsSettings.GlueRecord) private static final com.google.cloud.domains.v1.DnsSettings.GlueRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DnsSettings.GlueRecord(); } @@ -6645,16 +5850,16 @@ public static com.google.cloud.domains.v1.DnsSettings.GlueRecord getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GlueRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GlueRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GlueRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GlueRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6669,20 +5874,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.DnsSettings.GlueRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int dnsProviderCase_ = 0; private java.lang.Object dnsProvider_; - public enum DnsProviderCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CUSTOM_DNS(1), GOOGLE_DOMAINS_DNS(2), DNSPROVIDER_NOT_SET(0); private final int value; - private DnsProviderCase(int value) { this.value = value; } @@ -6698,36 +5901,30 @@ public static DnsProviderCase valueOf(int value) { public static DnsProviderCase forNumber(int value) { switch (value) { - case 1: - return CUSTOM_DNS; - case 2: - return GOOGLE_DOMAINS_DNS; - case 0: - return DNSPROVIDER_NOT_SET; - default: - return null; + case 1: return CUSTOM_DNS; + case 2: return GOOGLE_DOMAINS_DNS; + case 0: return DNSPROVIDER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DnsProviderCase getDnsProviderCase() { - return DnsProviderCase.forNumber(dnsProviderCase_); + public DnsProviderCase + getDnsProviderCase() { + return DnsProviderCase.forNumber( + dnsProviderCase_); } public static final int CUSTOM_DNS_FIELD_NUMBER = 1; /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; - * * @return Whether the customDns field is set. */ @java.lang.Override @@ -6735,26 +5932,21 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; - * * @return The customDns. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.CustomDns getCustomDns() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance(); } /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -6764,22 +5956,19 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDns getCustomDns() { @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance(); } public static final int GOOGLE_DOMAINS_DNS_FIELD_NUMBER = 2; /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -6787,27 +5976,22 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * * @return The googleDomainsDns. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomainsDns() { if (dnsProviderCase_ == 2) { - return (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_; + return (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_; } return com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance(); } /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
@@ -6816,10 +6000,9 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomains
    * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder
-      getGoogleDomainsDnsOrBuilder() {
+  public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() {
     if (dnsProviderCase_ == 2) {
-      return (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_;
+       return (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_;
     }
     return com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance();
   }
@@ -6827,8 +6010,6 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomains
   public static final int GLUE_RECORDS_FIELD_NUMBER = 4;
   private java.util.List glueRecords_;
   /**
-   *
-   *
    * 
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6840,8 +6021,6 @@ public java.util.List getGlu return glueRecords_; } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6849,13 +6028,11 @@ public java.util.List getGlu * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ @java.lang.Override - public java.util.List + public java.util.List getGlueRecordsOrBuilderList() { return glueRecords_; } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6867,8 +6044,6 @@ public int getGlueRecordsCount() { return glueRecords_.size(); } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6880,8 +6055,6 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord getGlueRecords(int ind return glueRecords_.get(index); } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6895,7 +6068,6 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecord } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6907,13 +6079,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dnsProviderCase_ == 1) { output.writeMessage(1, (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_); + output.writeMessage(2, (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { output.writeMessage(4, glueRecords_.get(i)); @@ -6928,17 +6100,16 @@ public int getSerializedSize() { size = 0; if (dnsProviderCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, glueRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, glueRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6948,21 +6119,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.domains.v1.DnsSettings)) { return super.equals(obj); } com.google.cloud.domains.v1.DnsSettings other = (com.google.cloud.domains.v1.DnsSettings) obj; - if (!getGlueRecordsList().equals(other.getGlueRecordsList())) return false; + if (!getGlueRecordsList() + .equals(other.getGlueRecordsList())) return false; if (!getDnsProviderCase().equals(other.getDnsProviderCase())) return false; switch (dnsProviderCase_) { case 1: - if (!getCustomDns().equals(other.getCustomDns())) return false; + if (!getCustomDns() + .equals(other.getCustomDns())) return false; break; case 2: - if (!getGoogleDomainsDns().equals(other.getGoogleDomainsDns())) return false; + if (!getGoogleDomainsDns() + .equals(other.getGoogleDomainsDns())) return false; break; case 0: default: @@ -6999,104 +6173,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.DnsSettings parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.DnsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.DnsSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings parseFrom(java.io.InputStream input) 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.domains.v1.DnsSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.DnsSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.DnsSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.DnsSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.DnsSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines the DNS configuration of a `Registration`, including name servers,
    * DNSSEC, and glue records.
@@ -7104,23 +6271,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.domains.v1.DnsSettings}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DnsSettings)
       com.google.cloud.domains.v1.DnsSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.DnsSettings.class,
-              com.google.cloud.domains.v1.DnsSettings.Builder.class);
+              com.google.cloud.domains.v1.DnsSettings.class, com.google.cloud.domains.v1.DnsSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1.DnsSettings.newBuilder()
@@ -7128,17 +6293,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getGlueRecordsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7154,9 +6319,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
     }
 
     @java.lang.Override
@@ -7175,8 +6340,7 @@ public com.google.cloud.domains.v1.DnsSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1.DnsSettings buildPartial() {
-      com.google.cloud.domains.v1.DnsSettings result =
-          new com.google.cloud.domains.v1.DnsSettings(this);
+      com.google.cloud.domains.v1.DnsSettings result = new com.google.cloud.domains.v1.DnsSettings(this);
       int from_bitField0_ = bitField0_;
       if (dnsProviderCase_ == 1) {
         if (customDnsBuilder_ == null) {
@@ -7210,39 +6374,38 @@ public com.google.cloud.domains.v1.DnsSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1.DnsSettings) {
-        return mergeFrom((com.google.cloud.domains.v1.DnsSettings) other);
+        return mergeFrom((com.google.cloud.domains.v1.DnsSettings)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7269,30 +6432,26 @@ public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings other) {
             glueRecordsBuilder_ = null;
             glueRecords_ = other.glueRecords_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            glueRecordsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getGlueRecordsFieldBuilder()
-                    : null;
+            glueRecordsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getGlueRecordsFieldBuilder() : null;
           } else {
             glueRecordsBuilder_.addAllMessages(other.glueRecords_);
           }
         }
       }
       switch (other.getDnsProviderCase()) {
-        case CUSTOM_DNS:
-          {
-            mergeCustomDns(other.getCustomDns());
-            break;
-          }
-        case GOOGLE_DOMAINS_DNS:
-          {
-            mergeGoogleDomainsDns(other.getGoogleDomainsDns());
-            break;
-          }
-        case DNSPROVIDER_NOT_SET:
-          {
-            break;
-          }
+        case CUSTOM_DNS: {
+          mergeCustomDns(other.getCustomDns());
+          break;
+        }
+        case GOOGLE_DOMAINS_DNS: {
+          mergeGoogleDomainsDns(other.getGoogleDomainsDns());
+          break;
+        }
+        case DNSPROVIDER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -7322,12 +6481,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int dnsProviderCase_ = 0;
     private java.lang.Object dnsProvider_;
-
-    public DnsProviderCase getDnsProviderCase() {
-      return DnsProviderCase.forNumber(dnsProviderCase_);
+    public DnsProviderCase
+        getDnsProviderCase() {
+      return DnsProviderCase.forNumber(
+          dnsProviderCase_);
     }
 
     public Builder clearDnsProvider() {
@@ -7340,19 +6499,13 @@ public Builder clearDnsProvider() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.DnsSettings.CustomDns,
-            com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder,
-            com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder>
-        customDnsBuilder_;
+        com.google.cloud.domains.v1.DnsSettings.CustomDns, com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder> customDnsBuilder_;
     /**
-     *
-     *
      * 
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; - * * @return Whether the customDns field is set. */ @java.lang.Override @@ -7360,14 +6513,11 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; - * * @return The customDns. */ @java.lang.Override @@ -7385,8 +6535,6 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDns getCustomDns() { } } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7407,8 +6555,6 @@ public Builder setCustomDns(com.google.cloud.domains.v1.DnsSettings.CustomDns va return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7427,8 +6573,6 @@ public Builder setCustomDns( return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7437,14 +6581,10 @@ public Builder setCustomDns( */ public Builder mergeCustomDns(com.google.cloud.domains.v1.DnsSettings.CustomDns value) { if (customDnsBuilder_ == null) { - if (dnsProviderCase_ == 1 - && dnsProvider_ - != com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance()) { - dnsProvider_ = - com.google.cloud.domains.v1.DnsSettings.CustomDns.newBuilder( - (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_) - .mergeFrom(value) - .buildPartial(); + if (dnsProviderCase_ == 1 && + dnsProvider_ != com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance()) { + dnsProvider_ = com.google.cloud.domains.v1.DnsSettings.CustomDns.newBuilder((com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_) + .mergeFrom(value).buildPartial(); } else { dnsProvider_ = value; } @@ -7460,8 +6600,6 @@ public Builder mergeCustomDns(com.google.cloud.domains.v1.DnsSettings.CustomDns return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7485,8 +6623,6 @@ public Builder clearCustomDns() { return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7497,8 +6633,6 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder getCustomDnsBui return getCustomDnsFieldBuilder().getBuilder(); } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7517,8 +6651,6 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder getCustomDnsOr } } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7526,45 +6658,33 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder getCustomDnsOr * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.CustomDns, - com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder, - com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder> + com.google.cloud.domains.v1.DnsSettings.CustomDns, com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder> getCustomDnsFieldBuilder() { if (customDnsBuilder_ == null) { if (!(dnsProviderCase_ == 1)) { dnsProvider_ = com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance(); } - customDnsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.CustomDns, - com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder, - com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder>( + customDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.DnsSettings.CustomDns, com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder>( (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_, getParentForChildren(), isClean()); dnsProvider_ = null; } dnsProviderCase_ = 1; - onChanged(); - ; + onChanged();; return customDnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns, - com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder, - com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder> - googleDomainsDnsBuilder_; + com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder> googleDomainsDnsBuilder_; /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -7572,15 +6692,12 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * * @return The googleDomainsDns. */ @java.lang.Override @@ -7598,8 +6715,6 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomains } } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -7607,8 +6722,7 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomains
      *
      * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      */
-    public Builder setGoogleDomainsDns(
-        com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns value) {
+    public Builder setGoogleDomainsDns(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns value) {
       if (googleDomainsDnsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7622,8 +6736,6 @@ public Builder setGoogleDomainsDns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -7643,8 +6755,6 @@ public Builder setGoogleDomainsDns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -7652,17 +6762,12 @@ public Builder setGoogleDomainsDns(
      *
      * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      */
-    public Builder mergeGoogleDomainsDns(
-        com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns value) {
+    public Builder mergeGoogleDomainsDns(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns value) {
       if (googleDomainsDnsBuilder_ == null) {
-        if (dnsProviderCase_ == 2
-            && dnsProvider_
-                != com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance()) {
-          dnsProvider_ =
-              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.newBuilder(
-                      (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (dnsProviderCase_ == 2 &&
+            dnsProvider_ != com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance()) {
+          dnsProvider_ = com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.newBuilder((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_)
+              .mergeFrom(value).buildPartial();
         } else {
           dnsProvider_ = value;
         }
@@ -7678,8 +6783,6 @@ public Builder mergeGoogleDomainsDns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -7704,8 +6807,6 @@ public Builder clearGoogleDomainsDns() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -7713,13 +6814,10 @@ public Builder clearGoogleDomainsDns() {
      *
      * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      */
-    public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder
-        getGoogleDomainsDnsBuilder() {
+    public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder getGoogleDomainsDnsBuilder() {
       return getGoogleDomainsDnsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -7728,8 +6826,7 @@ public Builder clearGoogleDomainsDns() {
      * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      */
     @java.lang.Override
-    public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder
-        getGoogleDomainsDnsOrBuilder() {
+    public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() {
       if ((dnsProviderCase_ == 2) && (googleDomainsDnsBuilder_ != null)) {
         return googleDomainsDnsBuilder_.getMessageOrBuilder();
       } else {
@@ -7740,8 +6837,6 @@ public Builder clearGoogleDomainsDns() {
       }
     }
     /**
-     *
-     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -7750,52 +6845,37 @@ public Builder clearGoogleDomainsDns() {
      * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns,
-            com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder,
-            com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder>
+        com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder> 
         getGoogleDomainsDnsFieldBuilder() {
       if (googleDomainsDnsBuilder_ == null) {
         if (!(dnsProviderCase_ == 2)) {
-          dnsProvider_ =
-              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance();
-        }
-        googleDomainsDnsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns,
-                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder,
-                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder>(
+          dnsProvider_ = com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance();
+        }
+        googleDomainsDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder>(
                 (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_,
                 getParentForChildren(),
                 isClean());
         dnsProvider_ = null;
       }
       dnsProviderCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return googleDomainsDnsBuilder_;
     }
 
     private java.util.List glueRecords_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureGlueRecordsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        glueRecords_ =
-            new java.util.ArrayList(
-                glueRecords_);
+        glueRecords_ = new java.util.ArrayList(glueRecords_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.domains.v1.DnsSettings.GlueRecord,
-            com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder,
-            com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder>
-        glueRecordsBuilder_;
+        com.google.cloud.domains.v1.DnsSettings.GlueRecord, com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder> glueRecordsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7810,8 +6890,6 @@ public java.util.List getGlu } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7826,8 +6904,6 @@ public int getGlueRecordsCount() { } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7842,8 +6918,6 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord getGlueRecords(int ind } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7865,8 +6939,6 @@ public Builder setGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7885,8 +6957,6 @@ public Builder setGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7907,8 +6977,6 @@ public Builder addGlueRecords(com.google.cloud.domains.v1.DnsSettings.GlueRecord return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7930,8 +6998,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7950,8 +7016,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7970,8 +7034,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7982,7 +7044,8 @@ public Builder addAllGlueRecords( java.lang.Iterable values) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, glueRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, glueRecords_); onChanged(); } else { glueRecordsBuilder_.addAllMessages(values); @@ -7990,8 +7053,6 @@ public Builder addAllGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8009,8 +7070,6 @@ public Builder clearGlueRecords() { return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8028,8 +7087,6 @@ public Builder removeGlueRecords(int index) { return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8041,8 +7098,6 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder getGlueRecords return getGlueRecordsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8052,22 +7107,19 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder getGlueRecords public com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder( int index) { if (glueRecordsBuilder_ == null) { - return glueRecords_.get(index); - } else { + return glueRecords_.get(index); } else { return glueRecordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsOrBuilderList() { + public java.util.List + getGlueRecordsOrBuilderList() { if (glueRecordsBuilder_ != null) { return glueRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -8075,8 +7127,6 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecord } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8084,12 +7134,10 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecord * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ public com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder() { - return getGlueRecordsFieldBuilder() - .addBuilder(com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance()); + return getGlueRecordsFieldBuilder().addBuilder( + com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance()); } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8098,43 +7146,37 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder addGlueRecords */ public com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder( int index) { - return getGlueRecordsFieldBuilder() - .addBuilder( - index, com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance()); + return getGlueRecordsFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance()); } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsBuilderList() { + public java.util.List + getGlueRecordsBuilderList() { return getGlueRecordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.GlueRecord, - com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder, - com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder> + com.google.cloud.domains.v1.DnsSettings.GlueRecord, com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder> getGlueRecordsFieldBuilder() { if (glueRecordsBuilder_ == null) { - glueRecordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.GlueRecord, - com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder, - com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder>( - glueRecords_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + glueRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1.DnsSettings.GlueRecord, com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder>( + glueRecords_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); glueRecords_ = null; } return glueRecordsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8144,12 +7186,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DnsSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DnsSettings) private static final com.google.cloud.domains.v1.DnsSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DnsSettings(); } @@ -8158,16 +7200,16 @@ public static com.google.cloud.domains.v1.DnsSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DnsSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DnsSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8182,4 +7224,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.DnsSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java similarity index 80% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java index 8bc33daf..d647582e 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface DnsSettingsOrBuilder - extends +public interface DnsSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DnsSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; - * * @return Whether the customDns field is set. */ boolean hasCustomDns(); /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; - * * @return The customDns. */ com.google.cloud.domains.v1.DnsSettings.CustomDns getCustomDns(); /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -59,34 +35,26 @@ public interface DnsSettingsOrBuilder com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder(); /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * * @return Whether the googleDomainsDns field is set. */ boolean hasGoogleDomainsDns(); /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * * @return The googleDomainsDns. */ com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomainsDns(); /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
@@ -97,18 +65,15 @@ public interface DnsSettingsOrBuilder
   com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List getGlueRecordsList(); + java.util.List + getGlueRecordsList(); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -117,8 +82,6 @@ public interface DnsSettingsOrBuilder */ com.google.cloud.domains.v1.DnsSettings.GlueRecord getGlueRecords(int index); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -127,26 +90,23 @@ public interface DnsSettingsOrBuilder */ int getGlueRecordsCount(); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List + java.util.List getGlueRecordsOrBuilderList(); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ - com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder(int index); + com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder( + int index); public com.google.cloud.domains.v1.DnsSettings.DnsProviderCase getDnsProviderCase(); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java similarity index 69% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java index a1572c2f..99617a47 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Notices about special properties of certain domains.
  * 
* * Protobuf enum {@code google.cloud.domains.v1.DomainNotice} */ -public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { +public enum DomainNotice + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The notice is undefined.
    * 
@@ -39,8 +21,6 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { */ DOMAIN_NOTICE_UNSPECIFIED(0), /** - * - * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -56,8 +36,6 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * The notice is undefined.
    * 
@@ -66,8 +44,6 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOMAIN_NOTICE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -80,6 +56,7 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int HSTS_PRELOADED_VALUE = 1;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -104,47 +81,48 @@ public static DomainNotice valueOf(int value) {
    */
   public static DomainNotice forNumber(int value) {
     switch (value) {
-      case 0:
-        return DOMAIN_NOTICE_UNSPECIFIED;
-      case 1:
-        return HSTS_PRELOADED;
-      default:
-        return null;
+      case 0: return DOMAIN_NOTICE_UNSPECIFIED;
+      case 1: return HSTS_PRELOADED;
+      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 DomainNotice findValueByNumber(int number) {
-          return DomainNotice.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      DomainNotice> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DomainNotice findValueByNumber(int number) {
+            return DomainNotice.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.domains.v1.DomainsProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final DomainNotice[] VALUES = values();
 
-  public static DomainNotice valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DomainNotice 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;
@@ -160,3 +138,4 @@ private DomainNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1.DomainNotice)
 }
+
diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java
new file mode 100644
index 00000000..b530855e
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java
@@ -0,0 +1,720 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/domains/v1/domains.proto
+
+package com.google.cloud.domains.v1;
+
+public final class DomainsProto {
+  private DomainsProto() {}
+  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_domains_v1_Registration_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_Registration_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_ManagementSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_RegisterParameters_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_TransferParameters_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1_OperationMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_OperationMetadata_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/domains/v1/domains.proto\022" +
+      "\027google.cloud.domains.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/longrunning/" +
+      "operations.proto\032 google/protobuf/field_" +
+      "mask.proto\032\037google/protobuf/timestamp.pr" +
+      "oto\032\027google/type/money.proto\032 google/typ" +
+      "e/postal_address.proto\"\353\010\n\014Registration\022" +
+      "\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain_name\030\002 \001(\tB" +
+      "\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\0132\032.google.pr" +
+      "otobuf.TimestampB\003\340A\003\0224\n\013expire_time\030\006 \001" +
+      "(\0132\032.google.protobuf.TimestampB\003\340A\003\022?\n\005s" +
+      "tate\030\007 \001(\0162+.google.cloud.domains.v1.Reg" +
+      "istration.StateB\003\340A\003\022@\n\006issues\030\010 \003(\0162+.g" +
+      "oogle.cloud.domains.v1.Registration.Issu" +
+      "eB\003\340A\003\022A\n\006labels\030\t \003(\01321.google.cloud.do" +
+      "mains.v1.Registration.LabelsEntry\022H\n\023man" +
+      "agement_settings\030\n \001(\0132+.google.cloud.do" +
+      "mains.v1.ManagementSettings\022:\n\014dns_setti" +
+      "ngs\030\013 \001(\0132$.google.cloud.domains.v1.DnsS" +
+      "ettings\022G\n\020contact_settings\030\014 \001(\0132(.goog" +
+      "le.cloud.domains.v1.ContactSettingsB\003\340A\002" +
+      "\022O\n\030pending_contact_settings\030\r \001(\0132(.goo" +
+      "gle.cloud.domains.v1.ContactSettingsB\003\340A" +
+      "\003\022G\n\021supported_privacy\030\016 \003(\0162\'.google.cl" +
+      "oud.domains.v1.ContactPrivacyB\003\340A\003\032-\n\013La" +
+      "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" +
+      "\001\"\245\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\030\n\024RE" +
+      "GISTRATION_PENDING\020\001\022\027\n\023REGISTRATION_FAI" +
+      "LED\020\002\022\024\n\020TRANSFER_PENDING\020\003\022\023\n\017TRANSFER_" +
+      "FAILED\020\004\022\n\n\006ACTIVE\020\006\022\r\n\tSUSPENDED\020\007\022\014\n\010E" +
+      "XPORTED\020\010\"I\n\005Issue\022\025\n\021ISSUE_UNSPECIFIED\020" +
+      "\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVERIFIED_EMA" +
+      "IL\020\002:n\352Ak\n#domains.googleapis.com/Regist" +
+      "ration\022Dprojects/{project}/locations/{lo" +
+      "cation}/registrations/{registration}\"\221\002\n" +
+      "\022ManagementSettings\022V\n\016renewal_method\030\003 " +
+      "\001(\01629.google.cloud.domains.v1.Management" +
+      "Settings.RenewalMethodB\003\340A\003\022G\n\023transfer_" +
+      "lock_state\030\004 \001(\0162*.google.cloud.domains." +
+      "v1.TransferLockState\"Z\n\rRenewalMethod\022\036\n" +
+      "\032RENEWAL_METHOD_UNSPECIFIED\020\000\022\025\n\021AUTOMAT" +
+      "IC_RENEWAL\020\001\022\022\n\016MANUAL_RENEWAL\020\002\"\236\n\n\013Dns" +
+      "Settings\022D\n\ncustom_dns\030\001 \001(\0132..google.cl" +
+      "oud.domains.v1.DnsSettings.CustomDnsH\000\022S" +
+      "\n\022google_domains_dns\030\002 \001(\01325.google.clou" +
+      "d.domains.v1.DnsSettings.GoogleDomainsDn" +
+      "sH\000\022E\n\014glue_records\030\004 \003(\0132/.google.cloud" +
+      ".domains.v1.DnsSettings.GlueRecord\032i\n\tCu" +
+      "stomDns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\002\022A\n\nds" +
+      "_records\030\002 \003(\0132-.google.cloud.domains.v1" +
+      ".DnsSettings.DsRecord\032\272\001\n\020GoogleDomainsD" +
+      "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\003\022C\n\010ds_stat" +
+      "e\030\002 \001(\0162,.google.cloud.domains.v1.DnsSet" +
+      "tings.DsStateB\003\340A\002\022F\n\nds_records\030\003 \003(\0132-" +
+      ".google.cloud.domains.v1.DnsSettings.DsR" +
+      "ecordB\003\340A\003\032\303\004\n\010DsRecord\022\017\n\007key_tag\030\001 \001(\005" +
+      "\022J\n\talgorithm\030\002 \001(\01627.google.cloud.domai" +
+      "ns.v1.DnsSettings.DsRecord.Algorithm\022M\n\013" +
+      "digest_type\030\003 \001(\01628.google.cloud.domains" +
+      ".v1.DnsSettings.DsRecord.DigestType\022\016\n\006d" +
+      "igest\030\004 \001(\t\"\237\002\n\tAlgorithm\022\031\n\025ALGORITHM_U" +
+      "NSPECIFIED\020\000\022\n\n\006RSAMD5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020" +
+      "\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA1\020\005\022\020\n\014DSANSEC3SHA1\020" +
+      "\006\022\024\n\020RSASHA1NSEC3SHA1\020\007\022\r\n\tRSASHA256\020\010\022\r" +
+      "\n\tRSASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256S" +
+      "HA256\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020" +
+      "\017\022\t\n\005ED448\020\020\022\r\n\010INDIRECT\020\374\001\022\017\n\nPRIVATEDN" +
+      "S\020\375\001\022\017\n\nPRIVATEOID\020\376\001\"Y\n\nDigestType\022\033\n\027D" +
+      "IGEST_TYPE_UNSPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SH" +
+      "A256\020\002\022\014\n\010GOST3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlue" +
+      "Record\022\026\n\thost_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_a" +
+      "ddresses\030\002 \003(\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y" +
+      "\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED\020\000\022\032\n\026D" +
+      "S_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_RECORDS_PU" +
+      "BLISHED\020\002B\016\n\014dns_provider\"\313\003\n\017ContactSet" +
+      "tings\022=\n\007privacy\030\001 \001(\0162\'.google.cloud.do" +
+      "mains.v1.ContactPrivacyB\003\340A\002\022Q\n\022registra" +
+      "nt_contact\030\002 \001(\01320.google.cloud.domains." +
+      "v1.ContactSettings.ContactB\003\340A\002\022L\n\radmin" +
+      "_contact\030\003 \001(\01320.google.cloud.domains.v1" +
+      ".ContactSettings.ContactB\003\340A\002\022P\n\021technic" +
+      "al_contact\030\004 \001(\01320.google.cloud.domains." +
+      "v1.ContactSettings.ContactB\003\340A\002\032\205\001\n\007Cont" +
+      "act\0227\n\016postal_address\030\001 \001(\0132\032.google.typ" +
+      "e.PostalAddressB\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002" +
+      "\022\031\n\014phone_number\030\003 \001(\tB\003\340A\002\022\022\n\nfax_numbe" +
+      "r\030\004 \001(\t\"g\n\024SearchDomainsRequest\022\022\n\005query" +
+      "\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!l" +
+      "ocations.googleapis.com/Location\"a\n\025Sear" +
+      "chDomainsResponse\022H\n\023register_parameters" +
+      "\030\001 \003(\0132+.google.cloud.domains.v1.Registe" +
+      "rParameters\"z\n!RetrieveRegisterParameter" +
+      "sRequest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010lo" +
+      "cation\030\002 \001(\tB)\340A\002\372A#\n!locations.googleap" +
+      "is.com/Location\"n\n\"RetrieveRegisterParam" +
+      "etersResponse\022H\n\023register_parameters\030\001 \001" +
+      "(\0132+.google.cloud.domains.v1.RegisterPar" +
+      "ameters\"\332\002\n\025RegisterDomainRequest\0229\n\006par" +
+      "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." +
+      "com/Location\022@\n\014registration\030\002 \001(\0132%.goo" +
+      "gle.cloud.domains.v1.RegistrationB\003\340A\002\022=" +
+      "\n\016domain_notices\030\003 \003(\0162%.google.cloud.do" +
+      "mains.v1.DomainNotice\022?\n\017contact_notices" +
+      "\030\004 \003(\0162&.google.cloud.domains.v1.Contact" +
+      "Notice\022-\n\014yearly_price\030\005 \001(\0132\022.google.ty" +
+      "pe.MoneyB\003\340A\002\022\025\n\rvalidate_only\030\006 \001(\010\"z\n!" +
+      "RetrieveTransferParametersRequest\022\030\n\013dom" +
+      "ain_name\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340" +
+      "A\002\372A#\n!locations.googleapis.com/Location" +
+      "\"n\n\"RetrieveTransferParametersResponse\022H" +
+      "\n\023transfer_parameters\030\001 \001(\0132+.google.clo" +
+      "ud.domains.v1.TransferParameters\"\343\002\n\025Tra" +
+      "nsferDomainRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372" +
+      "A#\n!locations.googleapis.com/Location\022@\n" +
+      "\014registration\030\002 \001(\0132%.google.cloud.domai" +
+      "ns.v1.RegistrationB\003\340A\002\022?\n\017contact_notic" +
+      "es\030\003 \003(\0162&.google.cloud.domains.v1.Conta" +
+      "ctNotice\022-\n\014yearly_price\030\004 \001(\0132\022.google." +
+      "type.MoneyB\003\340A\002\022F\n\022authorization_code\030\005 " +
+      "\001(\0132*.google.cloud.domains.v1.Authorizat" +
+      "ionCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030ListR" +
+      "egistrationsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" +
+      "\372A#\n!locations.googleapis.com/Location\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\"r\n\031ListRegistrationsRespon" +
+      "se\022<\n\rregistrations\030\001 \003(\0132%.google.cloud" +
+      ".domains.v1.Registration\022\027\n\017next_page_to" +
+      "ken\030\002 \001(\t\"S\n\026GetRegistrationRequest\0229\n\004n" +
+      "ame\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.co" +
+      "m/Registration\"\216\001\n\031UpdateRegistrationReq" +
+      "uest\022;\n\014registration\030\001 \001(\0132%.google.clou" +
+      "d.domains.v1.Registration\0224\n\013update_mask" +
+      "\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"" +
+      "\347\001\n\"ConfigureManagementSettingsRequest\022A" +
+      "\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.go" +
+      "ogleapis.com/Registration\022H\n\023management_" +
+      "settings\030\002 \001(\0132+.google.cloud.domains.v1" +
+      ".ManagementSettings\0224\n\013update_mask\030\003 \001(\013" +
+      "2\032.google.protobuf.FieldMaskB\003\340A\002\"\351\001\n\033Co" +
+      "nfigureDnsSettingsRequest\022A\n\014registratio" +
+      "n\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com/" +
+      "Registration\022:\n\014dns_settings\030\002 \001(\0132$.goo" +
+      "gle.cloud.domains.v1.DnsSettings\0224\n\013upda" +
+      "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas" +
+      "kB\003\340A\002\022\025\n\rvalidate_only\030\004 \001(\010\"\266\002\n\037Config" +
+      "ureContactSettingsRequest\022A\n\014registratio" +
+      "n\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com/" +
+      "Registration\022B\n\020contact_settings\030\002 \001(\0132(" +
+      ".google.cloud.domains.v1.ContactSettings" +
+      "\0224\n\013update_mask\030\003 \001(\0132\032.google.protobuf." +
+      "FieldMaskB\003\340A\002\022?\n\017contact_notices\030\004 \003(\0162" +
+      "&.google.cloud.domains.v1.ContactNotice\022" +
+      "\025\n\rvalidate_only\030\005 \001(\010\"V\n\031ExportRegistra" +
+      "tionRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domai" +
+      "ns.googleapis.com/Registration\"V\n\031Delete" +
+      "RegistrationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A" +
+      "%\n#domains.googleapis.com/Registration\"e" +
+      "\n RetrieveAuthorizationCodeRequest\022A\n\014re" +
+      "gistration\030\001 \001(\tB+\340A\002\372A%\n#domains.google" +
+      "apis.com/Registration\"b\n\035ResetAuthorizat" +
+      "ionCodeRequest\022A\n\014registration\030\001 \001(\tB+\340A" +
+      "\002\372A%\n#domains.googleapis.com/Registratio" +
+      "n\"\222\003\n\022RegisterParameters\022\023\n\013domain_name\030" +
+      "\001 \001(\t\022N\n\014availability\030\002 \001(\01628.google.clo" +
+      "ud.domains.v1.RegisterParameters.Availab" +
+      "ility\022B\n\021supported_privacy\030\003 \003(\0162\'.googl" +
+      "e.cloud.domains.v1.ContactPrivacy\022=\n\016dom" +
+      "ain_notices\030\004 \003(\0162%.google.cloud.domains" +
+      ".v1.DomainNotice\022(\n\014yearly_price\030\005 \001(\0132\022" +
+      ".google.type.Money\"j\n\014Availability\022\034\n\030AV" +
+      "AILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE\020\001\022" +
+      "\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007UNK" +
+      "NOWN\020\004\"\221\002\n\022TransferParameters\022\023\n\013domain_" +
+      "name\030\001 \001(\t\022\031\n\021current_registrar\030\002 \001(\t\022\024\n" +
+      "\014name_servers\030\003 \003(\t\022G\n\023transfer_lock_sta" +
+      "te\030\004 \001(\0162*.google.cloud.domains.v1.Trans" +
+      "ferLockState\022B\n\021supported_privacy\030\005 \003(\0162" +
+      "\'.google.cloud.domains.v1.ContactPrivacy" +
+      "\022(\n\014yearly_price\030\006 \001(\0132\022.google.type.Mon" +
+      "ey\"!\n\021AuthorizationCode\022\014\n\004code\030\001 \001(\t\"\274\001" +
+      "\n\021OperationMetadata\022/\n\013create_time\030\001 \001(\013" +
+      "2\032.google.protobuf.Timestamp\022,\n\010end_time" +
+      "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006ta" +
+      "rget\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detai" +
+      "l\030\005 \001(\t\022\023\n\013api_version\030\006 \001(\t*\177\n\016ContactP" +
+      "rivacy\022\037\n\033CONTACT_PRIVACY_UNSPECIFIED\020\000\022" +
+      "\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVATE_CONT" +
+      "ACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DATA\020\003*A\n" +
+      "\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UNSPECIFI" +
+      "ED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rContactNotic" +
+      "e\022\036\n\032CONTACT_NOTICE_UNSPECIFIED\020\000\022\'\n#PUB" +
+      "LIC_CONTACT_DATA_ACKNOWLEDGEMENT\020\001*R\n\021Tr" +
+      "ansferLockState\022#\n\037TRANSFER_LOCK_STATE_U" +
+      "NSPECIFIED\020\000\022\014\n\010UNLOCKED\020\001\022\n\n\006LOCKED\020\0022\221" +
+      "\035\n\007Domains\022\312\001\n\rSearchDomains\022-.google.cl" +
+      "oud.domains.v1.SearchDomainsRequest\032..go" +
+      "ogle.cloud.domains.v1.SearchDomainsRespo" +
+      "nse\"Z\202\323\344\223\002C\022A/v1/{location=projects/*/lo" +
+      "cations/*}/registrations:searchDomains\332A" +
+      "\016location,query\022\204\002\n\032RetrieveRegisterPara" +
+      "meters\022:.google.cloud.domains.v1.Retriev" +
+      "eRegisterParametersRequest\032;.google.clou" +
+      "d.domains.v1.RetrieveRegisterParametersR" +
+      "esponse\"m\202\323\344\223\002P\022N/v1/{location=projects/" +
+      "*/locations/*}/registrations:retrieveReg" +
+      "isterParameters\332A\024location,domain_name\022\356" +
+      "\001\n\016RegisterDomain\022..google.cloud.domains" +
+      ".v1.RegisterDomainRequest\032\035.google.longr" +
+      "unning.Operation\"\214\001\202\323\344\223\002?\":/v1/{parent=p" +
+      "rojects/*/locations/*}/registrations:reg" +
+      "ister:\001*\332A parent,registration,yearly_pr" +
+      "ice\312A!\n\014Registration\022\021OperationMetadata\022" +
+      "\204\002\n\032RetrieveTransferParameters\022:.google." +
+      "cloud.domains.v1.RetrieveTransferParamet" +
+      "ersRequest\032;.google.cloud.domains.v1.Ret" +
+      "rieveTransferParametersResponse\"m\202\323\344\223\002P\022" +
+      "N/v1/{location=projects/*/locations/*}/r" +
+      "egistrations:retrieveTransferParameters\332" +
+      "A\024location,domain_name\022\201\002\n\016TransferDomai" +
+      "n\022..google.cloud.domains.v1.TransferDoma" +
+      "inRequest\032\035.google.longrunning.Operation" +
+      "\"\237\001\202\323\344\223\002?\":/v1/{parent=projects/*/locati" +
+      "ons/*}/registrations:transfer:\001*\332A3paren" +
+      "t,registration,yearly_price,authorizatio" +
+      "n_code\312A!\n\014Registration\022\021OperationMetada" +
+      "ta\022\276\001\n\021ListRegistrations\0221.google.cloud." +
+      "domains.v1.ListRegistrationsRequest\0322.go" +
+      "ogle.cloud.domains.v1.ListRegistrationsR" +
+      "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" +
+      "locations/*}/registrations\332A\006parent\022\253\001\n\017" +
+      "GetRegistration\022/.google.cloud.domains.v" +
+      "1.GetRegistrationRequest\032%.google.cloud." +
+      "domains.v1.Registration\"@\202\323\344\223\0023\0221/v1/{na" +
+      "me=projects/*/locations/*/registrations/" +
+      "*}\332A\004name\022\375\001\n\022UpdateRegistration\0222.googl" +
+      "e.cloud.domains.v1.UpdateRegistrationReq" +
+      "uest\032\035.google.longrunning.Operation\"\223\001\202\323" +
+      "\344\223\002N2>/v1/{registration.name=projects/*/" +
+      "locations/*/registrations/*}:\014registrati" +
+      "on\332A\030registration,update_mask\312A!\n\014Regist" +
+      "ration\022\021OperationMetadata\022\257\002\n\033ConfigureM" +
+      "anagementSettings\022;.google.cloud.domains" +
+      ".v1.ConfigureManagementSettingsRequest\032\035" +
+      ".google.longrunning.Operation\"\263\001\202\323\344\223\002Z\"U" +
+      "/v1/{registration=projects/*/locations/*" +
+      "/registrations/*}:configureManagementSet" +
+      "tings:\001*\332A,registration,management_setti" +
+      "ngs,update_mask\312A!\n\014Registration\022\021Operat" +
+      "ionMetadata\022\223\002\n\024ConfigureDnsSettings\0224.g" +
+      "oogle.cloud.domains.v1.ConfigureDnsSetti" +
+      "ngsRequest\032\035.google.longrunning.Operatio" +
+      "n\"\245\001\202\323\344\223\002S\"N/v1/{registration=projects/*" +
+      "/locations/*/registrations/*}:configureD" +
+      "nsSettings:\001*\332A%registration,dns_setting" +
+      "s,update_mask\312A!\n\014Registration\022\021Operatio" +
+      "nMetadata\022\243\002\n\030ConfigureContactSettings\0228" +
+      ".google.cloud.domains.v1.ConfigureContac" +
+      "tSettingsRequest\032\035.google.longrunning.Op" +
+      "eration\"\255\001\202\323\344\223\002W\"R/v1/{registration=proj" +
+      "ects/*/locations/*/registrations/*}:conf" +
+      "igureContactSettings:\001*\332A)registration,c" +
+      "ontact_settings,update_mask\312A!\n\014Registra" +
+      "tion\022\021OperationMetadata\022\327\001\n\022ExportRegist" +
+      "ration\0222.google.cloud.domains.v1.ExportR" +
+      "egistrationRequest\032\035.google.longrunning." +
+      "Operation\"n\202\323\344\223\002=\"8/v1/{name=projects/*/" +
+      "locations/*/registrations/*}:export:\001*\332A" +
+      "\004name\312A!\n\014Registration\022\021OperationMetadat" +
+      "a\022\326\001\n\022DeleteRegistration\0222.google.cloud." +
+      "domains.v1.DeleteRegistrationRequest\032\035.g" +
+      "oogle.longrunning.Operation\"m\202\323\344\223\0023*1/v1" +
+      "/{name=projects/*/locations/*/registrati" +
+      "ons/*}\332A\004name\312A*\n\025google.protobuf.Empty\022" +
+      "\021OperationMetadata\022\356\001\n\031RetrieveAuthoriza" +
+      "tionCode\0229.google.cloud.domains.v1.Retri" +
+      "eveAuthorizationCodeRequest\032*.google.clo" +
+      "ud.domains.v1.AuthorizationCode\"j\202\323\344\223\002U\022" +
+      "S/v1/{registration=projects/*/locations/" +
+      "*/registrations/*}:retrieveAuthorization" +
+      "Code\332A\014registration\022\350\001\n\026ResetAuthorizati" +
+      "onCode\0226.google.cloud.domains.v1.ResetAu" +
+      "thorizationCodeRequest\032*.google.cloud.do" +
+      "mains.v1.AuthorizationCode\"j\202\323\344\223\002U\"P/v1/" +
+      "{registration=projects/*/locations/*/reg" +
+      "istrations/*}:resetAuthorizationCode:\001*\332" +
+      "A\014registration\032J\312A\026domains.googleapis.co" +
+      "m\322A.https://www.googleapis.com/auth/clou" +
+      "d-platformBm\n\033com.google.cloud.domains.v" +
+      "1B\014DomainsProtoP\001Z>google.golang.org/gen" +
+      "proto/googleapis/cloud/domains/v1;domain" +
+      "sb\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.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.type.MoneyProto.getDescriptor(),
+          com.google.type.PostalAddressProto.getDescriptor(),
+        });
+    internal_static_google_cloud_domains_v1_Registration_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_Registration_descriptor,
+        new java.lang.String[] { "Name", "DomainName", "CreateTime", "ExpireTime", "State", "Issues", "Labels", "ManagementSettings", "DnsSettings", "ContactSettings", "PendingContactSettings", "SupportedPrivacy", });
+    internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor =
+      internal_static_google_cloud_domains_v1_Registration_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1_Registration_LabelsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_cloud_domains_v1_ManagementSettings_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_ManagementSettings_descriptor,
+        new java.lang.String[] { "RenewalMethod", "TransferLockState", });
+    internal_static_google_cloud_domains_v1_DnsSettings_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_DnsSettings_descriptor,
+        new java.lang.String[] { "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider", });
+    internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor =
+      internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor,
+        new java.lang.String[] { "NameServers", "DsRecords", });
+    internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor =
+      internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor,
+        new java.lang.String[] { "NameServers", "DsState", "DsRecords", });
+    internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor =
+      internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(2);
+    internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor,
+        new java.lang.String[] { "KeyTag", "Algorithm", "DigestType", "Digest", });
+    internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor =
+      internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(3);
+    internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor,
+        new java.lang.String[] { "HostName", "Ipv4Addresses", "Ipv6Addresses", });
+    internal_static_google_cloud_domains_v1_ContactSettings_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_ContactSettings_descriptor,
+        new java.lang.String[] { "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact", });
+    internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor =
+      internal_static_google_cloud_domains_v1_ContactSettings_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor,
+        new java.lang.String[] { "PostalAddress", "Email", "PhoneNumber", "FaxNumber", });
+    internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor,
+        new java.lang.String[] { "Query", "Location", });
+    internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor,
+        new java.lang.String[] { "RegisterParameters", });
+    internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor,
+        new java.lang.String[] { "DomainName", "Location", });
+    internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor,
+        new java.lang.String[] { "RegisterParameters", });
+    internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor,
+        new java.lang.String[] { "Parent", "Registration", "DomainNotices", "ContactNotices", "YearlyPrice", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor,
+        new java.lang.String[] { "DomainName", "Location", });
+    internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor,
+        new java.lang.String[] { "TransferParameters", });
+    internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor,
+        new java.lang.String[] { "Parent", "Registration", "ContactNotices", "YearlyPrice", "AuthorizationCode", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
+    internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor,
+        new java.lang.String[] { "Registrations", "NextPageToken", });
+    internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor,
+        new java.lang.String[] { "Registration", "UpdateMask", });
+    internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor,
+        new java.lang.String[] { "Registration", "ManagementSettings", "UpdateMask", });
+    internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor,
+        new java.lang.String[] { "Registration", "DnsSettings", "UpdateMask", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor,
+        new java.lang.String[] { "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor =
+      getDescriptor().getMessageTypes().get(21);
+    internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor,
+        new java.lang.String[] { "Registration", });
+    internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor =
+      getDescriptor().getMessageTypes().get(22);
+    internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor,
+        new java.lang.String[] { "Registration", });
+    internal_static_google_cloud_domains_v1_RegisterParameters_descriptor =
+      getDescriptor().getMessageTypes().get(23);
+    internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_RegisterParameters_descriptor,
+        new java.lang.String[] { "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice", });
+    internal_static_google_cloud_domains_v1_TransferParameters_descriptor =
+      getDescriptor().getMessageTypes().get(24);
+    internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_TransferParameters_descriptor,
+        new java.lang.String[] { "DomainName", "CurrentRegistrar", "NameServers", "TransferLockState", "SupportedPrivacy", "YearlyPrice", });
+    internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor =
+      getDescriptor().getMessageTypes().get(25);
+    internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor,
+        new java.lang.String[] { "Code", });
+    internal_static_google_cloud_domains_v1_OperationMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(26);
+    internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1_OperationMetadata_descriptor,
+        new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.MoneyProto.getDescriptor();
+    com.google.type.PostalAddressProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java
similarity index 65%
rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java
index d6e750ef..ba765d5b 100644
--- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1/domains.proto
 
 package com.google.cloud.domains.v1;
 
 /**
- *
- *
  * 
  * Request for the `ExportRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ExportRegistrationRequest} */ -public final class ExportRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ExportRegistrationRequest) ExportRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportRegistrationRequest.newBuilder() to construct. private ExportRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExportRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ExportRegistrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ExportRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ExportRegistrationRequest.class, - com.google.cloud.domains.v1.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.ExportRegistrationRequest.class, com.google.cloud.domains.v1.ExportRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 @@ -135,32 +110,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 `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,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.domains.v1.ExportRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ExportRegistrationRequest other = - (com.google.cloud.domains.v1.ExportRegistrationRequest) obj; + com.google.cloud.domains.v1.ExportRegistrationRequest other = (com.google.cloud.domains.v1.ExportRegistrationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.ExportRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.ExportRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ExportRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ExportRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ExportRegistrationRequest) com.google.cloud.domains.v1.ExportRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ExportRegistrationRequest.class, - com.google.cloud.domains.v1.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.ExportRegistrationRequest.class, com.google.cloud.domains.v1.ExportRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ExportRegistrationRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.domains.v1.ExportRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ExportRegistrationRequest buildPartial() { - com.google.cloud.domains.v1.ExportRegistrationRequest result = - new com.google.cloud.domains.v1.ExportRegistrationRequest(this); + com.google.cloud.domains.v1.ExportRegistrationRequest result = new com.google.cloud.domains.v1.ExportRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.domains.v1.ExportRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ExportRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1.ExportRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1.ExportRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ExportRegistrationRequest other) { - if (other == com.google.cloud.domains.v1.ExportRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.ExportRegistrationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.ExportRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.ExportRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ExportRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ExportRegistrationRequest) private static final com.google.cloud.domains.v1.ExportRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ExportRegistrationRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.domains.v1.ExportRegistrationRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1.ExportRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..66accc9b --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1/domains.proto + +package com.google.cloud.domains.v1; + +public interface ExportRegistrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ExportRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java similarity index 65% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java index c9412432..6d5e1195 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `GetRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.GetRegistrationRequest} */ -public final class GetRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.GetRegistrationRequest) GetRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRegistrationRequest.newBuilder() to construct. private GetRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRegistrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.GetRegistrationRequest.class, - com.google.cloud.domains.v1.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.GetRegistrationRequest.class, com.google.cloud.domains.v1.GetRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 @@ -135,32 +110,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 `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,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.domains.v1.GetRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.GetRegistrationRequest other = - (com.google.cloud.domains.v1.GetRegistrationRequest) obj; + com.google.cloud.domains.v1.GetRegistrationRequest other = (com.google.cloud.domains.v1.GetRegistrationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.GetRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.GetRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.GetRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `GetRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.GetRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.GetRegistrationRequest) com.google.cloud.domains.v1.GetRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.GetRegistrationRequest.class, - com.google.cloud.domains.v1.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.GetRegistrationRequest.class, com.google.cloud.domains.v1.GetRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.GetRegistrationRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.domains.v1.GetRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1.GetRegistrationRequest buildPartial() { - com.google.cloud.domains.v1.GetRegistrationRequest result = - new com.google.cloud.domains.v1.GetRegistrationRequest(this); + com.google.cloud.domains.v1.GetRegistrationRequest result = new com.google.cloud.domains.v1.GetRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.domains.v1.GetRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.GetRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1.GetRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1.GetRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.GetRegistrationRequest other) { - if (other == com.google.cloud.domains.v1.GetRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.GetRegistrationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.GetRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.GetRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.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; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.GetRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.GetRegistrationRequest) private static final com.google.cloud.domains.v1.GetRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.GetRegistrationRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.domains.v1.GetRegistrationRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.GetRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..5ab3859a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1/domains.proto + +package com.google.cloud.domains.v1; + +public interface GetRegistrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.GetRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java similarity index 74% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java index db8b9609..f501f6af 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ListRegistrationsRequest} */ -public final class ListRegistrationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRegistrationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ListRegistrationsRequest) ListRegistrationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRegistrationsRequest.newBuilder() to construct. private ListRegistrationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRegistrationsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListRegistrationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRegistrationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRegistrationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListRegistrationsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListRegistrationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ListRegistrationsRequest.class, - com.google.cloud.domains.v1.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1.ListRegistrationsRequest.class, com.google.cloud.domains.v1.ListRegistrationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 { @@ -192,14 +163,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -210,15 +178,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -227,30 +192,30 @@ 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; } } /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * 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 { @@ -261,8 +226,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -280,7 +243,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -289,15 +251,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -315,15 +276,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -332,7 +294,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,7 +305,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -370,7 +332,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_); @@ -386,18 +349,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.domains.v1.ListRegistrationsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ListRegistrationsRequest other = - (com.google.cloud.domains.v1.ListRegistrationsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.domains.v1.ListRegistrationsRequest other = (com.google.cloud.domains.v1.ListRegistrationsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,126 +389,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.ListRegistrationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ListRegistrationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ListRegistrationsRequest) com.google.cloud.domains.v1.ListRegistrationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ListRegistrationsRequest.class, - com.google.cloud.domains.v1.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1.ListRegistrationsRequest.class, com.google.cloud.domains.v1.ListRegistrationsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ListRegistrationsRequest.newBuilder() @@ -550,15 +507,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -574,9 +532,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; } @java.lang.Override @@ -595,8 +553,7 @@ public com.google.cloud.domains.v1.ListRegistrationsRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ListRegistrationsRequest buildPartial() { - com.google.cloud.domains.v1.ListRegistrationsRequest result = - new com.google.cloud.domains.v1.ListRegistrationsRequest(this); + com.google.cloud.domains.v1.ListRegistrationsRequest result = new com.google.cloud.domains.v1.ListRegistrationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -609,39 +566,38 @@ public com.google.cloud.domains.v1.ListRegistrationsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ListRegistrationsRequest) { - return mergeFrom((com.google.cloud.domains.v1.ListRegistrationsRequest) other); + return mergeFrom((com.google.cloud.domains.v1.ListRegistrationsRequest)other); } else { super.mergeFrom(other); return this; @@ -649,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ListRegistrationsRequest other) { - if (other == com.google.cloud.domains.v1.ListRegistrationsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.ListRegistrationsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -685,8 +640,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.ListRegistrationsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.ListRegistrationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -698,23 +652,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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; @@ -723,24 +673,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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 { @@ -748,85 +695,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -834,36 +765,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -871,21 +796,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * 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; @@ -894,22 +817,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * 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 { @@ -917,64 +839,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -982,8 +897,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1001,13 +914,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1016,8 +929,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1035,14 +946,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1050,8 +962,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1069,22 +979,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1102,18 +1010,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1131,23 +1036,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1157,12 +1062,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ListRegistrationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ListRegistrationsRequest) private static final com.google.cloud.domains.v1.ListRegistrationsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ListRegistrationsRequest(); } @@ -1171,16 +1076,16 @@ public static com.google.cloud.domains.v1.ListRegistrationsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1195,4 +1100,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.ListRegistrationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java similarity index 74% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java index a0430dee..e17ba7c0 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java @@ -1,102 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ListRegistrationsRequestOrBuilder - extends +public interface ListRegistrationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ListRegistrationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 project and location from which to list `Registration`s, specified in
    * the format `projects/*/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(); /** - * - * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -114,13 +79,10 @@ public interface ListRegistrationsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -138,8 +100,8 @@ public interface ListRegistrationsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java similarity index 73% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java index b0c1b920..ee367fa5 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Response for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ListRegistrationsResponse} */ -public final class ListRegistrationsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRegistrationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ListRegistrationsResponse) ListRegistrationsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRegistrationsResponse.newBuilder() to construct. private ListRegistrationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRegistrationsResponse() { registrations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRegistrationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRegistrationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRegistrationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListRegistrationsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registrations_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - registrations_.add( - input.readMessage( - com.google.cloud.domains.v1.Registration.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registrations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + registrations_.add( + input.readMessage(com.google.cloud.domains.v1.Registration.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListRegistrationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registrations_ = java.util.Collections.unmodifiableList(registrations_); @@ -114,27 +94,22 @@ private ListRegistrationsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ListRegistrationsResponse.class, - com.google.cloud.domains.v1.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1.ListRegistrationsResponse.class, com.google.cloud.domains.v1.ListRegistrationsResponse.Builder.class); } public static final int REGISTRATIONS_FIELD_NUMBER = 1; private java.util.List registrations_; /** - * - * *
    * A list of `Registration`s.
    * 
@@ -146,8 +121,6 @@ public java.util.List getRegistrations return registrations_; } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -155,13 +128,11 @@ public java.util.List getRegistrations * repeated .google.cloud.domains.v1.Registration registrations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegistrationsOrBuilderList() { return registrations_; } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -173,8 +144,6 @@ public int getRegistrationsCount() { return registrations_.size(); } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -186,8 +155,6 @@ public com.google.cloud.domains.v1.Registration getRegistrations(int index) { return registrations_.get(index); } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -195,22 +162,20 @@ public com.google.cloud.domains.v1.Registration getRegistrations(int index) { * repeated .google.cloud.domains.v1.Registration registrations = 1; */ @java.lang.Override - public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder(int index) { + public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder( + int index) { return registrations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ 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; } } /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < registrations_.size(); i++) { output.writeMessage(1, registrations_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registrations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, registrations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, registrations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1.ListRegistrationsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1.ListRegistrationsResponse other = - (com.google.cloud.domains.v1.ListRegistrationsResponse) obj; + com.google.cloud.domains.v1.ListRegistrationsResponse other = (com.google.cloud.domains.v1.ListRegistrationsResponse) obj; - if (!getRegistrationsList().equals(other.getRegistrationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRegistrationsList() + .equals(other.getRegistrationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.ListRegistrationsResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.ListRegistrationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ListRegistrationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ListRegistrationsResponse) com.google.cloud.domains.v1.ListRegistrationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ListRegistrationsResponse.class, - com.google.cloud.domains.v1.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1.ListRegistrationsResponse.class, com.google.cloud.domains.v1.ListRegistrationsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1.ListRegistrationsResponse.newBuilder() @@ -454,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRegistrationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; } @java.lang.Override @@ -501,8 +458,7 @@ public com.google.cloud.domains.v1.ListRegistrationsResponse build() { @java.lang.Override public com.google.cloud.domains.v1.ListRegistrationsResponse buildPartial() { - com.google.cloud.domains.v1.ListRegistrationsResponse result = - new com.google.cloud.domains.v1.ListRegistrationsResponse(this); + com.google.cloud.domains.v1.ListRegistrationsResponse result = new com.google.cloud.domains.v1.ListRegistrationsResponse(this); int from_bitField0_ = bitField0_; if (registrationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -522,39 +478,38 @@ public com.google.cloud.domains.v1.ListRegistrationsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ListRegistrationsResponse) { - return mergeFrom((com.google.cloud.domains.v1.ListRegistrationsResponse) other); + return mergeFrom((com.google.cloud.domains.v1.ListRegistrationsResponse)other); } else { super.mergeFrom(other); return this; @@ -562,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ListRegistrationsResponse other) { - if (other == com.google.cloud.domains.v1.ListRegistrationsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.ListRegistrationsResponse.getDefaultInstance()) return this; if (registrationsBuilder_ == null) { if (!other.registrations_.isEmpty()) { if (registrations_.isEmpty()) { @@ -582,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.domains.v1.ListRegistrationsResponse o registrationsBuilder_ = null; registrations_ = other.registrations_; bitField0_ = (bitField0_ & ~0x00000001); - registrationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRegistrationsFieldBuilder() - : null; + registrationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRegistrationsFieldBuilder() : null; } else { registrationsBuilder_.addAllMessages(other.registrations_); } @@ -614,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.ListRegistrationsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.ListRegistrationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -624,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List registrations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRegistrationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registrations_ = - new java.util.ArrayList(registrations_); + registrations_ = new java.util.ArrayList(registrations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder> - registrationsBuilder_; + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> registrationsBuilder_; /** - * - * *
      * A list of `Registration`s.
      * 
@@ -661,8 +605,6 @@ public java.util.List getRegistrations } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -677,8 +619,6 @@ public int getRegistrationsCount() { } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -693,15 +633,14 @@ public com.google.cloud.domains.v1.Registration getRegistrations(int index) { } } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public Builder setRegistrations(int index, com.google.cloud.domains.v1.Registration value) { + public Builder setRegistrations( + int index, com.google.cloud.domains.v1.Registration value) { if (registrationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -715,8 +654,6 @@ public Builder setRegistrations(int index, com.google.cloud.domains.v1.Registrat return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -735,8 +672,6 @@ public Builder setRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -757,15 +692,14 @@ public Builder addRegistrations(com.google.cloud.domains.v1.Registration value) return this; } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public Builder addRegistrations(int index, com.google.cloud.domains.v1.Registration value) { + public Builder addRegistrations( + int index, com.google.cloud.domains.v1.Registration value) { if (registrationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -779,8 +713,6 @@ public Builder addRegistrations(int index, com.google.cloud.domains.v1.Registrat return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -799,8 +731,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -819,8 +749,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -831,7 +759,8 @@ public Builder addAllRegistrations( java.lang.Iterable values) { if (registrationsBuilder_ == null) { ensureRegistrationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registrations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, registrations_); onChanged(); } else { registrationsBuilder_.addAllMessages(values); @@ -839,8 +768,6 @@ public Builder addAllRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -858,8 +785,6 @@ public Builder clearRegistrations() { return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -877,44 +802,39 @@ public Builder removeRegistrations(int index) { return this; } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public com.google.cloud.domains.v1.Registration.Builder getRegistrationsBuilder(int index) { + public com.google.cloud.domains.v1.Registration.Builder getRegistrationsBuilder( + int index) { return getRegistrationsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder(int index) { + public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder( + int index) { if (registrationsBuilder_ == null) { - return registrations_.get(index); - } else { + return registrations_.get(index); } else { return registrationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public java.util.List - getRegistrationsOrBuilderList() { + public java.util.List + getRegistrationsOrBuilderList() { if (registrationsBuilder_ != null) { return registrationsBuilder_.getMessageOrBuilderList(); } else { @@ -922,8 +842,6 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuild } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -931,47 +849,38 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuild * repeated .google.cloud.domains.v1.Registration registrations = 1; */ public com.google.cloud.domains.v1.Registration.Builder addRegistrationsBuilder() { - return getRegistrationsFieldBuilder() - .addBuilder(com.google.cloud.domains.v1.Registration.getDefaultInstance()); + return getRegistrationsFieldBuilder().addBuilder( + com.google.cloud.domains.v1.Registration.getDefaultInstance()); } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public com.google.cloud.domains.v1.Registration.Builder addRegistrationsBuilder(int index) { - return getRegistrationsFieldBuilder() - .addBuilder(index, com.google.cloud.domains.v1.Registration.getDefaultInstance()); + public com.google.cloud.domains.v1.Registration.Builder addRegistrationsBuilder( + int index) { + return getRegistrationsFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1.Registration.getDefaultInstance()); } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public java.util.List - getRegistrationsBuilderList() { + public java.util.List + getRegistrationsBuilderList() { return getRegistrationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder> + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> getRegistrationsFieldBuilder() { if (registrationsBuilder_ == null) { - registrationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder>( + registrationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder>( registrations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -983,21 +892,19 @@ public com.google.cloud.domains.v1.Registration.Builder addRegistrationsBuilder( private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1006,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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 { @@ -1029,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ListRegistrationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ListRegistrationsResponse) private static final com.google.cloud.domains.v1.ListRegistrationsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ListRegistrationsResponse(); } @@ -1117,16 +1016,16 @@ public static com.google.cloud.domains.v1.ListRegistrationsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1.ListRegistrationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java index 275106fe..da74868d 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ListRegistrationsResponseOrBuilder - extends +public interface ListRegistrationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ListRegistrationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - java.util.List getRegistrationsList(); + java.util.List + getRegistrationsList(); /** - * - * *
    * A list of `Registration`s.
    * 
@@ -44,8 +25,6 @@ public interface ListRegistrationsResponseOrBuilder */ com.google.cloud.domains.v1.Registration getRegistrations(int index); /** - * - * *
    * A list of `Registration`s.
    * 
@@ -54,51 +33,43 @@ public interface ListRegistrationsResponseOrBuilder */ int getRegistrationsCount(); /** - * - * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - java.util.List + java.util.List getRegistrationsOrBuilderList(); /** - * - * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder(int index); + com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder( + int index); /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/LocationName.java similarity index 100% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/LocationName.java diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java similarity index 68% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java index 26e6735f..c084884f 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Defines renewal, billing, and transfer settings for a `Registration`.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ManagementSettings} */ -public final class ManagementSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ManagementSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ManagementSettings) ManagementSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ManagementSettings.newBuilder() to construct. private ManagementSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ManagementSettings() { renewalMethod_ = 0; transferLockState_ = 0; @@ -44,15 +26,16 @@ private ManagementSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ManagementSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ManagementSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ManagementSettings( case 0: done = true; break; - case 24: - { - int rawValue = input.readEnum(); + case 24: { + int rawValue = input.readEnum(); - renewalMethod_ = rawValue; - break; - } - case 32: - { - int rawValue = input.readEnum(); + renewalMethod_ = rawValue; + break; + } + case 32: { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transferLockState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ManagementSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ManagementSettings.class, - com.google.cloud.domains.v1.ManagementSettings.Builder.class); + com.google.cloud.domains.v1.ManagementSettings.class, com.google.cloud.domains.v1.ManagementSettings.Builder.class); } /** - * - * *
    * Defines how the `Registration` is renewed.
    * 
* * Protobuf enum {@code google.cloud.domains.v1.ManagementSettings.RenewalMethod} */ - public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { + public enum RenewalMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The renewal method is undefined.
      * 
@@ -142,8 +118,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { */ RENEWAL_METHOD_UNSPECIFIED(0), /** - * - * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -154,8 +128,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     AUTOMATIC_RENEWAL(1),
     /**
-     *
-     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -171,8 +143,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The renewal method is undefined.
      * 
@@ -181,8 +151,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RENEWAL_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -193,8 +161,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AUTOMATIC_RENEWAL_VALUE = 1;
     /**
-     *
-     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -207,6 +173,7 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MANUAL_RENEWAL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -231,49 +198,49 @@ public static RenewalMethod valueOf(int value) {
      */
     public static RenewalMethod forNumber(int value) {
       switch (value) {
-        case 0:
-          return RENEWAL_METHOD_UNSPECIFIED;
-        case 1:
-          return AUTOMATIC_RENEWAL;
-        case 2:
-          return MANUAL_RENEWAL;
-        default:
-          return null;
+        case 0: return RENEWAL_METHOD_UNSPECIFIED;
+        case 1: return AUTOMATIC_RENEWAL;
+        case 2: return MANUAL_RENEWAL;
+        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<
+        RenewalMethod> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RenewalMethod findValueByNumber(int number) {
+              return RenewalMethod.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RenewalMethod findValueByNumber(int number) {
-            return RenewalMethod.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.domains.v1.ManagementSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final RenewalMethod[] VALUES = values();
 
-    public static RenewalMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RenewalMethod 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;
@@ -293,83 +260,58 @@ private RenewalMethod(int value) {
   public static final int RENEWAL_METHOD_FIELD_NUMBER = 3;
   private int renewalMethod_;
   /**
-   *
-   *
    * 
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override - public int getRenewalMethodValue() { + @java.lang.Override public int getRenewalMethodValue() { return renewalMethod_; } /** - * - * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The renewalMethod. */ - @java.lang.Override - public com.google.cloud.domains.v1.ManagementSettings.RenewalMethod getRenewalMethod() { + @java.lang.Override public com.google.cloud.domains.v1.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ManagementSettings.RenewalMethod result = - com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null - ? com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null ? com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ - @java.lang.Override - public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { + @java.lang.Override public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.TransferLockState result = - com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); + com.google.cloud.domains.v1.TransferLockState result = com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); return result == null ? com.google.cloud.domains.v1.TransferLockState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,15 +323,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (renewalMethod_ - != com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (renewalMethod_ != com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(3, renewalMethod_); } - if (transferLockState_ - != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { + if (transferLockState_ != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, transferLockState_); } unknownFields.writeTo(output); @@ -401,15 +340,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (renewalMethod_ - != com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, renewalMethod_); + if (renewalMethod_ != com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, renewalMethod_); } - if (transferLockState_ - != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); + if (transferLockState_ != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, transferLockState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -419,13 +356,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.domains.v1.ManagementSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1.ManagementSettings other = - (com.google.cloud.domains.v1.ManagementSettings) obj; + com.google.cloud.domains.v1.ManagementSettings other = (com.google.cloud.domains.v1.ManagementSettings) obj; if (renewalMethod_ != other.renewalMethod_) return false; if (transferLockState_ != other.transferLockState_) return false; @@ -449,127 +385,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.ManagementSettings parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.ManagementSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ManagementSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ManagementSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ManagementSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ManagementSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ManagementSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ManagementSettings parseFrom(java.io.InputStream input) 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.domains.v1.ManagementSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.ManagementSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ManagementSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ManagementSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ManagementSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ManagementSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.ManagementSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines renewal, billing, and transfer settings for a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ManagementSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ManagementSettings) com.google.cloud.domains.v1.ManagementSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ManagementSettings.class, - com.google.cloud.domains.v1.ManagementSettings.Builder.class); + com.google.cloud.domains.v1.ManagementSettings.class, com.google.cloud.domains.v1.ManagementSettings.Builder.class); } // Construct using com.google.cloud.domains.v1.ManagementSettings.newBuilder() @@ -577,15 +504,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -597,9 +525,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; } @java.lang.Override @@ -618,8 +546,7 @@ public com.google.cloud.domains.v1.ManagementSettings build() { @java.lang.Override public com.google.cloud.domains.v1.ManagementSettings buildPartial() { - com.google.cloud.domains.v1.ManagementSettings result = - new com.google.cloud.domains.v1.ManagementSettings(this); + com.google.cloud.domains.v1.ManagementSettings result = new com.google.cloud.domains.v1.ManagementSettings(this); result.renewalMethod_ = renewalMethod_; result.transferLockState_ = transferLockState_; onBuilt(); @@ -630,39 +557,38 @@ public com.google.cloud.domains.v1.ManagementSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ManagementSettings) { - return mergeFrom((com.google.cloud.domains.v1.ManagementSettings) other); + return mergeFrom((com.google.cloud.domains.v1.ManagementSettings)other); } else { super.mergeFrom(other); return this; @@ -708,103 +634,73 @@ public Builder mergeFrom( private int renewalMethod_ = 0; /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override - public int getRenewalMethodValue() { + @java.lang.Override public int getRenewalMethodValue() { return renewalMethod_; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for renewalMethod to set. * @return This builder for chaining. */ public Builder setRenewalMethodValue(int value) { - + renewalMethod_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The renewalMethod. */ @java.lang.Override public com.google.cloud.domains.v1.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ManagementSettings.RenewalMethod result = - com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null - ? com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null ? com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The renewalMethod to set. * @return This builder for chaining. */ - public Builder setRenewalMethod( - com.google.cloud.domains.v1.ManagementSettings.RenewalMethod value) { + public Builder setRenewalMethod(com.google.cloud.domains.v1.ManagementSettings.RenewalMethod value) { if (value == null) { throw new NullPointerException(); } - + renewalMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearRenewalMethod() { - + renewalMethod_ = 0; onChanged(); return this; @@ -812,65 +708,51 @@ public Builder clearRenewalMethod() { private int transferLockState_ = 0; /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.TransferLockState result = - com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); + com.google.cloud.domains.v1.TransferLockState result = com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); return result == null ? com.google.cloud.domains.v1.TransferLockState.UNRECOGNIZED : result; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -878,31 +760,28 @@ public Builder setTransferLockState(com.google.cloud.domains.v1.TransferLockStat if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -912,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ManagementSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ManagementSettings) private static final com.google.cloud.domains.v1.ManagementSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ManagementSettings(); } @@ -926,16 +805,16 @@ public static com.google.cloud.domains.v1.ManagementSettings getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagementSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ManagementSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagementSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ManagementSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,4 +829,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.ManagementSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java similarity index 56% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java index dedec311..4c53fba9 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java @@ -1,78 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ManagementSettingsOrBuilder - extends +public interface ManagementSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ManagementSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for renewalMethod. */ int getRenewalMethodValue(); /** - * - * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The renewalMethod. */ com.google.cloud.domains.v1.ManagementSettings.RenewalMethod getRenewalMethod(); /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ com.google.cloud.domains.v1.TransferLockState getTransferLockState(); diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java similarity index 72% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java index 9e45a41d..20128cb7 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Represents the metadata of the long-running operation. Output only.
  * 
* * Protobuf type {@code google.cloud.domains.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.domains.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,15 +28,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,71 +56,63 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusDetail_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusDetail_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -145,39 +120,34 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.OperationMetadata.class, - com.google.cloud.domains.v1.OperationMetadata.Builder.class); + com.google.cloud.domains.v1.OperationMetadata.class, com.google.cloud.domains.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -185,14 +155,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -200,8 +167,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -216,14 +181,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -231,14 +193,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -246,8 +205,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -262,14 +219,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ @java.lang.Override @@ -278,29 +232,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; } } /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @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 { @@ -311,14 +265,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ @java.lang.Override @@ -327,29 +278,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; } } /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @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 { @@ -360,14 +311,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int STATUS_DETAIL_FIELD_NUMBER = 5; private volatile java.lang.Object statusDetail_; /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ @java.lang.Override @@ -376,29 +324,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -409,14 +357,11 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { public static final int API_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object apiVersion_; /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @return The apiVersion. */ @java.lang.Override @@ -425,29 +370,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; } } /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @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 { @@ -456,7 +401,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,7 +412,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -497,10 +442,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_); @@ -522,26 +469,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.domains.v1.OperationMetadata other = - (com.google.cloud.domains.v1.OperationMetadata) obj; + com.google.cloud.domains.v1.OperationMetadata other = (com.google.cloud.domains.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 (!getStatusDetail().equals(other.getStatusDetail())) 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 (!getStatusDetail() + .equals(other.getStatusDetail())) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -574,127 +526,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.OperationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.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.domains.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.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.domains.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.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.domains.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.domains.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.domains.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.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.domains.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.domains.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.domains.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. Output only.
    * 
* * Protobuf type {@code google.cloud.domains.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.domains.v1.OperationMetadata) com.google.cloud.domains.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.OperationMetadata.class, - com.google.cloud.domains.v1.OperationMetadata.Builder.class); + com.google.cloud.domains.v1.OperationMetadata.class, com.google.cloud.domains.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.domains.v1.OperationMetadata.newBuilder() @@ -702,15 +645,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -738,9 +682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -759,8 +703,7 @@ public com.google.cloud.domains.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.domains.v1.OperationMetadata buildPartial() { - com.google.cloud.domains.v1.OperationMetadata result = - new com.google.cloud.domains.v1.OperationMetadata(this); + com.google.cloud.domains.v1.OperationMetadata result = new com.google.cloud.domains.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -783,39 +726,38 @@ public com.google.cloud.domains.v1.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.domains.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.domains.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -877,47 +819,34 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time the operation was created.
      * 
@@ -938,15 +867,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -957,8 +885,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -969,7 +895,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -981,8 +907,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1001,8 +925,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1010,13 +932,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation was created.
      * 
@@ -1027,14 +947,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time the operation was created.
      * 
@@ -1042,17 +959,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1060,33 +974,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_; /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1097,8 +1002,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1119,15 +1022,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1138,8 +1040,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1150,7 +1050,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1162,8 +1062,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1182,8 +1080,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1191,13 +1087,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1208,12 +1102,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1221,17 +1114,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1239,20 +1129,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @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; @@ -1261,21 +1149,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @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 { @@ -1283,61 +1170,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1345,20 +1225,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @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; @@ -1367,21 +1245,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @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 { @@ -1389,61 +1266,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1451,20 +1321,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusDetail_ = ""; /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1473,21 +1341,20 @@ public java.lang.String getStatusDetail() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1495,61 +1362,54 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail(java.lang.String value) { + public Builder setStatusDetail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return This builder for chaining. */ public Builder clearStatusDetail() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { + public Builder setStatusDetailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; @@ -1557,20 +1417,18 @@ public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @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; @@ -1579,21 +1437,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @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 { @@ -1601,68 +1458,61 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1672,12 +1522,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.OperationMetadata) private static final com.google.cloud.domains.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.OperationMetadata(); } @@ -1686,16 +1536,16 @@ public static com.google.cloud.domains.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1710,4 +1560,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java similarity index 74% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java index 4ffc7a89..7e5fc940 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
@@ -59,32 +35,24 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
@@ -94,102 +62,82 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString getStatusDetailBytes(); + com.google.protobuf.ByteString + getStatusDetailBytes(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java similarity index 75% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java index 7de9c552..b067afda 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `RegisterDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RegisterDomainRequest} */ -public final class RegisterDomainRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RegisterDomainRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RegisterDomainRequest) RegisterDomainRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RegisterDomainRequest.newBuilder() to construct. private RegisterDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RegisterDomainRequest() { parent_ = ""; domainNotices_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private RegisterDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RegisterDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RegisterDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,105 +56,96 @@ private RegisterDomainRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = input.readMessage(com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.domains.v1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = - input.readMessage( - com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + domainNotices_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } domainNotices_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - domainNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 32: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 32: - { + contactNotices_.add(rawValue); + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } contactNotices_.add(rawValue); - break; - } - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - contactNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; } - case 42: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + input.popLimit(oldLimit); + break; + } + case 42: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 48: - { - validateOnly_ = input.readBool(); - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 48: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -179,7 +153,8 @@ private RegisterDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = java.util.Collections.unmodifiableList(domainNotices_); @@ -191,36 +166,28 @@ private RegisterDomainRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RegisterDomainRequest.class, - com.google.cloud.domains.v1.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1.RegisterDomainRequest.class, com.google.cloud.domains.v1.RegisterDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -229,32 +196,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -265,16 +230,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.Registration registration_; /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ @java.lang.Override @@ -282,34 +242,23 @@ public boolean hasRegistration() { return registration_ != null; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1.Registration getRegistration() { - return registration_ == null - ? com.google.cloud.domains.v1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -319,47 +268,36 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde public static final int DOMAIN_NOTICES_FIELD_NUMBER = 3; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice> - domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice> domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>() { public com.google.cloud.domains.v1.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DomainNotice result = - com.google.cloud.domains.v1.DomainNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1.DomainNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.DomainNotice result = com.google.cloud.domains.v1.DomainNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1.DomainNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @return The count of domainNotices. */ @java.lang.Override @@ -367,15 +305,12 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -384,31 +319,26 @@ public com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index) { return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return domainNotices_; } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -416,28 +346,21 @@ public java.util.List getDomainNoticesValueList() { public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } - private int domainNoticesMemoizedSerializedSize; public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> - contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>() { public com.google.cloud.domains.v1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactNotice result = - com.google.cloud.domains.v1.ContactNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.ContactNotice result = com.google.cloud.domains.v1.ContactNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -445,18 +368,14 @@ public com.google.cloud.domains.v1.ContactNotice convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -464,7 +383,6 @@ public java.util.List getContactNotic
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ @java.lang.Override @@ -472,8 +390,6 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -481,7 +397,6 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -490,8 +405,6 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -499,16 +412,14 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return contactNotices_; } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -516,7 +427,6 @@ public java.util.List getContactNoticesValueList() {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -524,14 +434,11 @@ public java.util.List getContactNoticesValueList() { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } - private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -539,7 +446,6 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -547,8 +453,6 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -556,7 +460,6 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ @java.lang.Override @@ -564,8 +467,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -582,8 +483,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
-   *
-   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -591,7 +490,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -600,7 +498,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -612,7 +509,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -653,39 +551,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }domainNoticesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getYearlyPrice()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -695,26 +594,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.domains.v1.RegisterDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.RegisterDomainRequest other = - (com.google.cloud.domains.v1.RegisterDomainRequest) obj; + com.google.cloud.domains.v1.RegisterDomainRequest other = (com.google.cloud.domains.v1.RegisterDomainRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; } if (!domainNotices_.equals(other.domainNotices_)) return false; if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -745,133 +647,125 @@ public int hashCode() { hash = (53 * hash) + getYearlyPrice().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.RegisterDomainRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RegisterDomainRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.RegisterDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RegisterDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RegisterDomainRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RegisterDomainRequest) com.google.cloud.domains.v1.RegisterDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RegisterDomainRequest.class, - com.google.cloud.domains.v1.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1.RegisterDomainRequest.class, com.google.cloud.domains.v1.RegisterDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.RegisterDomainRequest.newBuilder() @@ -879,15 +773,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -915,9 +810,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; } @java.lang.Override @@ -936,8 +831,7 @@ public com.google.cloud.domains.v1.RegisterDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1.RegisterDomainRequest buildPartial() { - com.google.cloud.domains.v1.RegisterDomainRequest result = - new com.google.cloud.domains.v1.RegisterDomainRequest(this); + com.google.cloud.domains.v1.RegisterDomainRequest result = new com.google.cloud.domains.v1.RegisterDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -969,39 +863,38 @@ public com.google.cloud.domains.v1.RegisterDomainRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RegisterDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1.RegisterDomainRequest) other); + return mergeFrom((com.google.cloud.domains.v1.RegisterDomainRequest)other); } else { super.mergeFrom(other); return this; @@ -1009,8 +902,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RegisterDomainRequest other) { - if (other == com.google.cloud.domains.v1.RegisterDomainRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.RegisterDomainRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1063,8 +955,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.RegisterDomainRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.RegisterDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1073,28 +964,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -1103,24 +989,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -1128,70 +1011,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1199,58 +1069,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder> - registrationBuilder_; + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> registrationBuilder_; /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ public com.google.cloud.domains.v1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null - ? com.google.cloud.domains.v1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; } else { return registrationBuilder_.getMessage(); } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) { if (registrationBuilder_ == null) { @@ -1266,15 +1117,11 @@ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) { return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration( com.google.cloud.domains.v1.Registration.Builder builderForValue) { @@ -1288,23 +1135,17 @@ public Builder setRegistration( return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1.Registration.newBuilder(registration_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); } else { registration_ = value; } @@ -1316,15 +1157,11 @@ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1338,71 +1175,55 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null - ? com.google.cloud.domains.v1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? + com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder> + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder>( - getRegistration(), getParentForChildren(), isClean()); + registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder>( + getRegistration(), + getParentForChildren(), + isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List domainNotices_ = java.util.Collections.emptyList(); - + private java.util.List domainNotices_ = + java.util.Collections.emptyList(); private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1410,47 +1231,37 @@ private void ensureDomainNoticesIsMutable() { } } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1458,20 +1269,18 @@ public com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index) { return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. */ - public Builder setDomainNotices(int index, com.google.cloud.domains.v1.DomainNotice value) { + public Builder setDomainNotices( + int index, com.google.cloud.domains.v1.DomainNotice value) { if (value == null) { throw new NullPointerException(); } @@ -1481,15 +1290,12 @@ public Builder setDomainNotices(int index, com.google.cloud.domains.v1.DomainNot return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1503,15 +1309,12 @@ public Builder addDomainNotices(com.google.cloud.domains.v1.DomainNotice value) return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1525,15 +1328,12 @@ public Builder addAllDomainNotices( return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1543,30 +1343,25 @@ public Builder clearDomainNotices() { return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1574,35 +1369,30 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue(int index, int value) { + public Builder setDomainNoticesValue( + int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1613,19 +1403,17 @@ public Builder addDomainNoticesValue(int value) { return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue(java.lang.Iterable values) { + public Builder addAllDomainNoticesValue( + java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1634,8 +1422,8 @@ public Builder addAllDomainNoticesValue(java.lang.Iterable va return this; } - private java.util.List contactNotices_ = java.util.Collections.emptyList(); - + private java.util.List contactNotices_ = + java.util.Collections.emptyList(); private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1643,8 +1431,6 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1652,17 +1438,13 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1670,15 +1452,12 @@ public java.util.List getContactNotic
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1686,7 +1465,6 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1694,8 +1472,6 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1703,12 +1479,12 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. */ - public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactNotice value) { + public Builder setContactNotices( + int index, com.google.cloud.domains.v1.ContactNotice value) { if (value == null) { throw new NullPointerException(); } @@ -1718,8 +1494,6 @@ public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactN return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1727,7 +1501,6 @@ public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactN
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1741,8 +1514,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1.ContactNotice value return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1750,7 +1521,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1.ContactNotice value
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1764,8 +1534,6 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1773,7 +1541,6 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1783,8 +1550,6 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1792,15 +1557,13 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1808,7 +1571,6 @@ public java.util.List getContactNoticesValueList() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1816,8 +1578,6 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1825,20 +1585,18 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue(int index, int value) { + public Builder setContactNoticesValue( + int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1846,7 +1604,6 @@ public Builder setContactNoticesValue(int index, int value) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1857,8 +1614,6 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1866,11 +1621,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue(java.lang.Iterable values) { + public Builder addAllContactNoticesValue( + java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1881,11 +1636,8 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1893,15 +1645,12 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1909,7 +1658,6 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1920,8 +1668,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1944,8 +1690,6 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1954,7 +1698,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(
+        com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1965,8 +1710,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1979,7 +1722,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1991,8 +1734,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2013,8 +1754,6 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2024,13 +1763,11 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-
+      
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2043,12 +1780,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ?
+            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2058,24 +1794,21 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Money,
-                com.google.type.Money.Builder,
-                com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(), getParentForChildren(), isClean());
+        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(),
+                getParentForChildren(),
+                isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
     }
 
-    private boolean validateOnly_;
+    private boolean validateOnly_ ;
     /**
-     *
-     *
      * 
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -2083,7 +1816,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -2091,8 +1823,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -2100,19 +1830,16 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -2120,18 +1847,17 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2141,12 +1867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RegisterDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RegisterDomainRequest) private static final com.google.cloud.domains.v1.RegisterDomainRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RegisterDomainRequest(); } @@ -2155,16 +1881,16 @@ public static com.google.cloud.domains.v1.RegisterDomainRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2179,4 +1905,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.RegisterDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java index a21ef579..555b369a 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java @@ -1,171 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RegisterDomainRequestOrBuilder - extends +public interface RegisterDomainRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RegisterDomainRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ boolean hasRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ com.google.cloud.domains.v1.Registration getRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List getDomainNoticesValueList(); + java.util.List + getDomainNoticesValueList(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -173,13 +118,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -187,13 +129,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ int getContactNoticesCount(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -201,14 +140,11 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1.ContactNotice getContactNotices(int index); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -216,13 +152,11 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List getContactNoticesValueList(); + java.util.List + getContactNoticesValueList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -230,15 +164,12 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -246,13 +177,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -260,13 +188,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -278,8 +203,6 @@ public interface RegisterDomainRequestOrBuilder
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
-   *
-   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -287,7 +210,6 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java similarity index 77% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java index 9ab5f247..c8c5c431 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Parameters required to register a new domain.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RegisterParameters} */ -public final class RegisterParameters extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RegisterParameters extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RegisterParameters) RegisterParametersOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RegisterParameters.newBuilder() to construct. private RegisterParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RegisterParameters() { domainName_ = ""; availability_ = 0; @@ -46,15 +28,16 @@ private RegisterParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RegisterParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RegisterParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,91 +57,84 @@ private RegisterParameters( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + domainName_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - availability_ = rawValue; - break; + availability_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + supportedPrivacy_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } supportedPrivacy_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - supportedPrivacy_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 32: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 32: - { + domainNotices_.add(rawValue); + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } domainNotices_.add(rawValue); - break; } - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - domainNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 42: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 42: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -166,7 +142,8 @@ private RegisterParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = java.util.Collections.unmodifiableList(supportedPrivacy_); @@ -178,35 +155,29 @@ private RegisterParameters( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RegisterParameters.class, - com.google.cloud.domains.v1.RegisterParameters.Builder.class); + com.google.cloud.domains.v1.RegisterParameters.class, com.google.cloud.domains.v1.RegisterParameters.Builder.class); } /** - * - * *
    * Possible availability states of a domain name.
    * 
* * Protobuf enum {@code google.cloud.domains.v1.RegisterParameters.Availability} */ - public enum Availability implements com.google.protobuf.ProtocolMessageEnum { + public enum Availability + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The availability is unspecified.
      * 
@@ -215,8 +186,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ AVAILABILITY_UNSPECIFIED(0), /** - * - * *
      * The domain is available for registration.
      * 
@@ -225,8 +194,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ AVAILABLE(1), /** - * - * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -236,8 +203,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNAVAILABLE(2),
     /**
-     *
-     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -247,8 +212,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNSUPPORTED(3),
     /**
-     *
-     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -261,8 +224,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The availability is unspecified.
      * 
@@ -271,8 +232,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABILITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is available for registration.
      * 
@@ -281,8 +240,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABLE_VALUE = 1; /** - * - * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -292,8 +249,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNAVAILABLE_VALUE = 2;
     /**
-     *
-     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -303,8 +258,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNSUPPORTED_VALUE = 3;
     /**
-     *
-     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -314,6 +267,7 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -338,53 +292,51 @@ public static Availability valueOf(int value) {
      */
     public static Availability forNumber(int value) {
       switch (value) {
-        case 0:
-          return AVAILABILITY_UNSPECIFIED;
-        case 1:
-          return AVAILABLE;
-        case 2:
-          return UNAVAILABLE;
-        case 3:
-          return UNSUPPORTED;
-        case 4:
-          return UNKNOWN;
-        default:
-          return null;
+        case 0: return AVAILABILITY_UNSPECIFIED;
+        case 1: return AVAILABLE;
+        case 2: return UNAVAILABLE;
+        case 3: return UNSUPPORTED;
+        case 4: return UNKNOWN;
+        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<
+        Availability> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Availability findValueByNumber(int number) {
+              return Availability.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Availability findValueByNumber(int number) {
-            return Availability.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.domains.v1.RegisterParameters.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Availability[] VALUES = values();
 
-    public static Availability valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Availability 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;
@@ -404,14 +356,11 @@ private Availability(int value) {
   public static final int DOMAIN_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object domainName_;
   /**
-   *
-   *
    * 
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ @java.lang.Override @@ -420,29 +369,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -453,8 +402,6 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int AVAILABILITY_FIELD_NUMBER = 2; private int availability_; /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -462,16 +409,12 @@ public com.google.protobuf.ByteString getDomainNameBytes() {
    * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; - * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override - public int getAvailabilityValue() { + @java.lang.Override public int getAvailabilityValue() { return availability_; } /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -479,61 +422,45 @@ public int getAvailabilityValue() {
    * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; - * * @return The availability. */ - @java.lang.Override - public com.google.cloud.domains.v1.RegisterParameters.Availability getAvailability() { + @java.lang.Override public com.google.cloud.domains.v1.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.RegisterParameters.Availability result = - com.google.cloud.domains.v1.RegisterParameters.Availability.valueOf(availability_); - return result == null - ? com.google.cloud.domains.v1.RegisterParameters.Availability.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.RegisterParameters.Availability result = com.google.cloud.domains.v1.RegisterParameters.Availability.valueOf(availability_); + return result == null ? com.google.cloud.domains.v1.RegisterParameters.Availability.UNRECOGNIZED : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 3; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> - supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>() { public com.google.cloud.domains.v1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactPrivacy result = - com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); - return result == null - ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.ContactPrivacy result = com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); + return result == null ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED : result; } }; /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -541,14 +468,11 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -557,29 +481,24 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return supportedPrivacy_; } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -587,51 +506,39 @@ public java.util.List getSupportedPrivacyValueList() { public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } - private int supportedPrivacyMemoizedSerializedSize; public static final int DOMAIN_NOTICES_FIELD_NUMBER = 4; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice> - domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice> domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>() { public com.google.cloud.domains.v1.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DomainNotice result = - com.google.cloud.domains.v1.DomainNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1.DomainNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.DomainNotice result = com.google.cloud.domains.v1.DomainNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1.DomainNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @return The count of domainNotices. */ @java.lang.Override @@ -639,14 +546,11 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -655,29 +559,24 @@ public com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index) { return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return domainNotices_; } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -685,20 +584,16 @@ public java.util.List getDomainNoticesValueList() { public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } - private int domainNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -706,14 +601,11 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return The yearlyPrice. */ @java.lang.Override @@ -721,8 +613,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Price to register or renew the domain for one year.
    * 
@@ -735,7 +625,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -747,14 +636,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } - if (availability_ - != com.google.cloud.domains.v1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED - .getNumber()) { + if (availability_ != com.google.cloud.domains.v1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { output.writeEnum(2, availability_); } if (getSupportedPrivacyList().size() > 0) { @@ -786,39 +674,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domainName_); } - if (availability_ - != com.google.cloud.domains.v1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, availability_); + if (availability_ != com.google.cloud.domains.v1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, availability_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedPrivacyMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }domainNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -828,21 +714,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.domains.v1.RegisterParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1.RegisterParameters other = - (com.google.cloud.domains.v1.RegisterParameters) obj; + com.google.cloud.domains.v1.RegisterParameters other = (com.google.cloud.domains.v1.RegisterParameters) obj; - if (!getDomainName().equals(other.getDomainName())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; if (availability_ != other.availability_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!domainNotices_.equals(other.domainNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -876,127 +763,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.RegisterParameters parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.RegisterParameters parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RegisterParameters parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RegisterParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RegisterParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RegisterParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RegisterParameters parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RegisterParameters parseFrom(java.io.InputStream input) 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.domains.v1.RegisterParameters parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.RegisterParameters parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RegisterParameters parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RegisterParameters parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RegisterParameters parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RegisterParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.RegisterParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters required to register a new domain.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RegisterParameters} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RegisterParameters) com.google.cloud.domains.v1.RegisterParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RegisterParameters.class, - com.google.cloud.domains.v1.RegisterParameters.Builder.class); + com.google.cloud.domains.v1.RegisterParameters.class, com.google.cloud.domains.v1.RegisterParameters.Builder.class); } // Construct using com.google.cloud.domains.v1.RegisterParameters.newBuilder() @@ -1004,15 +882,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1034,9 +913,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; } @java.lang.Override @@ -1055,8 +934,7 @@ public com.google.cloud.domains.v1.RegisterParameters build() { @java.lang.Override public com.google.cloud.domains.v1.RegisterParameters buildPartial() { - com.google.cloud.domains.v1.RegisterParameters result = - new com.google.cloud.domains.v1.RegisterParameters(this); + com.google.cloud.domains.v1.RegisterParameters result = new com.google.cloud.domains.v1.RegisterParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.availability_ = availability_; @@ -1083,39 +961,38 @@ public com.google.cloud.domains.v1.RegisterParameters buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RegisterParameters) { - return mergeFrom((com.google.cloud.domains.v1.RegisterParameters) other); + return mergeFrom((com.google.cloud.domains.v1.RegisterParameters)other); } else { super.mergeFrom(other); return this; @@ -1182,25 +1059,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object domainName_ = ""; /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -1209,21 +1083,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -1231,61 +1104,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -1293,8 +1159,6 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private int availability_ = 0; /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1302,16 +1166,12 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; - * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override - public int getAvailabilityValue() { + @java.lang.Override public int getAvailabilityValue() { return availability_; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1319,19 +1179,16 @@ public int getAvailabilityValue() {
      * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; - * * @param value The enum numeric value on the wire for availability to set. * @return This builder for chaining. */ public Builder setAvailabilityValue(int value) { - + availability_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1339,21 +1196,15 @@ public Builder setAvailabilityValue(int value) {
      * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; - * * @return The availability. */ @java.lang.Override public com.google.cloud.domains.v1.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.RegisterParameters.Availability result = - com.google.cloud.domains.v1.RegisterParameters.Availability.valueOf(availability_); - return result == null - ? com.google.cloud.domains.v1.RegisterParameters.Availability.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.RegisterParameters.Availability result = com.google.cloud.domains.v1.RegisterParameters.Availability.valueOf(availability_); + return result == null ? com.google.cloud.domains.v1.RegisterParameters.Availability.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1361,23 +1212,19 @@ public com.google.cloud.domains.v1.RegisterParameters.Availability getAvailabili
      * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; - * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability( - com.google.cloud.domains.v1.RegisterParameters.Availability value) { + public Builder setAvailability(com.google.cloud.domains.v1.RegisterParameters.Availability value) { if (value == null) { throw new NullPointerException(); } - + availability_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1385,18 +1232,17 @@ public Builder setAvailability(
      * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; - * * @return This builder for chaining. */ public Builder clearAvailability() { - + availability_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); - + private java.util.List supportedPrivacy_ = + java.util.Collections.emptyList(); private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1404,44 +1250,34 @@ private void ensureSupportedPrivacyIsMutable() { } } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the supportedPrivacy. */ public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1449,14 +1285,11 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1472,14 +1305,11 @@ public Builder setSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1493,14 +1323,11 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1.ContactPrivacy va return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1514,14 +1341,11 @@ public Builder addAllSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1531,28 +1355,23 @@ public Builder clearSupportedPrivacy() { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1560,33 +1379,28 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue(int index, int value) { + public Builder setSupportedPrivacyValue( + int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1597,18 +1411,16 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue( + java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1617,8 +1429,8 @@ public Builder addAllSupportedPrivacyValue(java.lang.Iterable return this; } - private java.util.List domainNotices_ = java.util.Collections.emptyList(); - + private java.util.List domainNotices_ = + java.util.Collections.emptyList(); private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1626,44 +1438,34 @@ private void ensureDomainNoticesIsMutable() { } } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1671,19 +1473,17 @@ public com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index) { return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. */ - public Builder setDomainNotices(int index, com.google.cloud.domains.v1.DomainNotice value) { + public Builder setDomainNotices( + int index, com.google.cloud.domains.v1.DomainNotice value) { if (value == null) { throw new NullPointerException(); } @@ -1693,14 +1493,11 @@ public Builder setDomainNotices(int index, com.google.cloud.domains.v1.DomainNot return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1714,14 +1511,11 @@ public Builder addDomainNotices(com.google.cloud.domains.v1.DomainNotice value) return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1735,14 +1529,11 @@ public Builder addAllDomainNotices( return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1752,28 +1543,23 @@ public Builder clearDomainNotices() { return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1781,33 +1567,28 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue(int index, int value) { + public Builder setDomainNoticesValue( + int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1818,18 +1599,16 @@ public Builder addDomainNoticesValue(int value) { return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue(java.lang.Iterable values) { + public Builder addAllDomainNoticesValue( + java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1840,31 +1619,24 @@ public Builder addAllDomainNoticesValue(java.lang.Iterable va private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1875,8 +1647,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1897,15 +1667,14 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; */ - public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice( + com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1916,8 +1685,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1928,7 +1695,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1940,8 +1707,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1960,8 +1725,6 @@ public Builder clearYearlyPrice() { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1969,13 +1732,11 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 5; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1986,12 +1747,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? + com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1999,22 +1759,21 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - getYearlyPrice(), getParentForChildren(), isClean()); + yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + getYearlyPrice(), + getParentForChildren(), + isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2024,12 +1783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RegisterParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RegisterParameters) private static final com.google.cloud.domains.v1.RegisterParameters DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RegisterParameters(); } @@ -2038,16 +1797,16 @@ public static com.google.cloud.domains.v1.RegisterParameters getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2062,4 +1821,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.RegisterParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java similarity index 83% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java index 10eaa8f9..445dc0a7 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RegisterParametersOrBuilder - extends +public interface RegisterParametersOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RegisterParameters) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -58,13 +35,10 @@ public interface RegisterParametersOrBuilder
    * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; - * * @return The enum numeric value on the wire for availability. */ int getAvailabilityValue(); /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -72,164 +46,127 @@ public interface RegisterParametersOrBuilder
    * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; - * * @return The availability. */ com.google.cloud.domains.v1.RegisterParameters.Availability getAvailability(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List getSupportedPrivacyValueList(); + java.util.List + getSupportedPrivacyValueList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List getDomainNoticesValueList(); + java.util.List + getDomainNoticesValueList(); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Price to register or renew the domain for one year.
    * 
diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java similarity index 68% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java index 540ac65e..f13f8aa6 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * The `Registration` resource facilitates managing and configuring domain name
  * registrations.
@@ -39,16 +22,15 @@
  *
  * Protobuf type {@code google.cloud.domains.v1.Registration}
  */
-public final class Registration extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Registration extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.Registration)
     RegistrationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Registration.newBuilder() to construct.
   private Registration(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Registration() {
     name_ = "";
     domainName_ = "";
@@ -59,15 +41,16 @@ private Registration() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Registration();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Registration(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -87,191 +70,168 @@ private Registration(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              domainName_ = s;
-              break;
+            domainName_ = s;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (expireTime_ != null) {
-                subBuilder = expireTime_.toBuilder();
-              }
-              expireTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(expireTime_);
-                expireTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (expireTime_ != null) {
+              subBuilder = expireTime_.toBuilder();
+            }
+            expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(expireTime_);
+              expireTime_ = subBuilder.buildPartial();
             }
-          case 56:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 64: {
+            int rawValue = input.readEnum();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              issues_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 64:
-            {
+            issues_.add(rawValue);
+            break;
+          }
+          case 66: {
+            int length = input.readRawVarint32();
+            int oldLimit = input.pushLimit(length);
+            while(input.getBytesUntilLimit() > 0) {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                 issues_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000001;
               }
               issues_.add(rawValue);
-              break;
             }
-          case 66:
-            {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while (input.getBytesUntilLimit() > 0) {
-                int rawValue = input.readEnum();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  issues_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                issues_.add(rawValue);
-              }
-              input.popLimit(oldLimit);
-              break;
+            input.popLimit(oldLimit);
+            break;
+          }
+          case 74: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 74:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 82: {
+            com.google.cloud.domains.v1.ManagementSettings.Builder subBuilder = null;
+            if (managementSettings_ != null) {
+              subBuilder = managementSettings_.toBuilder();
+            }
+            managementSettings_ = input.readMessage(com.google.cloud.domains.v1.ManagementSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(managementSettings_);
+              managementSettings_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              com.google.cloud.domains.v1.ManagementSettings.Builder subBuilder = null;
-              if (managementSettings_ != null) {
-                subBuilder = managementSettings_.toBuilder();
-              }
-              managementSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1.ManagementSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(managementSettings_);
-                managementSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 90: {
+            com.google.cloud.domains.v1.DnsSettings.Builder subBuilder = null;
+            if (dnsSettings_ != null) {
+              subBuilder = dnsSettings_.toBuilder();
+            }
+            dnsSettings_ = input.readMessage(com.google.cloud.domains.v1.DnsSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(dnsSettings_);
+              dnsSettings_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.cloud.domains.v1.DnsSettings.Builder subBuilder = null;
-              if (dnsSettings_ != null) {
-                subBuilder = dnsSettings_.toBuilder();
-              }
-              dnsSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1.DnsSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(dnsSettings_);
-                dnsSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 98: {
+            com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null;
+            if (contactSettings_ != null) {
+              subBuilder = contactSettings_.toBuilder();
+            }
+            contactSettings_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(contactSettings_);
+              contactSettings_ = subBuilder.buildPartial();
             }
-          case 98:
-            {
-              com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null;
-              if (contactSettings_ != null) {
-                subBuilder = contactSettings_.toBuilder();
-              }
-              contactSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(contactSettings_);
-                contactSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 106: {
+            com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null;
+            if (pendingContactSettings_ != null) {
+              subBuilder = pendingContactSettings_.toBuilder();
+            }
+            pendingContactSettings_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(pendingContactSettings_);
+              pendingContactSettings_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null;
-              if (pendingContactSettings_ != null) {
-                subBuilder = pendingContactSettings_.toBuilder();
-              }
-              pendingContactSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(pendingContactSettings_);
-                pendingContactSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 112: {
+            int rawValue = input.readEnum();
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              supportedPrivacy_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 112:
-            {
+            supportedPrivacy_.add(rawValue);
+            break;
+          }
+          case 114: {
+            int length = input.readRawVarint32();
+            int oldLimit = input.pushLimit(length);
+            while(input.getBytesUntilLimit() > 0) {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                 supportedPrivacy_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000004;
               }
               supportedPrivacy_.add(rawValue);
-              break;
-            }
-          case 114:
-            {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while (input.getBytesUntilLimit() > 0) {
-                int rawValue = input.readEnum();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  supportedPrivacy_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                supportedPrivacy_.add(rawValue);
-              }
-              input.popLimit(oldLimit);
-              break;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            input.popLimit(oldLimit);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -279,7 +239,8 @@ private Registration(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         issues_ = java.util.Collections.unmodifiableList(issues_);
@@ -291,46 +252,41 @@ private Registration(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.domains.v1.DomainsProto
-        .internal_static_google_cloud_domains_v1_Registration_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_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 9:
         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.domains.v1.DomainsProto
-        .internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable
+    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1.Registration.class,
-            com.google.cloud.domains.v1.Registration.Builder.class);
+            com.google.cloud.domains.v1.Registration.class, com.google.cloud.domains.v1.Registration.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1.Registration.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is undefined.
      * 
@@ -339,8 +295,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The domain is being registered.
      * 
@@ -349,8 +303,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ REGISTRATION_PENDING(1), /** - * - * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -360,8 +312,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     REGISTRATION_FAILED(2),
     /**
-     *
-     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -370,8 +320,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_PENDING(3), /** - * - * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -382,8 +330,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     TRANSFER_FAILED(4),
     /**
-     *
-     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -393,8 +339,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ACTIVE(6),
     /**
-     *
-     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -404,8 +348,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUSPENDED(7),
     /**
-     *
-     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -421,8 +363,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state is undefined.
      * 
@@ -431,8 +371,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is being registered.
      * 
@@ -441,8 +379,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REGISTRATION_PENDING_VALUE = 1; /** - * - * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -452,8 +388,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REGISTRATION_FAILED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -462,8 +396,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSFER_PENDING_VALUE = 3; /** - * - * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -474,8 +406,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TRANSFER_FAILED_VALUE = 4;
     /**
-     *
-     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -485,8 +415,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ACTIVE_VALUE = 6;
     /**
-     *
-     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -496,8 +424,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUSPENDED_VALUE = 7;
     /**
-     *
-     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -510,6 +436,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int EXPORTED_VALUE = 8;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -534,59 +461,54 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return REGISTRATION_PENDING;
-        case 2:
-          return REGISTRATION_FAILED;
-        case 3:
-          return TRANSFER_PENDING;
-        case 4:
-          return TRANSFER_FAILED;
-        case 6:
-          return ACTIVE;
-        case 7:
-          return SUSPENDED;
-        case 8:
-          return EXPORTED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return REGISTRATION_PENDING;
+        case 2: return REGISTRATION_FAILED;
+        case 3: return TRANSFER_PENDING;
+        case 4: return TRANSFER_FAILED;
+        case 6: return ACTIVE;
+        case 7: return SUSPENDED;
+        case 8: return EXPORTED;
+        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.domains.v1.Registration.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;
@@ -604,18 +526,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Possible issues with a `Registration` that require attention.
    * 
* * Protobuf enum {@code google.cloud.domains.v1.Registration.Issue} */ - public enum Issue implements com.google.protobuf.ProtocolMessageEnum { + public enum Issue + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The issue is undefined.
      * 
@@ -624,8 +543,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ ISSUE_UNSPECIFIED(0), /** - * - * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -634,8 +551,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ CONTACT_SUPPORT(1), /** - * - * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -654,8 +569,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The issue is undefined.
      * 
@@ -664,8 +577,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ISSUE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -674,8 +585,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTACT_SUPPORT_VALUE = 1; /** - * - * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -691,6 +600,7 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNVERIFIED_EMAIL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -715,49 +625,49 @@ public static Issue valueOf(int value) {
      */
     public static Issue forNumber(int value) {
       switch (value) {
-        case 0:
-          return ISSUE_UNSPECIFIED;
-        case 1:
-          return CONTACT_SUPPORT;
-        case 2:
-          return UNVERIFIED_EMAIL;
-        default:
-          return null;
+        case 0: return ISSUE_UNSPECIFIED;
+        case 1: return CONTACT_SUPPORT;
+        case 2: return UNVERIFIED_EMAIL;
+        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<
+        Issue> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Issue findValueByNumber(int number) {
+              return Issue.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Issue findValueByNumber(int number) {
-            return Issue.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.domains.v1.Registration.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Issue[] VALUES = values();
 
-    public static Issue valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Issue 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;
@@ -777,15 +687,12 @@ private Issue(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -794,30 +701,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 `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * 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 { @@ -828,16 +735,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DOMAIN_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object domainName_; /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The domainName. */ @java.lang.Override @@ -846,31 +748,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -881,15 +781,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -897,15 +793,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -913,14 +805,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -930,15 +819,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -946,15 +831,11 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -962,14 +843,11 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -979,89 +857,61 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 7; private int state_; /** - * - * *
    * Output only. The state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.Registration.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 state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.domains.v1.Registration.State getState() { + @java.lang.Override public com.google.cloud.domains.v1.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.Registration.State result = - com.google.cloud.domains.v1.Registration.State.valueOf(state_); + com.google.cloud.domains.v1.Registration.State result = com.google.cloud.domains.v1.Registration.State.valueOf(state_); return result == null ? com.google.cloud.domains.v1.Registration.State.UNRECOGNIZED : result; } public static final int ISSUES_FIELD_NUMBER = 8; private java.util.List issues_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue> - issues_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue> issues_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue>() { public com.google.cloud.domains.v1.Registration.Issue convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.Registration.Issue result = - com.google.cloud.domains.v1.Registration.Issue.valueOf(from); - return result == null - ? com.google.cloud.domains.v1.Registration.Issue.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.Registration.Issue result = com.google.cloud.domains.v1.Registration.Issue.valueOf(from); + return result == null ? com.google.cloud.domains.v1.Registration.Issue.UNRECOGNIZED : result; } }; /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the issues. */ @java.lang.Override public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue>( - issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue>(issues_, issues_converter_); } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of issues. */ @java.lang.Override @@ -1069,16 +919,11 @@ public int getIssuesCount() { return issues_.size(); } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The issues at the given index. */ @@ -1087,33 +932,24 @@ public com.google.cloud.domains.v1.Registration.Issue getIssues(int index) { return issues_converter_.convert(issues_.get(index)); } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for issues. */ @java.lang.Override - public java.util.List getIssuesValueList() { + public java.util.List + getIssuesValueList() { return issues_; } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -1121,27 +957,27 @@ public java.util.List getIssuesValueList() { public int getIssuesValue(int index) { return issues_.get(index); } - private int issuesMemoizedSerializedSize; public static final int LABELS_FIELD_NUMBER = 9; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1150,30 +986,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ + @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(); } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1181,12 +1015,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1194,16 +1027,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1211,11 +1044,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 9; */ @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(); } @@ -1225,8 +1059,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 10; private com.google.cloud.domains.v1.ManagementSettings managementSettings_; /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1235,7 +1067,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; - * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -1243,8 +1074,6 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1253,18 +1082,13 @@ public boolean hasManagementSettings() {
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; - * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1.ManagementSettings getManagementSettings() { - return managementSettings_ == null - ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_; } /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1282,8 +1106,6 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett
   public static final int DNS_SETTINGS_FIELD_NUMBER = 11;
   private com.google.cloud.domains.v1.DnsSettings dnsSettings_;
   /**
-   *
-   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1291,7 +1113,6 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; - * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -1299,8 +1120,6 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1308,18 +1127,13 @@ public boolean hasDnsSettings() {
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; - * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings getDnsSettings() { - return dnsSettings_ == null - ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_; } /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1336,18 +1150,13 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
   public static final int CONTACT_SETTINGS_FIELD_NUMBER = 12;
   private com.google.cloud.domains.v1.ContactSettings contactSettings_;
   /**
-   *
-   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -1355,38 +1164,27 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings getContactSettings() { - return contactSettings_ == null - ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; } /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOrBuilder() { @@ -1396,8 +1194,6 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr public static final int PENDING_CONTACT_SETTINGS_FIELD_NUMBER = 13; private com.google.cloud.domains.v1.ContactSettings pendingContactSettings_; /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1408,10 +1204,7 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pendingContactSettings field is set. */ @java.lang.Override @@ -1419,8 +1212,6 @@ public boolean hasPendingContactSettings() { return pendingContactSettings_ != null; } /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1431,21 +1222,14 @@ public boolean hasPendingContactSettings() {
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pendingContactSettings. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings getPendingContactSettings() { - return pendingContactSettings_ == null - ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() - : pendingContactSettings_; + return pendingContactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : pendingContactSettings_; } /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1456,9 +1240,7 @@ public com.google.cloud.domains.v1.ContactSettings getPendingContactSettings() {
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { @@ -1468,51 +1250,36 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getPendingContactSet public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 14; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> - supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>() { public com.google.cloud.domains.v1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactPrivacy result = - com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); - return result == null - ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.ContactPrivacy result = com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); + return result == null ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED : result; } }; /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of supportedPrivacy. */ @java.lang.Override @@ -1520,17 +1287,12 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1539,35 +1301,26 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return supportedPrivacy_; } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1575,11 +1328,9 @@ public java.util.List getSupportedPrivacyValueList() { public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } - private int supportedPrivacyMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1591,7 +1342,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -1615,8 +1367,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < issues_.size(); i++) { output.writeEnumNoTag(issues_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 9); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 9); if (managementSettings_ != null) { output.writeMessage(10, getManagementSettings()); } @@ -1652,61 +1408,66 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domainName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getExpireTime()); } if (state_ != com.google.cloud.domains.v1.Registration.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } { int dataSize = 0; for (int i = 0; i < issues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(issues_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(issues_.get(i)); } size += dataSize; - if (!getIssuesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - issuesMemoizedSerializedSize = dataSize; - } - 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(9, labels__); + if (!getIssuesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }issuesMemoizedSerializedSize = dataSize; + } + 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(9, labels__); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getManagementSettings()); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getDnsSettings()); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getContactSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getContactSettings()); } if (pendingContactSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(13, getPendingContactSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getPendingContactSettings()); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedPrivacyMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1716,41 +1477,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1.Registration)) { return super.equals(obj); } com.google.cloud.domains.v1.Registration other = (com.google.cloud.domains.v1.Registration) obj; - if (!getName().equals(other.getName())) return false; - if (!getDomainName().equals(other.getDomainName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDomainName() + .equals(other.getDomainName())) 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 (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (state_ != other.state_) return false; if (!issues_.equals(other.issues_)) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings().equals(other.getManagementSettings())) return false; + if (!getManagementSettings() + .equals(other.getManagementSettings())) return false; } if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings().equals(other.getDnsSettings())) return false; + if (!getDnsSettings() + .equals(other.getDnsSettings())) return false; } if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings().equals(other.getContactSettings())) return false; + if (!getContactSettings() + .equals(other.getContactSettings())) return false; } if (hasPendingContactSettings() != other.hasPendingContactSettings()) return false; if (hasPendingContactSettings()) { - if (!getPendingContactSettings().equals(other.getPendingContactSettings())) return false; + if (!getPendingContactSettings() + .equals(other.getPendingContactSettings())) return false; } if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1811,104 +1581,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.Registration parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.Registration parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.Registration parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.Registration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.Registration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.Registration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.Registration parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.Registration parseFrom(java.io.InputStream input) 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.domains.v1.Registration parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.Registration parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.Registration parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.Registration parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.Registration parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.Registration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.Registration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The `Registration` resource facilitates managing and configuring domain name
    * registrations.
@@ -1927,43 +1690,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.domains.v1.Registration}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.Registration)
       com.google.cloud.domains.v1.RegistrationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_Registration_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 9:
           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 9:
           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.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.Registration.class,
-              com.google.cloud.domains.v1.Registration.Builder.class);
+              com.google.cloud.domains.v1.Registration.class, com.google.cloud.domains.v1.Registration.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1.Registration.newBuilder()
@@ -1971,15 +1734,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2034,9 +1798,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.domains.v1.DomainsProto
-          .internal_static_google_cloud_domains_v1_Registration_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_descriptor;
     }
 
     @java.lang.Override
@@ -2055,8 +1819,7 @@ public com.google.cloud.domains.v1.Registration build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1.Registration buildPartial() {
-      com.google.cloud.domains.v1.Registration result =
-          new com.google.cloud.domains.v1.Registration(this);
+      com.google.cloud.domains.v1.Registration result = new com.google.cloud.domains.v1.Registration(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.domainName_ = domainName_;
@@ -2111,39 +1874,38 @@ public com.google.cloud.domains.v1.Registration buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1.Registration) {
-        return mergeFrom((com.google.cloud.domains.v1.Registration) other);
+        return mergeFrom((com.google.cloud.domains.v1.Registration)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2179,7 +1941,8 @@ public Builder mergeFrom(com.google.cloud.domains.v1.Registration other) {
         }
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.hasManagementSettings()) {
         mergeManagementSettings(other.getManagementSettings());
       }
@@ -2230,26 +1993,23 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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; @@ -2258,22 +2018,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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 { @@ -2281,64 +2040,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2346,22 +2098,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object domainName_ = ""; /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -2370,23 +2118,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -2394,67 +2139,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -2462,58 +2194,39 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2528,18 +2241,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } - /** - * - * + /** *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2550,21 +2260,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2576,15 +2282,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2598,64 +2300,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2663,58 +2349,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -2730,17 +2397,14 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -2751,21 +2415,17 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -2777,15 +2437,11 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -2799,64 +2455,48 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -2864,73 +2504,51 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.Registration.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 state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.domains.v1.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.Registration.State result = - com.google.cloud.domains.v1.Registration.State.valueOf(state_); + com.google.cloud.domains.v1.Registration.State result = com.google.cloud.domains.v1.Registration.State.valueOf(state_); return result == null ? com.google.cloud.domains.v1.Registration.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2938,33 +2556,28 @@ public Builder setState(com.google.cloud.domains.v1.Registration.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private java.util.List issues_ = java.util.Collections.emptyList(); - + private java.util.List issues_ = + java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); @@ -2972,50 +2585,34 @@ private void ensureIssuesIsMutable() { } } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the issues. */ public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue>( - issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue>(issues_, issues_converter_); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of issues. */ public int getIssuesCount() { return issues_.size(); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The issues at the given index. */ @@ -3023,21 +2620,17 @@ public com.google.cloud.domains.v1.Registration.Issue getIssues(int index) { return issues_converter_.convert(issues_.get(index)); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The issues to set. * @return This builder for chaining. */ - public Builder setIssues(int index, com.google.cloud.domains.v1.Registration.Issue value) { + public Builder setIssues( + int index, com.google.cloud.domains.v1.Registration.Issue value) { if (value == null) { throw new NullPointerException(); } @@ -3047,16 +2640,11 @@ public Builder setIssues(int index, com.google.cloud.domains.v1.Registration.Iss return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The issues to add. * @return This builder for chaining. */ @@ -3070,16 +2658,11 @@ public Builder addIssues(com.google.cloud.domains.v1.Registration.Issue value) { return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The issues to add. * @return This builder for chaining. */ @@ -3093,16 +2676,11 @@ public Builder addAllIssues( return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearIssues() { @@ -3112,32 +2690,23 @@ public Builder clearIssues() { return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for issues. */ - public java.util.List getIssuesValueList() { + public java.util.List + getIssuesValueList() { return java.util.Collections.unmodifiableList(issues_); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -3145,37 +2714,28 @@ public int getIssuesValue(int index) { return issues_.get(index); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. * @return This builder for chaining. */ - public Builder setIssuesValue(int index, int value) { + public Builder setIssuesValue( + int index, int value) { ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for issues to add. * @return This builder for chaining. */ @@ -3186,20 +2746,16 @@ public Builder addIssuesValue(int value) { return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for issues to add. * @return This builder for chaining. */ - public Builder addAllIssuesValue(java.lang.Iterable values) { + public Builder addAllIssuesValue( + java.lang.Iterable values) { ensureIssuesIsMutable(); for (int value : values) { issues_.add(value); @@ -3208,21 +2764,22 @@ public Builder addAllIssuesValue(java.lang.Iterable values) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3234,30 +2791,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ + @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(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3265,12 +2820,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3278,17 +2832,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3296,11 +2849,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 9; */ @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(); } @@ -3308,73 +2862,71 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private com.google.cloud.domains.v1.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ManagementSettings, - com.google.cloud.domains.v1.ManagementSettings.Builder, - com.google.cloud.domains.v1.ManagementSettingsOrBuilder> - managementSettingsBuilder_; + com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder> managementSettingsBuilder_; /** - * - * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3383,15 +2935,12 @@ public Builder putAllLabels(java.util.Map va
      * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; - * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** - * - * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3400,21 +2949,16 @@ public boolean hasManagementSettings() {
      * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; - * * @return The managementSettings. */ public com.google.cloud.domains.v1.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null - ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** - * - * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3438,8 +2982,6 @@ public Builder setManagementSettings(com.google.cloud.domains.v1.ManagementSetti
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3461,8 +3003,6 @@ public Builder setManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3476,9 +3016,7 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1.ManagementSet
       if (managementSettingsBuilder_ == null) {
         if (managementSettings_ != null) {
           managementSettings_ =
-              com.google.cloud.domains.v1.ManagementSettings.newBuilder(managementSettings_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.domains.v1.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial();
         } else {
           managementSettings_ = value;
         }
@@ -3490,8 +3028,6 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1.ManagementSet
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3513,8 +3049,6 @@ public Builder clearManagementSettings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3525,13 +3059,11 @@ public Builder clearManagementSettings() {
      * .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      */
     public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSettingsBuilder() {
-
+      
       onChanged();
       return getManagementSettingsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3541,19 +3073,15 @@ public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSetti
      *
      * .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      */
-    public com.google.cloud.domains.v1.ManagementSettingsOrBuilder
-        getManagementSettingsOrBuilder() {
+    public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() {
       if (managementSettingsBuilder_ != null) {
         return managementSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return managementSettings_ == null
-            ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance()
-            : managementSettings_;
+        return managementSettings_ == null ?
+            com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3564,17 +3092,14 @@ public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSetti
      * .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.ManagementSettings,
-            com.google.cloud.domains.v1.ManagementSettings.Builder,
-            com.google.cloud.domains.v1.ManagementSettingsOrBuilder>
+        com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder> 
         getManagementSettingsFieldBuilder() {
       if (managementSettingsBuilder_ == null) {
-        managementSettingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.domains.v1.ManagementSettings,
-                com.google.cloud.domains.v1.ManagementSettings.Builder,
-                com.google.cloud.domains.v1.ManagementSettingsOrBuilder>(
-                getManagementSettings(), getParentForChildren(), isClean());
+        managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder>(
+                getManagementSettings(),
+                getParentForChildren(),
+                isClean());
         managementSettings_ = null;
       }
       return managementSettingsBuilder_;
@@ -3582,13 +3107,8 @@ public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSetti
 
     private com.google.cloud.domains.v1.DnsSettings dnsSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.DnsSettings,
-            com.google.cloud.domains.v1.DnsSettings.Builder,
-            com.google.cloud.domains.v1.DnsSettingsOrBuilder>
-        dnsSettingsBuilder_;
+        com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder> dnsSettingsBuilder_;
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3596,15 +3116,12 @@ public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSetti
      * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; - * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** - * - * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3612,21 +3129,16 @@ public boolean hasDnsSettings() {
      * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; - * * @return The dnsSettings. */ public com.google.cloud.domains.v1.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null - ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** - * - * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3649,8 +3161,6 @@ public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3659,7 +3169,8 @@ public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings value) {
      *
      * .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      */
-    public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings.Builder builderForValue) {
+    public Builder setDnsSettings(
+        com.google.cloud.domains.v1.DnsSettings.Builder builderForValue) {
       if (dnsSettingsBuilder_ == null) {
         dnsSettings_ = builderForValue.build();
         onChanged();
@@ -3670,8 +3181,6 @@ public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3684,9 +3193,7 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1.DnsSettings value) {
       if (dnsSettingsBuilder_ == null) {
         if (dnsSettings_ != null) {
           dnsSettings_ =
-              com.google.cloud.domains.v1.DnsSettings.newBuilder(dnsSettings_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.domains.v1.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial();
         } else {
           dnsSettings_ = value;
         }
@@ -3698,8 +3205,6 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1.DnsSettings value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3720,8 +3225,6 @@ public Builder clearDnsSettings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3731,13 +3234,11 @@ public Builder clearDnsSettings() {
      * .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      */
     public com.google.cloud.domains.v1.DnsSettings.Builder getDnsSettingsBuilder() {
-
+      
       onChanged();
       return getDnsSettingsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3750,14 +3251,11 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
       if (dnsSettingsBuilder_ != null) {
         return dnsSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return dnsSettings_ == null
-            ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance()
-            : dnsSettings_;
+        return dnsSettings_ == null ?
+            com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3767,17 +3265,14 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
      * .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.DnsSettings,
-            com.google.cloud.domains.v1.DnsSettings.Builder,
-            com.google.cloud.domains.v1.DnsSettingsOrBuilder>
+        com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder> 
         getDnsSettingsFieldBuilder() {
       if (dnsSettingsBuilder_ == null) {
-        dnsSettingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.domains.v1.DnsSettings,
-                com.google.cloud.domains.v1.DnsSettings.Builder,
-                com.google.cloud.domains.v1.DnsSettingsOrBuilder>(
-                getDnsSettings(), getParentForChildren(), isClean());
+        dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder>(
+                getDnsSettings(),
+                getParentForChildren(),
+                isClean());
         dnsSettings_ = null;
       }
       return dnsSettingsBuilder_;
@@ -3785,64 +3280,45 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
 
     private com.google.cloud.domains.v1.ContactSettings contactSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.ContactSettings,
-            com.google.cloud.domains.v1.ContactSettings.Builder,
-            com.google.cloud.domains.v1.ContactSettingsOrBuilder>
-        contactSettingsBuilder_;
+        com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> contactSettingsBuilder_;
     /**
-     *
-     *
      * 
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The contactSettings. */ public com.google.cloud.domains.v1.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null - ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setContactSettings(com.google.cloud.domains.v1.ContactSettings value) { if (contactSettingsBuilder_ == null) { @@ -3858,17 +3334,13 @@ public Builder setContactSettings(com.google.cloud.domains.v1.ContactSettings va return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setContactSettings( com.google.cloud.domains.v1.ContactSettings.Builder builderForValue) { @@ -3882,25 +3354,19 @@ public Builder setContactSettings( return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeContactSettings(com.google.cloud.domains.v1.ContactSettings value) { if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1.ContactSettings.newBuilder(contactSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); } else { contactSettings_ = value; } @@ -3912,17 +3378,13 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1.ContactSettings return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearContactSettings() { if (contactSettingsBuilder_ == null) { @@ -3936,70 +3398,54 @@ public Builder clearContactSettings() { return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOrBuilder() { if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null - ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? + com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; } } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, - com.google.cloud.domains.v1.ContactSettings.Builder, - com.google.cloud.domains.v1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, - com.google.cloud.domains.v1.ContactSettings.Builder, - com.google.cloud.domains.v1.ContactSettingsOrBuilder>( - getContactSettings(), getParentForChildren(), isClean()); + contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder>( + getContactSettings(), + getParentForChildren(), + isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -4007,13 +3453,8 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr private com.google.cloud.domains.v1.ContactSettings pendingContactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, - com.google.cloud.domains.v1.ContactSettings.Builder, - com.google.cloud.domains.v1.ContactSettingsOrBuilder> - pendingContactSettingsBuilder_; + com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> pendingContactSettingsBuilder_; /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4024,18 +3465,13 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pendingContactSettings field is set. */ public boolean hasPendingContactSettings() { return pendingContactSettingsBuilder_ != null || pendingContactSettings_ != null; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4046,24 +3482,17 @@ public boolean hasPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pendingContactSettings. */ public com.google.cloud.domains.v1.ContactSettings getPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { - return pendingContactSettings_ == null - ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() - : pendingContactSettings_; + return pendingContactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : pendingContactSettings_; } else { return pendingContactSettingsBuilder_.getMessage(); } } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4074,9 +3503,7 @@ public com.google.cloud.domains.v1.ContactSettings getPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPendingContactSettings(com.google.cloud.domains.v1.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { @@ -4092,8 +3519,6 @@ public Builder setPendingContactSettings(com.google.cloud.domains.v1.ContactSett return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4104,9 +3529,7 @@ public Builder setPendingContactSettings(com.google.cloud.domains.v1.ContactSett
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPendingContactSettings( com.google.cloud.domains.v1.ContactSettings.Builder builderForValue) { @@ -4120,8 +3543,6 @@ public Builder setPendingContactSettings( return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4132,17 +3553,13 @@ public Builder setPendingContactSettings(
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePendingContactSettings(com.google.cloud.domains.v1.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { if (pendingContactSettings_ != null) { pendingContactSettings_ = - com.google.cloud.domains.v1.ContactSettings.newBuilder(pendingContactSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.ContactSettings.newBuilder(pendingContactSettings_).mergeFrom(value).buildPartial(); } else { pendingContactSettings_ = value; } @@ -4154,8 +3571,6 @@ public Builder mergePendingContactSettings(com.google.cloud.domains.v1.ContactSe return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4166,9 +3581,7 @@ public Builder mergePendingContactSettings(com.google.cloud.domains.v1.ContactSe
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { @@ -4182,8 +3595,6 @@ public Builder clearPendingContactSettings() { return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4194,18 +3605,14 @@ public Builder clearPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1.ContactSettings.Builder getPendingContactSettingsBuilder() { - + onChanged(); return getPendingContactSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4216,23 +3623,17 @@ public com.google.cloud.domains.v1.ContactSettings.Builder getPendingContactSett
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.domains.v1.ContactSettingsOrBuilder - getPendingContactSettingsOrBuilder() { + public com.google.cloud.domains.v1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { if (pendingContactSettingsBuilder_ != null) { return pendingContactSettingsBuilder_.getMessageOrBuilder(); } else { - return pendingContactSettings_ == null - ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() - : pendingContactSettings_; + return pendingContactSettings_ == null ? + com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : pendingContactSettings_; } } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4243,29 +3644,24 @@ public com.google.cloud.domains.v1.ContactSettings.Builder getPendingContactSett
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, - com.google.cloud.domains.v1.ContactSettings.Builder, - com.google.cloud.domains.v1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> getPendingContactSettingsFieldBuilder() { if (pendingContactSettingsBuilder_ == null) { - pendingContactSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, - com.google.cloud.domains.v1.ContactSettings.Builder, - com.google.cloud.domains.v1.ContactSettingsOrBuilder>( - getPendingContactSettings(), getParentForChildren(), isClean()); + pendingContactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder>( + getPendingContactSettings(), + getParentForChildren(), + isClean()); pendingContactSettings_ = null; } return pendingContactSettingsBuilder_; } - private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); - + private java.util.List supportedPrivacy_ = + java.util.Collections.emptyList(); private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -4273,53 +3669,37 @@ private void ensureSupportedPrivacyIsMutable() { } } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the supportedPrivacy. */ public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -4327,17 +3707,12 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -4353,17 +3728,12 @@ public Builder setSupportedPrivacy( return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -4377,17 +3747,12 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1.ContactPrivacy va return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -4401,17 +3766,12 @@ public Builder addAllSupportedPrivacy( return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -4421,34 +3781,25 @@ public Builder clearSupportedPrivacy() { return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -4456,39 +3807,30 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue(int index, int value) { + public Builder setSupportedPrivacyValue( + int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -4499,21 +3841,17 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue( + java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -4521,9 +3859,9 @@ public Builder addAllSupportedPrivacyValue(java.lang.Iterable onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4533,12 +3871,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.Registration) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.Registration) private static final com.google.cloud.domains.v1.Registration DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.Registration(); } @@ -4547,16 +3885,16 @@ public static com.google.cloud.domains.v1.Registration getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Registration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Registration(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Registration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Registration(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4571,4 +3909,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.Registration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationName.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationName.java similarity index 100% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationName.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationName.java diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java similarity index 71% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java index 14bf023b..638b2fc8 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java @@ -1,265 +1,177 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RegistrationOrBuilder - extends +public interface RegistrationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.Registration) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Output only. The state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.domains.v1.Registration.State getState(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the issues. */ java.util.List getIssuesList(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of issues. */ int getIssuesCount(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The issues at the given index. */ com.google.cloud.domains.v1.Registration.Issue getIssues(int index); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for issues. */ - java.util.List getIssuesValueList(); + java.util.List + getIssuesValueList(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ int getIssuesValue(int index); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -268,31 +180,30 @@ public interface RegistrationOrBuilder */ int getLabelsCount(); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - 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(); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -301,24 +212,22 @@ public interface RegistrationOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -327,13 +236,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; - * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -342,13 +248,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; - * * @return The managementSettings. */ com.google.cloud.domains.v1.ManagementSettings getManagementSettings(); /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -361,8 +264,6 @@ java.lang.String getLabelsOrDefault(
   com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -370,13 +271,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; - * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -384,13 +282,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; - * * @return The dnsSettings. */ com.google.cloud.domains.v1.DnsSettings getDnsSettings(); /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -402,55 +297,39 @@ java.lang.String getLabelsOrDefault(
   com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The contactSettings. */ com.google.cloud.domains.v1.ContactSettings getContactSettings(); /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -461,16 +340,11 @@ java.lang.String getLabelsOrDefault(
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pendingContactSettings field is set. */ boolean hasPendingContactSettings(); /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -481,16 +355,11 @@ java.lang.String getLabelsOrDefault(
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pendingContactSettings. */ com.google.cloud.domains.v1.ContactSettings getPendingContactSettings(); /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -501,85 +370,59 @@ java.lang.String getLabelsOrDefault(
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.domains.v1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List getSupportedPrivacyValueList(); + java.util.List + getSupportedPrivacyValueList(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java similarity index 65% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java index 778f1864..bf72c886 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `ResetAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ResetAuthorizationCodeRequest} */ -public final class ResetAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResetAuthorizationCodeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ResetAuthorizationCodeRequest) ResetAuthorizationCodeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResetAuthorizationCodeRequest.newBuilder() to construct. private ResetAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResetAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResetAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResetAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResetAuthorizationCodeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registration_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResetAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.class, - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -205,15 +178,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.domains.v1.ResetAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest other = - (com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest other = (com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ResetAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ResetAuthorizationCodeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ResetAuthorizationCodeRequest) com.google.cloud.domains.v1.ResetAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.class, - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.domains.v1.ResetAuthorizationCodeRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ResetAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest result = - new com.google.cloud.domains.v1.ResetAuthorizationCodeRequest(this); + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest result = new com.google.cloud.domains.v1.ResetAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.domains.v1.ResetAuthorizationCodeRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) other); + return mergeFrom((com.google.cloud.domains.v1.ResetAuthorizationCodeRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest other) { - if (other == com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -514,24 +470,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ResetAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ResetAuthorizationCodeRequest) private static final com.google.cloud.domains.v1.ResetAuthorizationCodeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ResetAuthorizationCodeRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResetAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.domains.v1.ResetAuthorizationCodeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..f0305f7d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1/domains.proto + +package com.google.cloud.domains.v1; + +public interface ResetAuthorizationCodeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ResetAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The registration. + */ + java.lang.String getRegistration(); + /** + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for registration. + */ + com.google.protobuf.ByteString + getRegistrationBytes(); +} diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java similarity index 64% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java index f9045b83..ab649e6b 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `RetrieveAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveAuthorizationCodeRequest} */ -public final class RetrieveAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveAuthorizationCodeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) RetrieveAuthorizationCodeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveAuthorizationCodeRequest.newBuilder() to construct. - private RetrieveAuthorizationCodeRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private RetrieveAuthorizationCodeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registration_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,42 +73,35 @@ private RetrieveAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.class, - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -136,32 +110,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -206,15 +178,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.domains.v1.RetrieveAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest other = - (com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest other = (com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveAuthorizationCodeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.class, - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.newBuilder() @@ -362,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.getDefaultInstance(); } @@ -402,8 +364,7 @@ public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest build() { @java.lang.Override public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest result = - new com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest(this); + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest result = new com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -413,39 +374,38 @@ public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) other); + return mergeFrom((com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest)other); } else { super.mergeFrom(other); return this; @@ -453,9 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest other) { - if (other - == com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -479,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -492,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -517,24 +470,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -542,77 +492,64 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -622,13 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) - private static final com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest(); } @@ -637,16 +573,16 @@ public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +597,6 @@ public com.google.protobuf.Parser getParserFor public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..9ade7d1d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1/domains.proto + +package com.google.cloud.domains.v1; + +public interface RetrieveAuthorizationCodeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The registration. + */ + java.lang.String getRegistration(); + /** + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for registration. + */ + com.google.protobuf.ByteString + getRegistrationBytes(); +} diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java similarity index 66% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java index 6a4e8280..1345051d 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveRegisterParametersRequest} */ -public final class RetrieveRegisterParametersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveRegisterParametersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RetrieveRegisterParametersRequest) RetrieveRegisterParametersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersRequest.newBuilder() to construct. - private RetrieveRegisterParametersRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveRegisterParametersRequest() { domainName_ = ""; location_ = ""; @@ -45,15 +26,16 @@ private RetrieveRegisterParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveRegisterParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveRegisterParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,25 @@ private RetrieveRegisterParametersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +80,34 @@ private RetrieveRegisterParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.class, - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ @java.lang.Override @@ -141,29 +116,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -174,16 +149,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -192,31 +162,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -225,7 +193,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -267,16 +235,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.domains.v1.RetrieveRegisterParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest other = - (com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) obj; + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest other = (com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) obj; - if (!getDomainName().equals(other.getDomainName())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,127 +267,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.RetrieveRegisterParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveRegisterParametersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RetrieveRegisterParametersRequest) com.google.cloud.domains.v1.RetrieveRegisterParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.class, - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.newBuilder() @@ -426,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -446,14 +406,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.getDefaultInstance(); } @@ -468,8 +427,7 @@ public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest build() { @java.lang.Override public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest buildPartial() { - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest result = - new com.google.cloud.domains.v1.RetrieveRegisterParametersRequest(this); + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest result = new com.google.cloud.domains.v1.RetrieveRegisterParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -480,39 +438,38 @@ public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) { - return mergeFrom((com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) other); + return mergeFrom((com.google.cloud.domains.v1.RetrieveRegisterParametersRequest)other); } else { super.mergeFrom(other); return this; @@ -520,9 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RetrieveRegisterParametersRequest other) { - if (other - == com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -550,9 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -586,21 +537,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -608,61 +558,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -670,22 +613,18 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -694,23 +633,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -718,74 +654,61 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,13 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RetrieveRegisterParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RetrieveRegisterParametersRequest) - private static final com.google.cloud.domains.v1.RetrieveRegisterParametersRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1.RetrieveRegisterParametersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RetrieveRegisterParametersRequest(); } @@ -810,16 +732,16 @@ public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,4 +756,6 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java index bea54674..6b1a0796 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RetrieveRegisterParametersRequestOrBuilder - extends +public interface RetrieveRegisterParametersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveRegisterParametersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java similarity index 66% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java index 43dd3152..a08562cf 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Response for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveRegisterParametersResponse} */ -public final class RetrieveRegisterParametersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveRegisterParametersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RetrieveRegisterParametersResponse) RetrieveRegisterParametersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersResponse.newBuilder() to construct. - private RetrieveRegisterParametersResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RetrieveRegisterParametersResponse() {} + private RetrieveRegisterParametersResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveRegisterParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveRegisterParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,29 +52,26 @@ private RetrieveRegisterParametersResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.domains.v1.RegisterParameters.Builder subBuilder = null; - if (registerParameters_ != null) { - subBuilder = registerParameters_.toBuilder(); - } - registerParameters_ = - input.readMessage( - com.google.cloud.domains.v1.RegisterParameters.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registerParameters_); - registerParameters_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.domains.v1.RegisterParameters.Builder subBuilder = null; + if (registerParameters_ != null) { + subBuilder = registerParameters_.toBuilder(); + } + registerParameters_ = input.readMessage(com.google.cloud.domains.v1.RegisterParameters.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registerParameters_); + registerParameters_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +79,34 @@ private RetrieveRegisterParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.class, - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1.RegisterParameters registerParameters_; /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; - * * @return Whether the registerParameters field is set. */ @java.lang.Override @@ -139,25 +114,18 @@ public boolean hasRegisterParameters() { return registerParameters_ != null; } /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; - * * @return The registerParameters. */ @java.lang.Override public com.google.cloud.domains.v1.RegisterParameters getRegisterParameters() { - return registerParameters_ == null - ? com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() - : registerParameters_; + return registerParameters_ == null ? com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() : registerParameters_; } /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
@@ -170,7 +138,6 @@ public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParame } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (registerParameters_ != null) { output.writeMessage(1, getRegisterParameters()); } @@ -196,7 +164,8 @@ public int getSerializedSize() { size = 0; if (registerParameters_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegisterParameters()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRegisterParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -206,17 +175,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.domains.v1.RetrieveRegisterParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse other = - (com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) obj; + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse other = (com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) obj; if (hasRegisterParameters() != other.hasRegisterParameters()) return false; if (hasRegisterParameters()) { - if (!getRegisterParameters().equals(other.getRegisterParameters())) return false; + if (!getRegisterParameters() + .equals(other.getRegisterParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -239,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.RetrieveRegisterParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveRegisterParametersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RetrieveRegisterParametersResponse) com.google.cloud.domains.v1.RetrieveRegisterParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.class, - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.Builder.class); } // Construct using com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.newBuilder() @@ -367,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -389,14 +349,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse - getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse getDefaultInstanceForType() { return com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.getDefaultInstance(); } @@ -411,8 +370,7 @@ public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse build() { @java.lang.Override public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse buildPartial() { - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse result = - new com.google.cloud.domains.v1.RetrieveRegisterParametersResponse(this); + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse result = new com.google.cloud.domains.v1.RetrieveRegisterParametersResponse(this); if (registerParametersBuilder_ == null) { result.registerParameters_ = registerParameters_; } else { @@ -426,39 +384,38 @@ public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) { - return mergeFrom((com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) other); + return mergeFrom((com.google.cloud.domains.v1.RetrieveRegisterParametersResponse)other); } else { super.mergeFrom(other); return this; @@ -466,9 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RetrieveRegisterParametersResponse other) { - if (other - == com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.getDefaultInstance()) return this; if (other.hasRegisterParameters()) { mergeRegisterParameters(other.getRegisterParameters()); } @@ -491,9 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -505,47 +458,34 @@ public Builder mergeFrom( private com.google.cloud.domains.v1.RegisterParameters registerParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, - com.google.cloud.domains.v1.RegisterParameters.Builder, - com.google.cloud.domains.v1.RegisterParametersOrBuilder> - registerParametersBuilder_; + com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder> registerParametersBuilder_; /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; - * * @return Whether the registerParameters field is set. */ public boolean hasRegisterParameters() { return registerParametersBuilder_ != null || registerParameters_ != null; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; - * * @return The registerParameters. */ public com.google.cloud.domains.v1.RegisterParameters getRegisterParameters() { if (registerParametersBuilder_ == null) { - return registerParameters_ == null - ? com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() - : registerParameters_; + return registerParameters_ == null ? com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() : registerParameters_; } else { return registerParametersBuilder_.getMessage(); } } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -566,8 +506,6 @@ public Builder setRegisterParameters(com.google.cloud.domains.v1.RegisterParamet return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -586,8 +524,6 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -598,9 +534,7 @@ public Builder mergeRegisterParameters(com.google.cloud.domains.v1.RegisterParam if (registerParametersBuilder_ == null) { if (registerParameters_ != null) { registerParameters_ = - com.google.cloud.domains.v1.RegisterParameters.newBuilder(registerParameters_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.RegisterParameters.newBuilder(registerParameters_).mergeFrom(value).buildPartial(); } else { registerParameters_ = value; } @@ -612,8 +546,6 @@ public Builder mergeRegisterParameters(com.google.cloud.domains.v1.RegisterParam return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -632,8 +564,6 @@ public Builder clearRegisterParameters() { return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -641,32 +571,26 @@ public Builder clearRegisterParameters() { * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ public com.google.cloud.domains.v1.RegisterParameters.Builder getRegisterParametersBuilder() { - + onChanged(); return getRegisterParametersFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1.RegisterParametersOrBuilder - getRegisterParametersOrBuilder() { + public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParametersOrBuilder() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilder(); } else { - return registerParameters_ == null - ? com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() - : registerParameters_; + return registerParameters_ == null ? + com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() : registerParameters_; } } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -674,24 +598,21 @@ public com.google.cloud.domains.v1.RegisterParameters.Builder getRegisterParamet * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, - com.google.cloud.domains.v1.RegisterParameters.Builder, - com.google.cloud.domains.v1.RegisterParametersOrBuilder> + com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, - com.google.cloud.domains.v1.RegisterParameters.Builder, - com.google.cloud.domains.v1.RegisterParametersOrBuilder>( - getRegisterParameters(), getParentForChildren(), isClean()); + registerParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder>( + getRegisterParameters(), + getParentForChildren(), + isClean()); registerParameters_ = null; } return registerParametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,32 +622,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RetrieveRegisterParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RetrieveRegisterParametersResponse) - private static final com.google.cloud.domains.v1.RetrieveRegisterParametersResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1.RetrieveRegisterParametersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RetrieveRegisterParametersResponse(); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse - getDefaultInstance() { + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,8 +657,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse - getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java similarity index 62% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java index 848ea761..40019149 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RetrieveRegisterParametersResponseOrBuilder - extends +public interface RetrieveRegisterParametersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveRegisterParametersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; - * * @return Whether the registerParameters field is set. */ boolean hasRegisterParameters(); /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; - * * @return The registerParameters. */ com.google.cloud.domains.v1.RegisterParameters getRegisterParameters(); /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java similarity index 66% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java index b009dcac..20b96e6e 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveTransferParametersRequest} */ -public final class RetrieveTransferParametersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveTransferParametersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RetrieveTransferParametersRequest) RetrieveTransferParametersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersRequest.newBuilder() to construct. - private RetrieveTransferParametersRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveTransferParametersRequest() { domainName_ = ""; location_ = ""; @@ -45,15 +26,16 @@ private RetrieveTransferParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveTransferParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveTransferParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,25 @@ private RetrieveTransferParametersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +80,34 @@ private RetrieveTransferParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest.class, - com.google.cloud.domains.v1.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1.RetrieveTransferParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ @java.lang.Override @@ -141,29 +116,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -174,16 +149,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -192,31 +162,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -225,7 +193,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -267,16 +235,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.domains.v1.RetrieveTransferParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.RetrieveTransferParametersRequest other = - (com.google.cloud.domains.v1.RetrieveTransferParametersRequest) obj; + com.google.cloud.domains.v1.RetrieveTransferParametersRequest other = (com.google.cloud.domains.v1.RetrieveTransferParametersRequest) obj; - if (!getDomainName().equals(other.getDomainName())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,127 +267,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.RetrieveTransferParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveTransferParametersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RetrieveTransferParametersRequest) com.google.cloud.domains.v1.RetrieveTransferParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest.class, - com.google.cloud.domains.v1.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1.RetrieveTransferParametersRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.RetrieveTransferParametersRequest.newBuilder() @@ -426,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -446,14 +406,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveTransferParametersRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveTransferParametersRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1.RetrieveTransferParametersRequest.getDefaultInstance(); } @@ -468,8 +427,7 @@ public com.google.cloud.domains.v1.RetrieveTransferParametersRequest build() { @java.lang.Override public com.google.cloud.domains.v1.RetrieveTransferParametersRequest buildPartial() { - com.google.cloud.domains.v1.RetrieveTransferParametersRequest result = - new com.google.cloud.domains.v1.RetrieveTransferParametersRequest(this); + com.google.cloud.domains.v1.RetrieveTransferParametersRequest result = new com.google.cloud.domains.v1.RetrieveTransferParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -480,39 +438,38 @@ public com.google.cloud.domains.v1.RetrieveTransferParametersRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RetrieveTransferParametersRequest) { - return mergeFrom((com.google.cloud.domains.v1.RetrieveTransferParametersRequest) other); + return mergeFrom((com.google.cloud.domains.v1.RetrieveTransferParametersRequest)other); } else { super.mergeFrom(other); return this; @@ -520,9 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RetrieveTransferParametersRequest other) { - if (other - == com.google.cloud.domains.v1.RetrieveTransferParametersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.RetrieveTransferParametersRequest.getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -550,9 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.RetrieveTransferParametersRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.RetrieveTransferParametersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -586,21 +537,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -608,61 +558,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -670,22 +613,18 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -694,23 +633,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -718,74 +654,61 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,13 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RetrieveTransferParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RetrieveTransferParametersRequest) - private static final com.google.cloud.domains.v1.RetrieveTransferParametersRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1.RetrieveTransferParametersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RetrieveTransferParametersRequest(); } @@ -810,16 +732,16 @@ public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,4 +756,6 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.domains.v1.RetrieveTransferParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java index dcf23ba9..28744587 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RetrieveTransferParametersRequestOrBuilder - extends +public interface RetrieveTransferParametersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveTransferParametersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java similarity index 66% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java index 321ca079..0e5da395 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Response for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveTransferParametersResponse} */ -public final class RetrieveTransferParametersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveTransferParametersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RetrieveTransferParametersResponse) RetrieveTransferParametersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersResponse.newBuilder() to construct. - private RetrieveTransferParametersResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RetrieveTransferParametersResponse() {} + private RetrieveTransferParametersResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveTransferParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveTransferParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,29 +52,26 @@ private RetrieveTransferParametersResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.domains.v1.TransferParameters.Builder subBuilder = null; - if (transferParameters_ != null) { - subBuilder = transferParameters_.toBuilder(); - } - transferParameters_ = - input.readMessage( - com.google.cloud.domains.v1.TransferParameters.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferParameters_); - transferParameters_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.domains.v1.TransferParameters.Builder subBuilder = null; + if (transferParameters_ != null) { + subBuilder = transferParameters_.toBuilder(); + } + transferParameters_ = input.readMessage(com.google.cloud.domains.v1.TransferParameters.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferParameters_); + transferParameters_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +79,34 @@ private RetrieveTransferParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveTransferParametersResponse.class, - com.google.cloud.domains.v1.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1.RetrieveTransferParametersResponse.Builder.class); } public static final int TRANSFER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1.TransferParameters transferParameters_; /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; - * * @return Whether the transferParameters field is set. */ @java.lang.Override @@ -139,25 +114,18 @@ public boolean hasTransferParameters() { return transferParameters_ != null; } /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; - * * @return The transferParameters. */ @java.lang.Override public com.google.cloud.domains.v1.TransferParameters getTransferParameters() { - return transferParameters_ == null - ? com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() - : transferParameters_; + return transferParameters_ == null ? com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() : transferParameters_; } /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
@@ -170,7 +138,6 @@ public com.google.cloud.domains.v1.TransferParametersOrBuilder getTransferParame } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (transferParameters_ != null) { output.writeMessage(1, getTransferParameters()); } @@ -196,7 +164,8 @@ public int getSerializedSize() { size = 0; if (transferParameters_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferParameters()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTransferParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -206,17 +175,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.domains.v1.RetrieveTransferParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1.RetrieveTransferParametersResponse other = - (com.google.cloud.domains.v1.RetrieveTransferParametersResponse) obj; + com.google.cloud.domains.v1.RetrieveTransferParametersResponse other = (com.google.cloud.domains.v1.RetrieveTransferParametersResponse) obj; if (hasTransferParameters() != other.hasTransferParameters()) return false; if (hasTransferParameters()) { - if (!getTransferParameters().equals(other.getTransferParameters())) return false; + if (!getTransferParameters() + .equals(other.getTransferParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -239,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.RetrieveTransferParametersResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.RetrieveTransferParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveTransferParametersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RetrieveTransferParametersResponse) com.google.cloud.domains.v1.RetrieveTransferParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveTransferParametersResponse.class, - com.google.cloud.domains.v1.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1.RetrieveTransferParametersResponse.Builder.class); } // Construct using com.google.cloud.domains.v1.RetrieveTransferParametersResponse.newBuilder() @@ -367,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -389,14 +349,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveTransferParametersResponse - getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveTransferParametersResponse getDefaultInstanceForType() { return com.google.cloud.domains.v1.RetrieveTransferParametersResponse.getDefaultInstance(); } @@ -411,8 +370,7 @@ public com.google.cloud.domains.v1.RetrieveTransferParametersResponse build() { @java.lang.Override public com.google.cloud.domains.v1.RetrieveTransferParametersResponse buildPartial() { - com.google.cloud.domains.v1.RetrieveTransferParametersResponse result = - new com.google.cloud.domains.v1.RetrieveTransferParametersResponse(this); + com.google.cloud.domains.v1.RetrieveTransferParametersResponse result = new com.google.cloud.domains.v1.RetrieveTransferParametersResponse(this); if (transferParametersBuilder_ == null) { result.transferParameters_ = transferParameters_; } else { @@ -426,39 +384,38 @@ public com.google.cloud.domains.v1.RetrieveTransferParametersResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RetrieveTransferParametersResponse) { - return mergeFrom((com.google.cloud.domains.v1.RetrieveTransferParametersResponse) other); + return mergeFrom((com.google.cloud.domains.v1.RetrieveTransferParametersResponse)other); } else { super.mergeFrom(other); return this; @@ -466,9 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RetrieveTransferParametersResponse other) { - if (other - == com.google.cloud.domains.v1.RetrieveTransferParametersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.RetrieveTransferParametersResponse.getDefaultInstance()) return this; if (other.hasTransferParameters()) { mergeTransferParameters(other.getTransferParameters()); } @@ -491,9 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.RetrieveTransferParametersResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.RetrieveTransferParametersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -505,47 +458,34 @@ public Builder mergeFrom( private com.google.cloud.domains.v1.TransferParameters transferParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.TransferParameters, - com.google.cloud.domains.v1.TransferParameters.Builder, - com.google.cloud.domains.v1.TransferParametersOrBuilder> - transferParametersBuilder_; + com.google.cloud.domains.v1.TransferParameters, com.google.cloud.domains.v1.TransferParameters.Builder, com.google.cloud.domains.v1.TransferParametersOrBuilder> transferParametersBuilder_; /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; - * * @return Whether the transferParameters field is set. */ public boolean hasTransferParameters() { return transferParametersBuilder_ != null || transferParameters_ != null; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; - * * @return The transferParameters. */ public com.google.cloud.domains.v1.TransferParameters getTransferParameters() { if (transferParametersBuilder_ == null) { - return transferParameters_ == null - ? com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() - : transferParameters_; + return transferParameters_ == null ? com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() : transferParameters_; } else { return transferParametersBuilder_.getMessage(); } } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -566,8 +506,6 @@ public Builder setTransferParameters(com.google.cloud.domains.v1.TransferParamet return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -586,8 +524,6 @@ public Builder setTransferParameters( return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -598,9 +534,7 @@ public Builder mergeTransferParameters(com.google.cloud.domains.v1.TransferParam if (transferParametersBuilder_ == null) { if (transferParameters_ != null) { transferParameters_ = - com.google.cloud.domains.v1.TransferParameters.newBuilder(transferParameters_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.TransferParameters.newBuilder(transferParameters_).mergeFrom(value).buildPartial(); } else { transferParameters_ = value; } @@ -612,8 +546,6 @@ public Builder mergeTransferParameters(com.google.cloud.domains.v1.TransferParam return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -632,8 +564,6 @@ public Builder clearTransferParameters() { return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -641,32 +571,26 @@ public Builder clearTransferParameters() { * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; */ public com.google.cloud.domains.v1.TransferParameters.Builder getTransferParametersBuilder() { - + onChanged(); return getTransferParametersFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; */ - public com.google.cloud.domains.v1.TransferParametersOrBuilder - getTransferParametersOrBuilder() { + public com.google.cloud.domains.v1.TransferParametersOrBuilder getTransferParametersOrBuilder() { if (transferParametersBuilder_ != null) { return transferParametersBuilder_.getMessageOrBuilder(); } else { - return transferParameters_ == null - ? com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() - : transferParameters_; + return transferParameters_ == null ? + com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() : transferParameters_; } } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -674,24 +598,21 @@ public com.google.cloud.domains.v1.TransferParameters.Builder getTransferParamet * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.TransferParameters, - com.google.cloud.domains.v1.TransferParameters.Builder, - com.google.cloud.domains.v1.TransferParametersOrBuilder> + com.google.cloud.domains.v1.TransferParameters, com.google.cloud.domains.v1.TransferParameters.Builder, com.google.cloud.domains.v1.TransferParametersOrBuilder> getTransferParametersFieldBuilder() { if (transferParametersBuilder_ == null) { - transferParametersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.TransferParameters, - com.google.cloud.domains.v1.TransferParameters.Builder, - com.google.cloud.domains.v1.TransferParametersOrBuilder>( - getTransferParameters(), getParentForChildren(), isClean()); + transferParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.TransferParameters, com.google.cloud.domains.v1.TransferParameters.Builder, com.google.cloud.domains.v1.TransferParametersOrBuilder>( + getTransferParameters(), + getParentForChildren(), + isClean()); transferParameters_ = null; } return transferParametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,32 +622,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RetrieveTransferParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RetrieveTransferParametersResponse) - private static final com.google.cloud.domains.v1.RetrieveTransferParametersResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1.RetrieveTransferParametersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RetrieveTransferParametersResponse(); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse - getDefaultInstance() { + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,8 +657,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveTransferParametersResponse - getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveTransferParametersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java similarity index 62% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java index 862edc91..f8b7028f 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RetrieveTransferParametersResponseOrBuilder - extends +public interface RetrieveTransferParametersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveTransferParametersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; - * * @return Whether the transferParameters field is set. */ boolean hasTransferParameters(); /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; - * * @return The transferParameters. */ com.google.cloud.domains.v1.TransferParameters getTransferParameters(); /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java similarity index 67% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java index 73be8014..fc54a3be 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.SearchDomainsRequest} */ -public final class SearchDomainsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchDomainsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.SearchDomainsRequest) SearchDomainsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchDomainsRequest.newBuilder() to construct. private SearchDomainsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchDomainsRequest() { query_ = ""; location_ = ""; @@ -44,15 +26,16 @@ private SearchDomainsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchDomainsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchDomainsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private SearchDomainsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private SearchDomainsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.SearchDomainsRequest.class, - com.google.cloud.domains.v1.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1.SearchDomainsRequest.class, com.google.cloud.domains.v1.SearchDomainsRequest.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -173,16 +149,11 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -191,31 +162,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -224,7 +193,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -266,16 +235,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.domains.v1.SearchDomainsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.SearchDomainsRequest other = - (com.google.cloud.domains.v1.SearchDomainsRequest) obj; + com.google.cloud.domains.v1.SearchDomainsRequest other = (com.google.cloud.domains.v1.SearchDomainsRequest) obj; - if (!getQuery().equals(other.getQuery())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -296,127 +266,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.SearchDomainsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.SearchDomainsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.SearchDomainsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.SearchDomainsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.SearchDomainsRequest) com.google.cloud.domains.v1.SearchDomainsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.SearchDomainsRequest.class, - com.google.cloud.domains.v1.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1.SearchDomainsRequest.class, com.google.cloud.domains.v1.SearchDomainsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.SearchDomainsRequest.newBuilder() @@ -424,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; } @java.lang.Override @@ -465,8 +427,7 @@ public com.google.cloud.domains.v1.SearchDomainsRequest build() { @java.lang.Override public com.google.cloud.domains.v1.SearchDomainsRequest buildPartial() { - com.google.cloud.domains.v1.SearchDomainsRequest result = - new com.google.cloud.domains.v1.SearchDomainsRequest(this); + com.google.cloud.domains.v1.SearchDomainsRequest result = new com.google.cloud.domains.v1.SearchDomainsRequest(this); result.query_ = query_; result.location_ = location_; onBuilt(); @@ -477,39 +438,38 @@ public com.google.cloud.domains.v1.SearchDomainsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.SearchDomainsRequest) { - return mergeFrom((com.google.cloud.domains.v1.SearchDomainsRequest) other); + return mergeFrom((com.google.cloud.domains.v1.SearchDomainsRequest)other); } else { super.mergeFrom(other); return this; @@ -517,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.SearchDomainsRequest other) { - if (other == com.google.cloud.domains.v1.SearchDomainsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.SearchDomainsRequest.getDefaultInstance()) return this; if (!other.getQuery().isEmpty()) { query_ = other.query_; onChanged(); @@ -558,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object query_ = ""; /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -580,21 +537,20 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -602,61 +558,54 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -664,22 +613,18 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -688,23 +633,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -712,74 +654,61 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -789,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.SearchDomainsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.SearchDomainsRequest) private static final com.google.cloud.domains.v1.SearchDomainsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.SearchDomainsRequest(); } @@ -803,16 +732,16 @@ public static com.google.cloud.domains.v1.SearchDomainsRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.SearchDomainsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java index 9576d906..5db049cd 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface SearchDomainsRequestOrBuilder - extends +public interface SearchDomainsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.SearchDomainsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java similarity index 74% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java index 1493eb5f..5504abea 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Response for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.SearchDomainsResponse} */ -public final class SearchDomainsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchDomainsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.SearchDomainsResponse) SearchDomainsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchDomainsResponse.newBuilder() to construct. private SearchDomainsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchDomainsResponse() { registerParameters_ = 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 SearchDomainsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchDomainsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,22 @@ private SearchDomainsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registerParameters_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - registerParameters_.add( - input.readMessage( - com.google.cloud.domains.v1.RegisterParameters.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registerParameters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registerParameters_.add( + input.readMessage(com.google.cloud.domains.v1.RegisterParameters.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,7 +77,8 @@ private SearchDomainsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registerParameters_ = java.util.Collections.unmodifiableList(registerParameters_); @@ -106,27 +87,22 @@ private SearchDomainsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.SearchDomainsResponse.class, - com.google.cloud.domains.v1.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1.SearchDomainsResponse.class, com.google.cloud.domains.v1.SearchDomainsResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private java.util.List registerParameters_; /** - * - * *
    * Results of the domain name search.
    * 
@@ -134,13 +110,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public java.util.List - getRegisterParametersList() { + public java.util.List getRegisterParametersList() { return registerParameters_; } /** - * - * *
    * Results of the domain name search.
    * 
@@ -148,13 +121,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegisterParametersOrBuilderList() { return registerParameters_; } /** - * - * *
    * Results of the domain name search.
    * 
@@ -166,8 +137,6 @@ public int getRegisterParametersCount() { return registerParameters_.size(); } /** - * - * *
    * Results of the domain name search.
    * 
@@ -179,8 +148,6 @@ public com.google.cloud.domains.v1.RegisterParameters getRegisterParameters(int return registerParameters_.get(index); } /** - * - * *
    * Results of the domain name search.
    * 
@@ -194,7 +161,6 @@ public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParame } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < registerParameters_.size(); i++) { output.writeMessage(1, registerParameters_.get(i)); } @@ -220,8 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registerParameters_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, registerParameters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, registerParameters_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -231,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.domains.v1.SearchDomainsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1.SearchDomainsResponse other = - (com.google.cloud.domains.v1.SearchDomainsResponse) obj; + com.google.cloud.domains.v1.SearchDomainsResponse other = (com.google.cloud.domains.v1.SearchDomainsResponse) obj; - if (!getRegisterParametersList().equals(other.getRegisterParametersList())) return false; + if (!getRegisterParametersList() + .equals(other.getRegisterParametersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -261,126 +228,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.SearchDomainsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.SearchDomainsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.SearchDomainsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.SearchDomainsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.SearchDomainsResponse) com.google.cloud.domains.v1.SearchDomainsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.SearchDomainsResponse.class, - com.google.cloud.domains.v1.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1.SearchDomainsResponse.class, com.google.cloud.domains.v1.SearchDomainsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1.SearchDomainsResponse.newBuilder() @@ -388,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRegisterParametersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; } @java.lang.Override @@ -433,8 +391,7 @@ public com.google.cloud.domains.v1.SearchDomainsResponse build() { @java.lang.Override public com.google.cloud.domains.v1.SearchDomainsResponse buildPartial() { - com.google.cloud.domains.v1.SearchDomainsResponse result = - new com.google.cloud.domains.v1.SearchDomainsResponse(this); + com.google.cloud.domains.v1.SearchDomainsResponse result = new com.google.cloud.domains.v1.SearchDomainsResponse(this); int from_bitField0_ = bitField0_; if (registerParametersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -453,39 +410,38 @@ public com.google.cloud.domains.v1.SearchDomainsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.SearchDomainsResponse) { - return mergeFrom((com.google.cloud.domains.v1.SearchDomainsResponse) other); + return mergeFrom((com.google.cloud.domains.v1.SearchDomainsResponse)other); } else { super.mergeFrom(other); return this; @@ -493,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.SearchDomainsResponse other) { - if (other == com.google.cloud.domains.v1.SearchDomainsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.SearchDomainsResponse.getDefaultInstance()) return this; if (registerParametersBuilder_ == null) { if (!other.registerParameters_.isEmpty()) { if (registerParameters_.isEmpty()) { @@ -513,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.domains.v1.SearchDomainsResponse other registerParametersBuilder_ = null; registerParameters_ = other.registerParameters_; bitField0_ = (bitField0_ & ~0x00000001); - registerParametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRegisterParametersFieldBuilder() - : null; + registerParametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRegisterParametersFieldBuilder() : null; } else { registerParametersBuilder_.addAllMessages(other.registerParameters_); } @@ -541,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.SearchDomainsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.SearchDomainsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -551,38 +504,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List registerParameters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRegisterParametersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registerParameters_ = - new java.util.ArrayList( - registerParameters_); + registerParameters_ = new java.util.ArrayList(registerParameters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, - com.google.cloud.domains.v1.RegisterParameters.Builder, - com.google.cloud.domains.v1.RegisterParametersOrBuilder> - registerParametersBuilder_; + com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder> registerParametersBuilder_; /** - * - * *
      * Results of the domain name search.
      * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersList() { + public java.util.List getRegisterParametersList() { if (registerParametersBuilder_ == null) { return java.util.Collections.unmodifiableList(registerParameters_); } else { @@ -590,8 +533,6 @@ private void ensureRegisterParametersIsMutable() { } } /** - * - * *
      * Results of the domain name search.
      * 
@@ -606,8 +547,6 @@ public int getRegisterParametersCount() { } } /** - * - * *
      * Results of the domain name search.
      * 
@@ -622,8 +561,6 @@ public com.google.cloud.domains.v1.RegisterParameters getRegisterParameters(int } } /** - * - * *
      * Results of the domain name search.
      * 
@@ -645,8 +582,6 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
@@ -665,8 +600,6 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
@@ -687,8 +620,6 @@ public Builder addRegisterParameters(com.google.cloud.domains.v1.RegisterParamet return this; } /** - * - * *
      * Results of the domain name search.
      * 
@@ -710,8 +641,6 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
@@ -730,8 +659,6 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
@@ -750,8 +677,6 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
@@ -762,7 +687,8 @@ public Builder addAllRegisterParameters( java.lang.Iterable values) { if (registerParametersBuilder_ == null) { ensureRegisterParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registerParameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, registerParameters_); onChanged(); } else { registerParametersBuilder_.addAllMessages(values); @@ -770,8 +696,6 @@ public Builder addAllRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
@@ -789,8 +713,6 @@ public Builder clearRegisterParameters() { return this; } /** - * - * *
      * Results of the domain name search.
      * 
@@ -808,8 +730,6 @@ public Builder removeRegisterParameters(int index) { return this; } /** - * - * *
      * Results of the domain name search.
      * 
@@ -821,8 +741,6 @@ public com.google.cloud.domains.v1.RegisterParameters.Builder getRegisterParamet return getRegisterParametersFieldBuilder().getBuilder(index); } /** - * - * *
      * Results of the domain name search.
      * 
@@ -832,22 +750,19 @@ public com.google.cloud.domains.v1.RegisterParameters.Builder getRegisterParamet public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParametersOrBuilder( int index) { if (registerParametersBuilder_ == null) { - return registerParameters_.get(index); - } else { + return registerParameters_.get(index); } else { return registerParametersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results of the domain name search.
      * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersOrBuilderList() { + public java.util.List + getRegisterParametersOrBuilderList() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilderList(); } else { @@ -855,8 +770,6 @@ public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParame } } /** - * - * *
      * Results of the domain name search.
      * 
@@ -864,12 +777,10 @@ public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParame * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ public com.google.cloud.domains.v1.RegisterParameters.Builder addRegisterParametersBuilder() { - return getRegisterParametersFieldBuilder() - .addBuilder(com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance()); + return getRegisterParametersFieldBuilder().addBuilder( + com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance()); } /** - * - * *
      * Results of the domain name search.
      * 
@@ -878,34 +789,26 @@ public com.google.cloud.domains.v1.RegisterParameters.Builder addRegisterParamet */ public com.google.cloud.domains.v1.RegisterParameters.Builder addRegisterParametersBuilder( int index) { - return getRegisterParametersFieldBuilder() - .addBuilder(index, com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance()); + return getRegisterParametersFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance()); } /** - * - * *
      * Results of the domain name search.
      * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersBuilderList() { + public java.util.List + getRegisterParametersBuilderList() { return getRegisterParametersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, - com.google.cloud.domains.v1.RegisterParameters.Builder, - com.google.cloud.domains.v1.RegisterParametersOrBuilder> + com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, - com.google.cloud.domains.v1.RegisterParameters.Builder, - com.google.cloud.domains.v1.RegisterParametersOrBuilder>( + registerParametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder>( registerParameters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -914,9 +817,9 @@ public com.google.cloud.domains.v1.RegisterParameters.Builder addRegisterParamet } return registerParametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -926,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.SearchDomainsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.SearchDomainsResponse) private static final com.google.cloud.domains.v1.SearchDomainsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.SearchDomainsResponse(); } @@ -940,16 +843,16 @@ public static com.google.cloud.domains.v1.SearchDomainsResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -964,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.SearchDomainsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java index 0e6f2ceb..a5eec484 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface SearchDomainsResponseOrBuilder - extends +public interface SearchDomainsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.SearchDomainsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results of the domain name search.
    * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - java.util.List getRegisterParametersList(); + java.util.List + getRegisterParametersList(); /** - * - * *
    * Results of the domain name search.
    * 
@@ -44,8 +25,6 @@ public interface SearchDomainsResponseOrBuilder */ com.google.cloud.domains.v1.RegisterParameters getRegisterParameters(int index); /** - * - * *
    * Results of the domain name search.
    * 
@@ -54,24 +33,21 @@ public interface SearchDomainsResponseOrBuilder */ int getRegisterParametersCount(); /** - * - * *
    * Results of the domain name search.
    * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - java.util.List + java.util.List getRegisterParametersOrBuilderList(); /** - * - * *
    * Results of the domain name search.
    * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParametersOrBuilder(int index); + com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParametersOrBuilder( + int index); } diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java similarity index 74% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java index 6b48e5cc..d930fdd9 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `TransferDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.TransferDomainRequest} */ -public final class TransferDomainRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferDomainRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.TransferDomainRequest) TransferDomainRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferDomainRequest.newBuilder() to construct. private TransferDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferDomainRequest() { parent_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private TransferDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,96 +55,86 @@ private TransferDomainRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = input.readMessage(com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.domains.v1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = - input.readMessage( - com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + contactNotices_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - contactNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 34: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 34: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.domains.v1.AuthorizationCode.Builder subBuilder = null; - if (authorizationCode_ != null) { - subBuilder = authorizationCode_.toBuilder(); - } - authorizationCode_ = - input.readMessage( - com.google.cloud.domains.v1.AuthorizationCode.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authorizationCode_); - authorizationCode_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.cloud.domains.v1.AuthorizationCode.Builder subBuilder = null; + if (authorizationCode_ != null) { + subBuilder = authorizationCode_.toBuilder(); } - case 48: - { - validateOnly_ = input.readBool(); - break; + authorizationCode_ = input.readMessage(com.google.cloud.domains.v1.AuthorizationCode.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authorizationCode_); + authorizationCode_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 48: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -169,7 +142,8 @@ private TransferDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -178,36 +152,28 @@ private TransferDomainRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.TransferDomainRequest.class, - com.google.cloud.domains.v1.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1.TransferDomainRequest.class, com.google.cloud.domains.v1.TransferDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -216,32 +182,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -252,8 +216,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.Registration registration_; /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -263,10 +225,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ @java.lang.Override @@ -274,8 +233,6 @@ public boolean hasRegistration() { return registration_ != null; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -285,21 +242,14 @@ public boolean hasRegistration() {
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1.Registration getRegistration() { - return registration_ == null - ? com.google.cloud.domains.v1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -309,9 +259,7 @@ public com.google.cloud.domains.v1.Registration getRegistration() {
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -321,22 +269,16 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde public static final int CONTACT_NOTICES_FIELD_NUMBER = 3; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> - contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>() { public com.google.cloud.domains.v1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactNotice result = - com.google.cloud.domains.v1.ContactNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.ContactNotice result = com.google.cloud.domains.v1.ContactNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -344,18 +286,14 @@ public com.google.cloud.domains.v1.ContactNotice convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -363,7 +301,6 @@ public java.util.List getContactNotic
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @return The count of contactNotices. */ @java.lang.Override @@ -371,8 +308,6 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -380,7 +315,6 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -389,8 +323,6 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -398,16 +330,14 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return contactNotices_; } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -415,7 +345,6 @@ public java.util.List getContactNoticesValueList() {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -423,14 +352,11 @@ public java.util.List getContactNoticesValueList() { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } - private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 4; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -438,7 +364,6 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -446,8 +371,6 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -455,7 +378,6 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ @java.lang.Override @@ -463,8 +385,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -481,15 +401,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 5;
   private com.google.cloud.domains.v1.AuthorizationCode authorizationCode_;
   /**
-   *
-   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; - * * @return Whether the authorizationCode field is set. */ @java.lang.Override @@ -497,26 +414,19 @@ public boolean hasAuthorizationCode() { return authorizationCode_ != null; } /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; - * * @return The authorizationCode. */ @java.lang.Override public com.google.cloud.domains.v1.AuthorizationCode getAuthorizationCode() { - return authorizationCode_ == null - ? com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance() - : authorizationCode_; + return authorizationCode_ == null ? com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance() : authorizationCode_; } /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -532,14 +442,11 @@ public com.google.cloud.domains.v1.AuthorizationCodeOrBuilder getAuthorizationCo
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
-   *
-   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -548,7 +455,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -560,7 +466,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -597,29 +504,32 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getYearlyPrice()); } if (authorizationCode_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAuthorizationCode()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAuthorizationCode()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -629,29 +539,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1.TransferDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.TransferDomainRequest other = - (com.google.cloud.domains.v1.TransferDomainRequest) obj; + com.google.cloud.domains.v1.TransferDomainRequest other = (com.google.cloud.domains.v1.TransferDomainRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } if (hasAuthorizationCode() != other.hasAuthorizationCode()) return false; if (hasAuthorizationCode()) { - if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; + if (!getAuthorizationCode() + .equals(other.getAuthorizationCode())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -682,133 +596,125 @@ public int hashCode() { hash = (53 * hash) + getAuthorizationCode().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.TransferDomainRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.TransferDomainRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.TransferDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `TransferDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.TransferDomainRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.TransferDomainRequest) com.google.cloud.domains.v1.TransferDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.TransferDomainRequest.class, - com.google.cloud.domains.v1.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1.TransferDomainRequest.class, com.google.cloud.domains.v1.TransferDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.TransferDomainRequest.newBuilder() @@ -816,15 +722,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -856,9 +763,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; } @java.lang.Override @@ -877,8 +784,7 @@ public com.google.cloud.domains.v1.TransferDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1.TransferDomainRequest buildPartial() { - com.google.cloud.domains.v1.TransferDomainRequest result = - new com.google.cloud.domains.v1.TransferDomainRequest(this); + com.google.cloud.domains.v1.TransferDomainRequest result = new com.google.cloud.domains.v1.TransferDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -910,39 +816,38 @@ public com.google.cloud.domains.v1.TransferDomainRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.TransferDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1.TransferDomainRequest) other); + return mergeFrom((com.google.cloud.domains.v1.TransferDomainRequest)other); } else { super.mergeFrom(other); return this; @@ -950,8 +855,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.TransferDomainRequest other) { - if (other == com.google.cloud.domains.v1.TransferDomainRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.TransferDomainRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -997,8 +901,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.TransferDomainRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.TransferDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1007,28 +910,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -1037,24 +935,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -1062,70 +957,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1133,13 +1015,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder> - registrationBuilder_; + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> registrationBuilder_; /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1149,18 +1026,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1170,24 +1042,17 @@ public boolean hasRegistration() {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ public com.google.cloud.domains.v1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null - ? com.google.cloud.domains.v1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; } else { return registrationBuilder_.getMessage(); } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1197,9 +1062,7 @@ public com.google.cloud.domains.v1.Registration getRegistration() {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) { if (registrationBuilder_ == null) { @@ -1215,8 +1078,6 @@ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) { return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1226,9 +1087,7 @@ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration( com.google.cloud.domains.v1.Registration.Builder builderForValue) { @@ -1242,8 +1101,6 @@ public Builder setRegistration( return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1253,17 +1110,13 @@ public Builder setRegistration(
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1.Registration.newBuilder(registration_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); } else { registration_ = value; } @@ -1275,8 +1128,6 @@ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1286,9 +1137,7 @@ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value)
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1302,8 +1151,6 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1313,18 +1160,14 @@ public Builder clearRegistration() {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1334,22 +1177,17 @@ public com.google.cloud.domains.v1.Registration.Builder getRegistrationBuilder()
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null - ? com.google.cloud.domains.v1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? + com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1359,29 +1197,24 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder> + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder>( - getRegistration(), getParentForChildren(), isClean()); + registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder>( + getRegistration(), + getParentForChildren(), + isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List contactNotices_ = java.util.Collections.emptyList(); - + private java.util.List contactNotices_ = + java.util.Collections.emptyList(); private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1389,8 +1222,6 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1398,17 +1229,13 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1416,15 +1243,12 @@ public java.util.List getContactNotic
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1432,7 +1256,6 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1440,8 +1263,6 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1449,12 +1270,12 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. */ - public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactNotice value) { + public Builder setContactNotices( + int index, com.google.cloud.domains.v1.ContactNotice value) { if (value == null) { throw new NullPointerException(); } @@ -1464,8 +1285,6 @@ public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactN return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1473,7 +1292,6 @@ public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactN
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1487,8 +1305,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1.ContactNotice value return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1496,7 +1312,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1.ContactNotice value
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1510,8 +1325,6 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1519,7 +1332,6 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1529,8 +1341,6 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1538,15 +1348,13 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1554,7 +1362,6 @@ public java.util.List getContactNoticesValueList() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1562,8 +1369,6 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1571,20 +1376,18 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue(int index, int value) { + public Builder setContactNoticesValue( + int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1592,7 +1395,6 @@ public Builder setContactNoticesValue(int index, int value) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1603,8 +1405,6 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1612,11 +1412,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue(java.lang.Iterable values) { + public Builder addAllContactNoticesValue( + java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1627,11 +1427,8 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1639,15 +1436,12 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1655,7 +1449,6 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1666,8 +1459,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1690,8 +1481,6 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1700,7 +1489,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(
+        com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1711,8 +1501,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1725,7 +1513,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1737,8 +1525,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1759,8 +1545,6 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1770,13 +1554,11 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-
+      
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1789,12 +1571,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ?
+            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1804,15 +1585,14 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Money,
-                com.google.type.Money.Builder,
-                com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(), getParentForChildren(), isClean());
+        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(),
+                getParentForChildren(),
+                isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
@@ -1820,49 +1600,36 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
 
     private com.google.cloud.domains.v1.AuthorizationCode authorizationCode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.AuthorizationCode,
-            com.google.cloud.domains.v1.AuthorizationCode.Builder,
-            com.google.cloud.domains.v1.AuthorizationCodeOrBuilder>
-        authorizationCodeBuilder_;
+        com.google.cloud.domains.v1.AuthorizationCode, com.google.cloud.domains.v1.AuthorizationCode.Builder, com.google.cloud.domains.v1.AuthorizationCodeOrBuilder> authorizationCodeBuilder_;
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; - * * @return Whether the authorizationCode field is set. */ public boolean hasAuthorizationCode() { return authorizationCodeBuilder_ != null || authorizationCode_ != null; } /** - * - * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; - * * @return The authorizationCode. */ public com.google.cloud.domains.v1.AuthorizationCode getAuthorizationCode() { if (authorizationCodeBuilder_ == null) { - return authorizationCode_ == null - ? com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance() - : authorizationCode_; + return authorizationCode_ == null ? com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance() : authorizationCode_; } else { return authorizationCodeBuilder_.getMessage(); } } /** - * - * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1884,8 +1651,6 @@ public Builder setAuthorizationCode(com.google.cloud.domains.v1.AuthorizationCod
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1905,8 +1670,6 @@ public Builder setAuthorizationCode(
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1918,9 +1681,7 @@ public Builder mergeAuthorizationCode(com.google.cloud.domains.v1.AuthorizationC
       if (authorizationCodeBuilder_ == null) {
         if (authorizationCode_ != null) {
           authorizationCode_ =
-              com.google.cloud.domains.v1.AuthorizationCode.newBuilder(authorizationCode_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.domains.v1.AuthorizationCode.newBuilder(authorizationCode_).mergeFrom(value).buildPartial();
         } else {
           authorizationCode_ = value;
         }
@@ -1932,8 +1693,6 @@ public Builder mergeAuthorizationCode(com.google.cloud.domains.v1.AuthorizationC
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1953,8 +1712,6 @@ public Builder clearAuthorizationCode() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1963,13 +1720,11 @@ public Builder clearAuthorizationCode() {
      * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5;
      */
     public com.google.cloud.domains.v1.AuthorizationCode.Builder getAuthorizationCodeBuilder() {
-
+      
       onChanged();
       return getAuthorizationCodeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1981,14 +1736,11 @@ public com.google.cloud.domains.v1.AuthorizationCodeOrBuilder getAuthorizationCo
       if (authorizationCodeBuilder_ != null) {
         return authorizationCodeBuilder_.getMessageOrBuilder();
       } else {
-        return authorizationCode_ == null
-            ? com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance()
-            : authorizationCode_;
+        return authorizationCode_ == null ?
+            com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance() : authorizationCode_;
       }
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1997,32 +1749,26 @@ public com.google.cloud.domains.v1.AuthorizationCodeOrBuilder getAuthorizationCo
      * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.AuthorizationCode,
-            com.google.cloud.domains.v1.AuthorizationCode.Builder,
-            com.google.cloud.domains.v1.AuthorizationCodeOrBuilder>
+        com.google.cloud.domains.v1.AuthorizationCode, com.google.cloud.domains.v1.AuthorizationCode.Builder, com.google.cloud.domains.v1.AuthorizationCodeOrBuilder> 
         getAuthorizationCodeFieldBuilder() {
       if (authorizationCodeBuilder_ == null) {
-        authorizationCodeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.domains.v1.AuthorizationCode,
-                com.google.cloud.domains.v1.AuthorizationCode.Builder,
-                com.google.cloud.domains.v1.AuthorizationCodeOrBuilder>(
-                getAuthorizationCode(), getParentForChildren(), isClean());
+        authorizationCodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.domains.v1.AuthorizationCode, com.google.cloud.domains.v1.AuthorizationCode.Builder, com.google.cloud.domains.v1.AuthorizationCodeOrBuilder>(
+                getAuthorizationCode(),
+                getParentForChildren(),
+                isClean());
         authorizationCode_ = null;
       }
       return authorizationCodeBuilder_;
     }
 
-    private boolean validateOnly_;
+    private boolean validateOnly_ ;
     /**
-     *
-     *
      * 
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -2030,43 +1776,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2076,12 +1816,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.TransferDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.TransferDomainRequest) private static final com.google.cloud.domains.v1.TransferDomainRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.TransferDomainRequest(); } @@ -2090,16 +1830,16 @@ public static com.google.cloud.domains.v1.TransferDomainRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2114,4 +1854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.TransferDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java similarity index 80% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java index 2dc8174f..4c7ba6c5 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface TransferDomainRequestOrBuilder - extends +public interface TransferDomainRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.TransferDomainRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -66,16 +39,11 @@ public interface TransferDomainRequestOrBuilder
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ boolean hasRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -85,16 +53,11 @@ public interface TransferDomainRequestOrBuilder
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ com.google.cloud.domains.v1.Registration getRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -104,15 +67,11 @@ public interface TransferDomainRequestOrBuilder
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -120,13 +79,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -134,13 +90,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @return The count of contactNotices. */ int getContactNoticesCount(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -148,14 +101,11 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1.ContactNotice getContactNotices(int index); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -163,13 +113,11 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List getContactNoticesValueList(); + java.util.List + getContactNoticesValueList(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -177,15 +125,12 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -193,13 +138,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -207,13 +149,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -225,34 +164,26 @@ public interface TransferDomainRequestOrBuilder
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
-   *
-   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; - * * @return Whether the authorizationCode field is set. */ boolean hasAuthorizationCode(); /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; - * * @return The authorizationCode. */ com.google.cloud.domains.v1.AuthorizationCode getAuthorizationCode(); /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -263,14 +194,11 @@ public interface TransferDomainRequestOrBuilder
   com.google.cloud.domains.v1.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java similarity index 69% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java index b4220bb9..1d7b81dc 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Possible states of a `Registration`'s transfer lock.
  * 
* * Protobuf enum {@code google.cloud.domains.v1.TransferLockState} */ -public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum { +public enum TransferLockState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The state is unspecified.
    * 
@@ -39,8 +21,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ TRANSFER_LOCK_STATE_UNSPECIFIED(0), /** - * - * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -49,8 +29,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ UNLOCKED(1), /** - * - * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -62,8 +40,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * The state is unspecified.
    * 
@@ -72,8 +48,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ public static final int TRANSFER_LOCK_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -82,8 +56,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ public static final int UNLOCKED_VALUE = 1; /** - * - * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -92,6 +64,7 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOCKED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,42 +89,39 @@ public static TransferLockState valueOf(int value) { */ public static TransferLockState forNumber(int value) { switch (value) { - case 0: - return TRANSFER_LOCK_STATE_UNSPECIFIED; - case 1: - return UNLOCKED; - case 2: - return LOCKED; - default: - return null; + case 0: return TRANSFER_LOCK_STATE_UNSPECIFIED; + case 1: return UNLOCKED; + case 2: return LOCKED; + 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 TransferLockState findValueByNumber(int number) { - return TransferLockState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + TransferLockState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransferLockState findValueByNumber(int number) { + return TransferLockState.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.domains.v1.DomainsProto.getDescriptor().getEnumTypes().get(3); } @@ -160,7 +130,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TransferLockState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -176,3 +147,4 @@ private TransferLockState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1.TransferLockState) } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java similarity index 76% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java index 93ae7588..f22651f0 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Parameters required to transfer a domain from another registrar.
  * 
* * Protobuf type {@code google.cloud.domains.v1.TransferParameters} */ -public final class TransferParameters extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferParameters extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.TransferParameters) TransferParametersOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferParameters.newBuilder() to construct. private TransferParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferParameters() { domainName_ = ""; currentRegistrar_ = ""; @@ -47,15 +29,16 @@ private TransferParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,83 +58,76 @@ private TransferParameters( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - currentRegistrar_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nameServers_.add(s); - break; + currentRegistrar_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - int rawValue = input.readEnum(); + nameServers_.add(s); + break; + } + case 32: { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; + transferLockState_ = rawValue; + break; + } + case 40: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 40: - { + supportedPrivacy_.add(rawValue); + break; + } + case 42: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } supportedPrivacy_.add(rawValue); - break; } - case 42: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - supportedPrivacy_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 50: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 50: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -159,7 +135,8 @@ private TransferParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -171,33 +148,27 @@ private TransferParameters( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_TransferParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.TransferParameters.class, - com.google.cloud.domains.v1.TransferParameters.Builder.class); + com.google.cloud.domains.v1.TransferParameters.class, com.google.cloud.domains.v1.TransferParameters.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ @java.lang.Override @@ -206,29 +177,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -239,14 +210,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int CURRENT_REGISTRAR_FIELD_NUMBER = 2; private volatile java.lang.Object currentRegistrar_; /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The currentRegistrar. */ @java.lang.Override @@ -255,29 +223,29 @@ public java.lang.String getCurrentRegistrar() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; } } /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The bytes for currentRegistrar. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString + getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -288,42 +256,34 @@ public com.google.protobuf.ByteString getCurrentRegistrarBytes() { public static final int NAME_SERVERS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList nameServers_; /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_; } /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -331,26 +291,22 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -358,16 +314,12 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -375,59 +327,45 @@ public int getTransferLockStateValue() {
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ - @java.lang.Override - public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { + @java.lang.Override public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.TransferLockState result = - com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); + com.google.cloud.domains.v1.TransferLockState result = com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); return result == null ? com.google.cloud.domains.v1.TransferLockState.UNRECOGNIZED : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 5; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> - supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>() { public com.google.cloud.domains.v1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactPrivacy result = - com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); - return result == null - ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED - : result; + com.google.cloud.domains.v1.ContactPrivacy result = com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); + return result == null ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED : result; } }; /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -435,14 +373,11 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -451,29 +386,24 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return supportedPrivacy_; } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -481,20 +411,16 @@ public java.util.List getSupportedPrivacyValueList() { public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } - private int supportedPrivacyMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 6; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -502,14 +428,11 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return The yearlyPrice. */ @java.lang.Override @@ -517,8 +440,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
@@ -531,7 +452,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -543,7 +463,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); @@ -554,9 +475,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nameServers_.getRaw(i)); } - if (transferLockState_ - != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { + if (transferLockState_ != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, transferLockState_); } if (getSupportedPrivacyList().size() > 0) { @@ -592,26 +511,25 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (transferLockState_ - != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); + if (transferLockState_ != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, transferLockState_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedPrivacyMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -621,22 +539,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.domains.v1.TransferParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1.TransferParameters other = - (com.google.cloud.domains.v1.TransferParameters) obj; + com.google.cloud.domains.v1.TransferParameters other = (com.google.cloud.domains.v1.TransferParameters) obj; - if (!getDomainName().equals(other.getDomainName())) return false; - if (!getCurrentRegistrar().equals(other.getCurrentRegistrar())) return false; - if (!getNameServersList().equals(other.getNameServersList())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; + if (!getCurrentRegistrar() + .equals(other.getCurrentRegistrar())) return false; + if (!getNameServersList() + .equals(other.getNameServersList())) return false; if (transferLockState_ != other.transferLockState_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -672,127 +593,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.TransferParameters parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.TransferParameters parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.TransferParameters parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.TransferParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.TransferParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.TransferParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.TransferParameters parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.TransferParameters parseFrom(java.io.InputStream input) 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.domains.v1.TransferParameters parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.TransferParameters parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.TransferParameters parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.TransferParameters parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.TransferParameters parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.TransferParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.TransferParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters required to transfer a domain from another registrar.
    * 
* * Protobuf type {@code google.cloud.domains.v1.TransferParameters} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.TransferParameters) com.google.cloud.domains.v1.TransferParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_TransferParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.TransferParameters.class, - com.google.cloud.domains.v1.TransferParameters.Builder.class); + com.google.cloud.domains.v1.TransferParameters.class, com.google.cloud.domains.v1.TransferParameters.Builder.class); } // Construct using com.google.cloud.domains.v1.TransferParameters.newBuilder() @@ -800,15 +712,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -832,9 +745,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_TransferParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferParameters_descriptor; } @java.lang.Override @@ -853,8 +766,7 @@ public com.google.cloud.domains.v1.TransferParameters build() { @java.lang.Override public com.google.cloud.domains.v1.TransferParameters buildPartial() { - com.google.cloud.domains.v1.TransferParameters result = - new com.google.cloud.domains.v1.TransferParameters(this); + com.google.cloud.domains.v1.TransferParameters result = new com.google.cloud.domains.v1.TransferParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.currentRegistrar_ = currentRegistrar_; @@ -882,39 +794,38 @@ public com.google.cloud.domains.v1.TransferParameters buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.TransferParameters) { - return mergeFrom((com.google.cloud.domains.v1.TransferParameters) other); + return mergeFrom((com.google.cloud.domains.v1.TransferParameters)other); } else { super.mergeFrom(other); return this; @@ -985,25 +896,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object domainName_ = ""; /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -1012,21 +920,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -1034,61 +941,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -1096,20 +996,18 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object currentRegistrar_ = ""; /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @return The currentRegistrar. */ public java.lang.String getCurrentRegistrar() { java.lang.Object ref = currentRegistrar_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; @@ -1118,21 +1016,20 @@ public java.lang.String getCurrentRegistrar() { } } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @return The bytes for currentRegistrar. */ - public com.google.protobuf.ByteString getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString + getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -1140,112 +1037,95 @@ public com.google.protobuf.ByteString getCurrentRegistrarBytes() { } } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @param value The currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrar(java.lang.String value) { + public Builder setCurrentRegistrar( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentRegistrar_ = value; onChanged(); return this; } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @return This builder for chaining. */ public Builder clearCurrentRegistrar() { - + currentRegistrar_ = getDefaultInstance().getCurrentRegistrar(); onChanged(); return this; } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @param value The bytes for currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrarBytes(com.google.protobuf.ByteString value) { + public Builder setCurrentRegistrarBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentRegistrar_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList nameServers_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_.getUnmodifiableView(); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1253,90 +1133,80 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers(int index, java.lang.String value) { + public Builder setNameServers( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers(java.lang.String value) { + public Builder addNameServers( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers(java.lang.Iterable values) { + public Builder addAllNameServers( + java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nameServers_); onChanged(); return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1346,22 +1216,20 @@ public Builder clearNameServers() { return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes(com.google.protobuf.ByteString value) { + public Builder addNameServersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1370,8 +1238,6 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) { private int transferLockState_ = 0; /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1379,16 +1245,12 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1396,19 +1258,16 @@ public int getTransferLockStateValue() {
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1416,19 +1275,15 @@ public Builder setTransferLockStateValue(int value) {
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.TransferLockState result = - com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); + com.google.cloud.domains.v1.TransferLockState result = com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); return result == null ? com.google.cloud.domains.v1.TransferLockState.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1436,7 +1291,6 @@ public com.google.cloud.domains.v1.TransferLockState getTransferLockState() {
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -1444,14 +1298,12 @@ public Builder setTransferLockState(com.google.cloud.domains.v1.TransferLockStat if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1459,18 +1311,17 @@ public Builder setTransferLockState(com.google.cloud.domains.v1.TransferLockStat
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); - + private java.util.List supportedPrivacy_ = + java.util.Collections.emptyList(); private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1478,44 +1329,34 @@ private void ensureSupportedPrivacyIsMutable() { } } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the supportedPrivacy. */ public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1523,14 +1364,11 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1546,14 +1384,11 @@ public Builder setSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1567,14 +1402,11 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1.ContactPrivacy va return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1588,14 +1420,11 @@ public Builder addAllSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1605,28 +1434,23 @@ public Builder clearSupportedPrivacy() { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1634,33 +1458,28 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue(int index, int value) { + public Builder setSupportedPrivacyValue( + int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1671,18 +1490,16 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue( + java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1693,31 +1510,24 @@ public Builder addAllSupportedPrivacyValue(java.lang.Iterable private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1728,8 +1538,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1750,15 +1558,14 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; */ - public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice( + com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1769,8 +1576,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1781,7 +1586,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1793,8 +1598,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1813,8 +1616,6 @@ public Builder clearYearlyPrice() { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1822,13 +1623,11 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 6; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1839,12 +1638,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? + com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1852,22 +1650,21 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - getYearlyPrice(), getParentForChildren(), isClean()); + yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + getYearlyPrice(), + getParentForChildren(), + isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1877,12 +1674,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.TransferParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.TransferParameters) private static final com.google.cloud.domains.v1.TransferParameters DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.TransferParameters(); } @@ -1891,16 +1688,16 @@ public static com.google.cloud.domains.v1.TransferParameters getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1915,4 +1712,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.TransferParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java similarity index 81% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java index 30e14bbe..58723afb 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java @@ -1,132 +1,94 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface TransferParametersOrBuilder - extends +public interface TransferParametersOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.TransferParameters) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The currentRegistrar. */ java.lang.String getCurrentRegistrar(); /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The bytes for currentRegistrar. */ - com.google.protobuf.ByteString getCurrentRegistrarBytes(); + com.google.protobuf.ByteString + getCurrentRegistrarBytes(); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return A list containing the nameServers. */ - java.util.List getNameServersList(); + java.util.List + getNameServersList(); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return The count of nameServers. */ int getNameServersCount(); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString getNameServersBytes(int index); + com.google.protobuf.ByteString + getNameServersBytes(int index); /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -134,13 +96,10 @@ public interface TransferParametersOrBuilder
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -148,101 +107,78 @@ public interface TransferParametersOrBuilder
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ com.google.cloud.domains.v1.TransferLockState getTransferLockState(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List getSupportedPrivacyValueList(); + java.util.List + getSupportedPrivacyValueList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java similarity index 69% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java index 99315471..6d0a7c2f 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** - * - * *
  * Request for the `UpdateRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.UpdateRegistrationRequest} */ -public final class UpdateRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.UpdateRegistrationRequest) UpdateRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRegistrationRequest.newBuilder() to construct. private UpdateRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRegistrationRequest() {} + private UpdateRegistrationRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateRegistrationRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.domains.v1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = - input.readMessage( - com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.domains.v1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = input.readMessage(com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.UpdateRegistrationRequest.class, - com.google.cloud.domains.v1.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.UpdateRegistrationRequest.class, com.google.cloud.domains.v1.UpdateRegistrationRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private com.google.cloud.domains.v1.Registration registration_; /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1.Registration registration = 1; - * * @return Whether the registration field is set. */ @java.lang.Override @@ -153,25 +127,18 @@ public boolean hasRegistration() { return registration_ != null; } /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1.Registration registration = 1; - * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1.Registration getRegistration() { - return registration_ == null - ? com.google.cloud.domains.v1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; } /** - * - * *
    * Fields of the `Registration` to update.
    * 
@@ -186,17 +153,13 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,17 +167,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -222,16 +181,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -239,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (registration_ != null) { output.writeMessage(1, getRegistration()); } @@ -268,10 +224,12 @@ public int getSerializedSize() { size = 0; if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegistration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRegistration()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -281,21 +239,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.domains.v1.UpdateRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.UpdateRegistrationRequest other = - (com.google.cloud.domains.v1.UpdateRegistrationRequest) obj; + com.google.cloud.domains.v1.UpdateRegistrationRequest other = (com.google.cloud.domains.v1.UpdateRegistrationRequest) obj; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,127 +281,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1.UpdateRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1.UpdateRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `UpdateRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.UpdateRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.UpdateRegistrationRequest) com.google.cloud.domains.v1.UpdateRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.UpdateRegistrationRequest.class, - com.google.cloud.domains.v1.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.UpdateRegistrationRequest.class, com.google.cloud.domains.v1.UpdateRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.UpdateRegistrationRequest.newBuilder() @@ -450,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto - .internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; } @java.lang.Override @@ -499,8 +449,7 @@ public com.google.cloud.domains.v1.UpdateRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1.UpdateRegistrationRequest buildPartial() { - com.google.cloud.domains.v1.UpdateRegistrationRequest result = - new com.google.cloud.domains.v1.UpdateRegistrationRequest(this); + com.google.cloud.domains.v1.UpdateRegistrationRequest result = new com.google.cloud.domains.v1.UpdateRegistrationRequest(this); if (registrationBuilder_ == null) { result.registration_ = registration_; } else { @@ -519,39 +468,38 @@ public com.google.cloud.domains.v1.UpdateRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.UpdateRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1.UpdateRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1.UpdateRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -559,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.UpdateRegistrationRequest other) { - if (other == com.google.cloud.domains.v1.UpdateRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1.UpdateRegistrationRequest.getDefaultInstance()) return this; if (other.hasRegistration()) { mergeRegistration(other.getRegistration()); } @@ -586,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1.UpdateRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1.UpdateRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,47 +545,34 @@ public Builder mergeFrom( private com.google.cloud.domains.v1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder> - registrationBuilder_; + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> registrationBuilder_; /** - * - * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1.Registration registration = 1; - * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1.Registration registration = 1; - * * @return The registration. */ public com.google.cloud.domains.v1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null - ? com.google.cloud.domains.v1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; } else { return registrationBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -660,8 +593,6 @@ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) { return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -680,8 +611,6 @@ public Builder setRegistration( return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -692,9 +621,7 @@ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1.Registration.newBuilder(registration_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); } else { registration_ = value; } @@ -706,8 +633,6 @@ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -726,8 +651,6 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -735,13 +658,11 @@ public Builder clearRegistration() { * .google.cloud.domains.v1.Registration registration = 1; */ public com.google.cloud.domains.v1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -752,14 +673,11 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null - ? com.google.cloud.domains.v1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? + com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; } } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -767,17 +685,14 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde * .google.cloud.domains.v1.Registration registration = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder> + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, - com.google.cloud.domains.v1.Registration.Builder, - com.google.cloud.domains.v1.RegistrationOrBuilder>( - getRegistration(), getParentForChildren(), isClean()); + registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder>( + getRegistration(), + getParentForChildren(), + isClean()); registration_ = null; } return registrationBuilder_; @@ -785,61 +700,45 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -855,18 +754,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -877,22 +774,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -904,16 +798,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -927,74 +818,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.UpdateRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.UpdateRegistrationRequest) private static final com.google.cloud.domains.v1.UpdateRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.UpdateRegistrationRequest(); } @@ -1018,16 +896,16 @@ public static com.google.cloud.domains.v1.UpdateRegistrationRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1.UpdateRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java index 7c8202e7..b0339b7b 100644 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface UpdateRegistrationRequestOrBuilder - extends +public interface UpdateRegistrationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.UpdateRegistrationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1.Registration registration = 1; - * * @return Whether the registration field is set. */ boolean hasRegistration(); /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1.Registration registration = 1; - * * @return The registration. */ com.google.cloud.domains.v1.Registration getRegistration(); /** - * - * *
    * Fields of the `Registration` to update.
    * 
@@ -59,46 +35,35 @@ public interface UpdateRegistrationRequestOrBuilder com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto similarity index 100% rename from proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto rename to owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java index c7faf3fc..52d1e356 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1.samples; -// [START -// domains_v1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] +// [START domains_v1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] import com.google.cloud.domains.v1.ContactSettings; import com.google.cloud.domains.v1.DomainsClient; import com.google.cloud.domains.v1.Registration; @@ -46,5 +45,4 @@ public static void syncConfigureContactSettingsRegistrationnameContactsettingsFi } } } -// [END -// domains_v1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] +// [END domains_v1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java similarity index 89% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java index 7a70741d..d4de42f4 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1.samples; -// [START -// domains_v1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] +// [START domains_v1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] import com.google.cloud.domains.v1.ContactSettings; import com.google.cloud.domains.v1.DomainsClient; import com.google.cloud.domains.v1.Registration; @@ -45,5 +44,4 @@ public static void syncConfigureContactSettingsStringContactsettingsFieldmask() } } } -// [END -// domains_v1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] +// [END domains_v1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java index 164cb4b0..2331baf1 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1.samples; -// [START -// domains_v1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] +// [START domains_v1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] import com.google.cloud.domains.v1.DnsSettings; import com.google.cloud.domains.v1.DomainsClient; import com.google.cloud.domains.v1.Registration; @@ -44,5 +43,4 @@ public static void syncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask( } } } -// [END -// domains_v1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] +// [END domains_v1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java index cdea50c1..d963736c 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1.samples; -// [START -// domains_v1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] +// [START domains_v1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] import com.google.cloud.domains.v1.DomainsClient; import com.google.cloud.domains.v1.ManagementSettings; import com.google.cloud.domains.v1.Registration; @@ -46,5 +45,4 @@ public static void syncConfigureManagementSettingsRegistrationnameManagementsett } } } -// [END -// domains_v1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] +// [END domains_v1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java similarity index 89% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java index fa2d5df0..fe431f96 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1.samples; -// [START -// domains_v1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] +// [START domains_v1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] import com.google.cloud.domains.v1.DomainsClient; import com.google.cloud.domains.v1.ManagementSettings; import com.google.cloud.domains.v1.Registration; @@ -46,5 +45,4 @@ public static void syncConfigureManagementSettingsStringManagementsettingsFieldm } } } -// [END -// domains_v1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] +// [END domains_v1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java index 4b4f31d6..f77da480 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java @@ -20,6 +20,7 @@ import com.google.cloud.domains.v1.DeleteRegistrationRequest; import com.google.cloud.domains.v1.DomainsClient; import com.google.cloud.domains.v1.RegistrationName; +import com.google.protobuf.Empty; public class SyncDeleteRegistration { diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java index 030082ee..8b3803dd 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java @@ -19,6 +19,7 @@ // [START domains_v1_generated_domainsclient_deleteregistration_registrationname_sync] import com.google.cloud.domains.v1.DomainsClient; import com.google.cloud.domains.v1.RegistrationName; +import com.google.protobuf.Empty; public class SyncDeleteRegistrationRegistrationname { diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java index a7024f1b..fb4e9cfa 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java @@ -19,6 +19,7 @@ // [START domains_v1_generated_domainsclient_deleteregistration_string_sync] import com.google.cloud.domains.v1.DomainsClient; import com.google.cloud.domains.v1.RegistrationName; +import com.google.protobuf.Empty; public class SyncDeleteRegistrationString { diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/AsyncGetRegistration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/AsyncGetRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/AsyncGetRegistration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/AsyncGetRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrations.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrations.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomain.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomain.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomain.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomain.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/AsyncSearchDomains.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/AsyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/AsyncSearchDomains.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/AsyncSearchDomains.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomains.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomains.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomains.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsStringString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsStringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsStringString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsStringString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomain.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomain.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomainLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomainLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomainLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomainLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomain.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomain.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java similarity index 89% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java index d96b4b96..b41a7074 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1.samples; -// [START -// domains_v1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] +// [START domains_v1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] import com.google.cloud.domains.v1.AuthorizationCode; import com.google.cloud.domains.v1.DomainsClient; import com.google.cloud.domains.v1.LocationName; @@ -46,5 +45,4 @@ public static void syncTransferDomainLocationnameRegistrationMoneyAuthorizationc } } } -// [END -// domains_v1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] +// [END domains_v1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java similarity index 89% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java index 37a6bc88..5c7e279d 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1.samples; -// [START -// domains_v1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] +// [START domains_v1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] import com.google.cloud.domains.v1.AuthorizationCode; import com.google.cloud.domains.v1.DomainsClient; import com.google.cloud.domains.v1.LocationName; @@ -45,5 +44,4 @@ public static void syncTransferDomainStringRegistrationMoneyAuthorizationcode() } } } -// [END -// domains_v1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] +// [END domains_v1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistration.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistration.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/domainssettings/searchdomains/SyncSearchDomains.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainssettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/domainssettings/searchdomains/SyncSearchDomains.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainssettings/searchdomains/SyncSearchDomains.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java similarity index 98% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java index 5af5aff9..b59ddf8b 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java +++ b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java @@ -64,13 +64,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -189,6 +189,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -1304,9 +1305,9 @@ public final UnaryCallable getRegistration * use the appropriate custom update method: * *
    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1343,9 +1344,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1377,9 +1378,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1411,9 +1412,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -2127,9 +2128,9 @@ public final UnaryCallable exportRegistrat * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2174,9 +2175,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2218,9 +2219,9 @@ public final OperationFuture deleteRegistrationAsync(S * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2263,9 +2264,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2308,9 +2309,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2614,10 +2615,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRegistrationsPagedResponse extends AbstractPagedListResponse< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, - ListRegistrationsPage, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2638,9 +2636,7 @@ private ListRegistrationsPagedResponse(ListRegistrationsPage page) { public static class ListRegistrationsPage extends AbstractPage< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage> { private ListRegistrationsPage( @@ -2670,10 +2666,7 @@ public ApiFuture createPageAsync( public static class ListRegistrationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, - ListRegistrationsPage, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { private ListRegistrationsFixedSizeCollection( diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java similarity index 98% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java index f7ff28d3..a9012e73 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java +++ b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java @@ -29,6 +29,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.domains.v1alpha2.stub.DomainsStubSettings; @@ -45,9 +46,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/gapic_metadata.json b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/gapic_metadata.json similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/gapic_metadata.json rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/gapic_metadata.json diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/package-info.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/package-info.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/package-info.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/package-info.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStub.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStub.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStub.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStub.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java similarity index 99% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java index 3ffa9c48..54b123bb 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java +++ b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java @@ -87,9 +87,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -210,8 +210,7 @@ public Iterable extractResources(ListRegistrationsResponse payload ListRegistrationsRequest, ListRegistrationsResponse, ListRegistrationsPagedResponse> LIST_REGISTRATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListRegistrationsRequest, - ListRegistrationsResponse, + ListRegistrationsRequest, ListRegistrationsResponse, ListRegistrationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsCallableFactory.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsCallableFactory.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsCallableFactory.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsCallableFactory.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java similarity index 99% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java index 228b7369..73f6df45 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java +++ b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java @@ -55,6 +55,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsCallableFactory.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsCallableFactory.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsCallableFactory.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsCallableFactory.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java similarity index 99% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java index 7c7efb05..1ec6695b 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java +++ b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java @@ -30,6 +30,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientHttpJsonTest.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientHttpJsonTest.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientHttpJsonTest.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientHttpJsonTest.java diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientTest.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientTest.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientTest.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientTest.java diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomains.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomains.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomains.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomains.java diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomainsImpl.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomainsImpl.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomainsImpl.java rename to owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomainsImpl.java diff --git a/owl-bot-staging/v1alpha2/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java b/owl-bot-staging/v1alpha2/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java new file mode 100644 index 00000000..acf83641 --- /dev/null +++ b/owl-bot-staging/v1alpha2/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java @@ -0,0 +1,1763 @@ +package com.google.cloud.domains.v1alpha2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Cloud Domains API enables management and configuration of domain names.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/domains/v1alpha2/domains.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DomainsGrpc { + + private DomainsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.domains.v1alpha2.Domains"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getSearchDomainsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchDomains", + requestType = com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, + responseType = com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchDomainsMethod() { + io.grpc.MethodDescriptor getSearchDomainsMethod; + if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { + DomainsGrpc.getSearchDomainsMethod = getSearchDomainsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.SearchDomainsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.SearchDomainsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) + .build(); + } + } + } + return getSearchDomainsMethod; + } + + private static volatile io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveRegisterParameters", + requestType = com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, + responseType = com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod() { + io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { + DomainsGrpc.getRetrieveRegisterParametersMethod = getRetrieveRegisterParametersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) + .build(); + } + } + } + return getRetrieveRegisterParametersMethod; + } + + private static volatile io.grpc.MethodDescriptor getRegisterDomainMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RegisterDomain", + requestType = com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRegisterDomainMethod() { + io.grpc.MethodDescriptor getRegisterDomainMethod; + if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { + DomainsGrpc.getRegisterDomainMethod = getRegisterDomainMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RegisterDomainRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) + .build(); + } + } + } + return getRegisterDomainMethod; + } + + private static volatile io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveTransferParameters", + requestType = com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, + responseType = com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRetrieveTransferParametersMethod() { + io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { + DomainsGrpc.getRetrieveTransferParametersMethod = getRetrieveTransferParametersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) + .build(); + } + } + } + return getRetrieveTransferParametersMethod; + } + + private static volatile io.grpc.MethodDescriptor getTransferDomainMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TransferDomain", + requestType = com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTransferDomainMethod() { + io.grpc.MethodDescriptor getTransferDomainMethod; + if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { + DomainsGrpc.getTransferDomainMethod = getTransferDomainMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.TransferDomainRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) + .build(); + } + } + } + return getTransferDomainMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRegistrationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRegistrations", + requestType = com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, + responseType = com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRegistrationsMethod() { + io.grpc.MethodDescriptor getListRegistrationsMethod; + if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { + DomainsGrpc.getListRegistrationsMethod = getListRegistrationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) + .build(); + } + } + } + return getListRegistrationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRegistration", + requestType = com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, + responseType = com.google.cloud.domains.v1alpha2.Registration.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRegistrationMethod() { + io.grpc.MethodDescriptor getGetRegistrationMethod; + if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { + DomainsGrpc.getGetRegistrationMethod = getGetRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.GetRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) + .build(); + } + } + } + return getGetRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRegistration", + requestType = com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRegistrationMethod() { + io.grpc.MethodDescriptor getUpdateRegistrationMethod; + if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { + DomainsGrpc.getUpdateRegistrationMethod = getUpdateRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("UpdateRegistration")) + .build(); + } + } + } + return getUpdateRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureManagementSettings", + requestType = com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getConfigureManagementSettingsMethod() { + io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; + if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { + DomainsGrpc.getConfigureManagementSettingsMethod = getConfigureManagementSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) + .build(); + } + } + } + return getConfigureManagementSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureDnsSettings", + requestType = com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getConfigureDnsSettingsMethod() { + io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; + if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { + DomainsGrpc.getConfigureDnsSettingsMethod = getConfigureDnsSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) + .build(); + } + } + } + return getConfigureDnsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getConfigureContactSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureContactSettings", + requestType = com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getConfigureContactSettingsMethod() { + io.grpc.MethodDescriptor getConfigureContactSettingsMethod; + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { + DomainsGrpc.getConfigureContactSettingsMethod = getConfigureContactSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) + .build(); + } + } + } + return getConfigureContactSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getExportRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportRegistration", + requestType = com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getExportRegistrationMethod() { + io.grpc.MethodDescriptor getExportRegistrationMethod; + if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { + DomainsGrpc.getExportRegistrationMethod = getExportRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ExportRegistration")) + .build(); + } + } + } + return getExportRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRegistration", + requestType = com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRegistrationMethod() { + io.grpc.MethodDescriptor getDeleteRegistrationMethod; + if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { + DomainsGrpc.getDeleteRegistrationMethod = getDeleteRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("DeleteRegistration")) + .build(); + } + } + } + return getDeleteRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveAuthorizationCode", + requestType = com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, + responseType = com.google.cloud.domains.v1alpha2.AuthorizationCode.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod() { + io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { + DomainsGrpc.getRetrieveAuthorizationCodeMethod = getRetrieveAuthorizationCodeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) + .build(); + } + } + } + return getRetrieveAuthorizationCodeMethod; + } + + private static volatile io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResetAuthorizationCode", + requestType = com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, + responseType = com.google.cloud.domains.v1alpha2.AuthorizationCode.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getResetAuthorizationCodeMethod() { + io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; + if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { + DomainsGrpc.getResetAuthorizationCodeMethod = getResetAuthorizationCodeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) + .build(); + } + } + } + return getResetAuthorizationCodeMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DomainsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsStub(channel, callOptions); + } + }; + return DomainsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DomainsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsBlockingStub(channel, callOptions); + } + }; + return DomainsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DomainsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsFutureStub(channel, callOptions); + } + }; + return DomainsFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static abstract class DomainsImplBase implements io.grpc.BindableService { + + /** + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public void searchDomains(com.google.cloud.domains.v1alpha2.SearchDomainsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchDomainsMethod(), responseObserver); + } + + /** + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public void retrieveRegisterParameters(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveRegisterParametersMethod(), responseObserver); + } + + /** + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public void registerDomain(com.google.cloud.domains.v1alpha2.RegisterDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterDomainMethod(), responseObserver); + } + + /** + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public void retrieveTransferParameters(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveTransferParametersMethod(), responseObserver); + } + + /** + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public void transferDomain(com.google.cloud.domains.v1alpha2.TransferDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTransferDomainMethod(), responseObserver); + } + + /** + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public void listRegistrations(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRegistrationsMethod(), responseObserver); + } + + /** + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public void getRegistration(com.google.cloud.domains.v1alpha2.GetRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRegistrationMethod(), responseObserver); + } + + /** + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public void updateRegistration(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRegistrationMethod(), responseObserver); + } + + /** + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public void configureManagementSettings(com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureManagementSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public void configureDnsSettings(com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureDnsSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public void configureContactSettings(com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureContactSettingsMethod(), responseObserver); + } + + /** + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public void exportRegistration(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportRegistrationMethod(), responseObserver); + } + + /** + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public void deleteRegistration(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRegistrationMethod(), responseObserver); + } + + /** + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void retrieveAuthorizationCode(com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveAuthorizationCodeMethod(), responseObserver); + } + + /** + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void resetAuthorizationCode(com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetAuthorizationCodeMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getSearchDomainsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.SearchDomainsRequest, + com.google.cloud.domains.v1alpha2.SearchDomainsResponse>( + this, METHODID_SEARCH_DOMAINS))) + .addMethod( + getRetrieveRegisterParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse>( + this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) + .addMethod( + getRegisterDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.RegisterDomainRequest, + com.google.longrunning.Operation>( + this, METHODID_REGISTER_DOMAIN))) + .addMethod( + getRetrieveTransferParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse>( + this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) + .addMethod( + getTransferDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.TransferDomainRequest, + com.google.longrunning.Operation>( + this, METHODID_TRANSFER_DOMAIN))) + .addMethod( + getListRegistrationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest, + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse>( + this, METHODID_LIST_REGISTRATIONS))) + .addMethod( + getGetRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.GetRegistrationRequest, + com.google.cloud.domains.v1alpha2.Registration>( + this, METHODID_GET_REGISTRATION))) + .addMethod( + getUpdateRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_REGISTRATION))) + .addMethod( + getConfigureManagementSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) + .addMethod( + getConfigureDnsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_DNS_SETTINGS))) + .addMethod( + getConfigureContactSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_CONTACT_SETTINGS))) + .addMethod( + getExportRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest, + com.google.longrunning.Operation>( + this, METHODID_EXPORT_REGISTRATION))) + .addMethod( + getDeleteRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REGISTRATION))) + .addMethod( + getRetrieveAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1alpha2.AuthorizationCode>( + this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) + .addMethod( + getResetAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1alpha2.AuthorizationCode>( + this, METHODID_RESET_AUTHORIZATION_CODE))) + .build(); + } + } + + /** + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsStub extends io.grpc.stub.AbstractAsyncStub { + private DomainsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsStub(channel, callOptions); + } + + /** + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public void searchDomains(com.google.cloud.domains.v1alpha2.SearchDomainsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public void retrieveRegisterParameters(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public void registerDomain(com.google.cloud.domains.v1alpha2.RegisterDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public void retrieveTransferParameters(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public void transferDomain(com.google.cloud.domains.v1alpha2.TransferDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public void listRegistrations(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public void getRegistration(com.google.cloud.domains.v1alpha2.GetRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public void updateRegistration(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public void configureManagementSettings(com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public void configureDnsSettings(com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public void configureContactSettings(com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public void exportRegistration(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public void deleteRegistration(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void retrieveAuthorizationCode(com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void resetAuthorizationCode(com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DomainsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsBlockingStub(channel, callOptions); + } + + /** + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.SearchDomainsResponse searchDomains(com.google.cloud.domains.v1alpha2.SearchDomainsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchDomainsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse retrieveRegisterParameters(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveRegisterParametersMethod(), getCallOptions(), request); + } + + /** + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public com.google.longrunning.Operation registerDomain(com.google.cloud.domains.v1alpha2.RegisterDomainRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRegisterDomainMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse retrieveTransferParameters(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveTransferParametersMethod(), getCallOptions(), request); + } + + /** + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public com.google.longrunning.Operation transferDomain(com.google.cloud.domains.v1alpha2.TransferDomainRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTransferDomainMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse listRegistrations(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRegistrationsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.Registration getRegistration(com.google.cloud.domains.v1alpha2.GetRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRegistrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public com.google.longrunning.Operation updateRegistration(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRegistrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public com.google.longrunning.Operation configureManagementSettings(com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureManagementSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public com.google.longrunning.Operation configureDnsSettings(com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureDnsSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public com.google.longrunning.Operation configureContactSettings(com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureContactSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public com.google.longrunning.Operation exportRegistration(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportRegistrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public com.google.longrunning.Operation deleteRegistration(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRegistrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.AuthorizationCode retrieveAuthorizationCode(com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveAuthorizationCodeMethod(), getCallOptions(), request); + } + + /** + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.AuthorizationCode resetAuthorizationCode(com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResetAuthorizationCodeMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsFutureStub extends io.grpc.stub.AbstractFutureStub { + private DomainsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsFutureStub(channel, callOptions); + } + + /** + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchDomains( + com.google.cloud.domains.v1alpha2.SearchDomainsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture retrieveRegisterParameters( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request); + } + + /** + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture registerDomain( + com.google.cloud.domains.v1alpha2.RegisterDomainRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture retrieveTransferParameters( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request); + } + + /** + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture transferDomain( + com.google.cloud.domains.v1alpha2.TransferDomainRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRegistrations( + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRegistration( + com.google.cloud.domains.v1alpha2.GetRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRegistration( + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture configureManagementSettings( + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture configureDnsSettings( + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture configureContactSettings( + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture exportRegistration( + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRegistration( + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture retrieveAuthorizationCode( + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request); + } + + /** + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture resetAuthorizationCode( + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_SEARCH_DOMAINS = 0; + private static final int METHODID_RETRIEVE_REGISTER_PARAMETERS = 1; + private static final int METHODID_REGISTER_DOMAIN = 2; + private static final int METHODID_RETRIEVE_TRANSFER_PARAMETERS = 3; + private static final int METHODID_TRANSFER_DOMAIN = 4; + private static final int METHODID_LIST_REGISTRATIONS = 5; + private static final int METHODID_GET_REGISTRATION = 6; + private static final int METHODID_UPDATE_REGISTRATION = 7; + private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 8; + private static final int METHODID_CONFIGURE_DNS_SETTINGS = 9; + private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 10; + private static final int METHODID_EXPORT_REGISTRATION = 11; + private static final int METHODID_DELETE_REGISTRATION = 12; + private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 13; + private static final int METHODID_RESET_AUTHORIZATION_CODE = 14; + + 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 DomainsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DomainsImplBase 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_SEARCH_DOMAINS: + serviceImpl.searchDomains((com.google.cloud.domains.v1alpha2.SearchDomainsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RETRIEVE_REGISTER_PARAMETERS: + serviceImpl.retrieveRegisterParameters((com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REGISTER_DOMAIN: + serviceImpl.registerDomain((com.google.cloud.domains.v1alpha2.RegisterDomainRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RETRIEVE_TRANSFER_PARAMETERS: + serviceImpl.retrieveTransferParameters((com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TRANSFER_DOMAIN: + serviceImpl.transferDomain((com.google.cloud.domains.v1alpha2.TransferDomainRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REGISTRATIONS: + serviceImpl.listRegistrations((com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REGISTRATION: + serviceImpl.getRegistration((com.google.cloud.domains.v1alpha2.GetRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REGISTRATION: + serviceImpl.updateRegistration((com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_MANAGEMENT_SETTINGS: + serviceImpl.configureManagementSettings((com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_DNS_SETTINGS: + serviceImpl.configureDnsSettings((com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_CONTACT_SETTINGS: + serviceImpl.configureContactSettings((com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_REGISTRATION: + serviceImpl.exportRegistration((com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REGISTRATION: + serviceImpl.deleteRegistration((com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RETRIEVE_AUTHORIZATION_CODE: + serviceImpl.retrieveAuthorizationCode((com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESET_AUTHORIZATION_CODE: + serviceImpl.resetAuthorizationCode((com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class DomainsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DomainsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Domains"); + } + } + + private static final class DomainsFileDescriptorSupplier + extends DomainsBaseDescriptorSupplier { + DomainsFileDescriptorSupplier() {} + } + + private static final class DomainsMethodDescriptorSupplier + extends DomainsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DomainsMethodDescriptorSupplier(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 (DomainsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) + .addMethod(getSearchDomainsMethod()) + .addMethod(getRetrieveRegisterParametersMethod()) + .addMethod(getRegisterDomainMethod()) + .addMethod(getRetrieveTransferParametersMethod()) + .addMethod(getTransferDomainMethod()) + .addMethod(getListRegistrationsMethod()) + .addMethod(getGetRegistrationMethod()) + .addMethod(getUpdateRegistrationMethod()) + .addMethod(getConfigureManagementSettingsMethod()) + .addMethod(getConfigureDnsSettingsMethod()) + .addMethod(getConfigureContactSettingsMethod()) + .addMethod(getExportRegistrationMethod()) + .addMethod(getDeleteRegistrationMethod()) + .addMethod(getRetrieveAuthorizationCodeMethod()) + .addMethod(getResetAuthorizationCodeMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java similarity index 68% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java index 199b31ff..0843c634 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Defines an authorization code.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.AuthorizationCode} */ -public final class AuthorizationCode extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuthorizationCode extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.AuthorizationCode) AuthorizationCodeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuthorizationCode.newBuilder() to construct. private AuthorizationCode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuthorizationCode() { code_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuthorizationCode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AuthorizationCode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AuthorizationCode( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + code_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,40 +73,35 @@ private AuthorizationCode( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.AuthorizationCode.class, - com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1alpha2.AuthorizationCode.class, com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private volatile java.lang.Object code_; /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The code. */ @java.lang.Override @@ -133,30 +110,30 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } @@ -201,15 +178,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.domains.v1alpha2.AuthorizationCode)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.AuthorizationCode other = - (com.google.cloud.domains.v1alpha2.AuthorizationCode) obj; + com.google.cloud.domains.v1alpha2.AuthorizationCode other = (com.google.cloud.domains.v1alpha2.AuthorizationCode) obj; - if (!getCode().equals(other.getCode())) return false; + if (!getCode() + .equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.AuthorizationCode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines an authorization code.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.AuthorizationCode} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.AuthorizationCode) com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.AuthorizationCode.class, - com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1alpha2.AuthorizationCode.class, com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.AuthorizationCode.newBuilder() @@ -356,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; } @java.lang.Override @@ -395,8 +364,7 @@ public com.google.cloud.domains.v1alpha2.AuthorizationCode build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.AuthorizationCode buildPartial() { - com.google.cloud.domains.v1alpha2.AuthorizationCode result = - new com.google.cloud.domains.v1alpha2.AuthorizationCode(this); + com.google.cloud.domains.v1alpha2.AuthorizationCode result = new com.google.cloud.domains.v1alpha2.AuthorizationCode(this); result.code_ = code_; onBuilt(); return result; @@ -406,39 +374,38 @@ public com.google.cloud.domains.v1alpha2.AuthorizationCode buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.AuthorizationCode) { - return mergeFrom((com.google.cloud.domains.v1alpha2.AuthorizationCode) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.AuthorizationCode)other); } else { super.mergeFrom(other); return this; @@ -446,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.AuthorizationCode other) { - if (other == com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance()) return this; if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); @@ -471,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.AuthorizationCode) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.AuthorizationCode) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -484,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object code_ = ""; /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -507,22 +470,21 @@ public java.lang.String getCode() { } } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @return The bytes for code. */ - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -530,71 +492,64 @@ public com.google.protobuf.ByteString getCodeBytes() { } } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(java.lang.String value) { + public Builder setCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -604,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.AuthorizationCode) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.AuthorizationCode) private static final com.google.cloud.domains.v1alpha2.AuthorizationCode DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.AuthorizationCode(); } @@ -618,16 +573,16 @@ public static com.google.cloud.domains.v1alpha2.AuthorizationCode getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthorizationCode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuthorizationCode(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthorizationCode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthorizationCode(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.AuthorizationCode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java similarity index 51% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java index 429f8141..c176b53a 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface AuthorizationCodeOrBuilder - extends +public interface AuthorizationCodeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.AuthorizationCode) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The code. */ java.lang.String getCode(); /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The bytes for code. */ - com.google.protobuf.ByteString getCodeBytes(); + com.google.protobuf.ByteString + getCodeBytes(); } diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java similarity index 72% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java index b38bd524..3868c764 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `ConfigureContactSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest} */ -public final class ConfigureContactSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigureContactSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) ConfigureContactSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigureContactSettingsRequest.newBuilder() to construct. - private ConfigureContactSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureContactSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigureContactSettingsRequest() { registration_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -45,15 +26,16 @@ private ConfigureContactSettingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigureContactSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConfigureContactSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,82 +55,73 @@ private ConfigureContactSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; + registration_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null; + if (contactSettings_ != null) { + subBuilder = contactSettings_.toBuilder(); + } + contactSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(contactSettings_); + contactSettings_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null; - if (contactSettings_ != null) { - subBuilder = contactSettings_.toBuilder(); - } - contactSettings_ = - input.readMessage( - com.google.cloud.domains.v1alpha2.ContactSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(contactSettings_); - contactSettings_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 32: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { + contactNotices_.add(rawValue); + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); - break; } - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - contactNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 40: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(oldLimit); + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -156,7 +129,8 @@ private ConfigureContactSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -165,36 +139,28 @@ private ConfigureContactSettingsRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -203,32 +169,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -239,14 +203,11 @@ public com.google.protobuf.ByteString getRegistrationBytes() { public static final int CONTACT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.ContactSettings contactSettings_; /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; - * * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -254,25 +215,18 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; - * * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings() { - return contactSettings_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; } /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -287,17 +241,13 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSett public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -305,17 +255,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -323,16 +269,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -342,47 +285,36 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> - contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>() { public com.google.cloud.domains.v1alpha2.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactNotice result = - com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.ContactNotice result = com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ @java.lang.Override @@ -390,15 +322,12 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -407,31 +336,26 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return contactNotices_; } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -439,20 +363,16 @@ public java.util.List getContactNoticesValueList() { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } - private int contactNoticesMemoizedSerializedSize; public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_; /** - * - * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; - * * @return The validateOnly. */ @java.lang.Override @@ -461,7 +381,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -473,7 +392,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); @@ -507,26 +427,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContactSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getContactSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }contactNoticesMemoizedSerializedSize = dataSize; } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -536,25 +458,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.domains.v1alpha2.ConfigureContactSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest other = - (com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) obj; + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest other = (com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings().equals(other.getContactSettings())) return false; + if (!getContactSettings() + .equals(other.getContactSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -581,152 +506,142 @@ public int hashCode() { hash = (53 * hash) + contactNotices_.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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest - 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.domains.v1alpha2.ConfigureContactSettingsRequest 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.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureContactSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.Builder.class); } - // Construct using - // com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.newBuilder() + // Construct using com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -752,14 +667,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.getDefaultInstance(); } @@ -774,8 +688,7 @@ public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest build() @java.lang.Override public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest result = - new com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest(this); + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest result = new com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest(this); int from_bitField0_ = bitField0_; result.registration_ = registration_; if (contactSettingsBuilder_ == null) { @@ -802,50 +715,46 @@ public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest other) { - if (other - == com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest other) { + if (other == com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -888,9 +797,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -899,28 +806,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -929,24 +831,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -954,70 +853,57 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -1025,47 +911,34 @@ public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1alpha2.ContactSettings contactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, - com.google.cloud.domains.v1alpha2.ContactSettings.Builder, - com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> - contactSettingsBuilder_; + com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> contactSettingsBuilder_; /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; - * * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; - * * @return The contactSettings. */ public com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1086,8 +959,6 @@ public Builder setContactSettings(com.google.cloud.domains.v1alpha2.ContactSetti return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1106,8 +977,6 @@ public Builder setContactSettings( return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1118,9 +987,7 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1alpha2.ContactSet if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(contactSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); } else { contactSettings_ = value; } @@ -1132,8 +999,6 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1alpha2.ContactSet return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1152,8 +1017,6 @@ public Builder clearContactSettings() { return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1161,32 +1024,26 @@ public Builder clearContactSettings() { * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; */ public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; */ - public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder - getContactSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSettingsOrBuilder() { if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? + com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; } } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1194,17 +1051,14 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getContactSetti * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, - com.google.cloud.domains.v1alpha2.ContactSettings.Builder, - com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, - com.google.cloud.domains.v1alpha2.ContactSettings.Builder, - com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( - getContactSettings(), getParentForChildren(), isClean()); + contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( + getContactSettings(), + getParentForChildren(), + isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -1212,61 +1066,45 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getContactSetti private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1282,18 +1120,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1304,22 +1140,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1331,16 +1164,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1354,74 +1184,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private java.util.List contactNotices_ = java.util.Collections.emptyList(); - + private java.util.List contactNotices_ = + java.util.Collections.emptyList(); private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1429,47 +1246,37 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1477,15 +1284,12 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1501,15 +1305,12 @@ public Builder setContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1523,15 +1324,12 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1545,15 +1343,12 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1563,30 +1358,25 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1594,35 +1384,30 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue(int index, int value) { + public Builder setContactNoticesValue( + int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1633,19 +1418,17 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue(java.lang.Iterable values) { + public Builder addAllContactNoticesValue( + java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1654,16 +1437,13 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; - * * @return The validateOnly. */ @java.lang.Override @@ -1671,43 +1451,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1717,32 +1491,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) - private static final com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest(); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureContactSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureContactSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureContactSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureContactSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1754,8 +1526,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java index 6d6e43be..3bd3bd80 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ConfigureContactSettingsRequestOrBuilder - extends +public interface ConfigureContactSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ java.lang.String getRegistration(); /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - com.google.protobuf.ByteString getRegistrationBytes(); + com.google.protobuf.ByteString + getRegistrationBytes(); /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; - * * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; - * * @return The contactSettings. */ com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings(); /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -90,126 +57,98 @@ public interface ConfigureContactSettingsRequestOrBuilder com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ int getContactNoticesCount(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int index); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List getContactNoticesValueList(); + java.util.List + getContactNoticesValueList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** - * - * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java similarity index 72% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java index eb2b7db9..298ca6bf 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `ConfigureDnsSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest} */ -public final class ConfigureDnsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigureDnsSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) ConfigureDnsSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigureDnsSettingsRequest.newBuilder() to construct. private ConfigureDnsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigureDnsSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigureDnsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConfigureDnsSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,56 +53,50 @@ private ConfigureDnsSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; + registration_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1alpha2.DnsSettings.Builder subBuilder = null; + if (dnsSettings_ != null) { + subBuilder = dnsSettings_.toBuilder(); } - case 18: - { - com.google.cloud.domains.v1alpha2.DnsSettings.Builder subBuilder = null; - if (dnsSettings_ != null) { - subBuilder = dnsSettings_.toBuilder(); - } - dnsSettings_ = - input.readMessage( - com.google.cloud.domains.v1alpha2.DnsSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsSettings_); - dnsSettings_ = subBuilder.buildPartial(); - } - - break; + dnsSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsSettings_); + dnsSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 32: - { - validateOnly_ = input.readBool(); - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +104,35 @@ private ConfigureDnsSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -171,32 +141,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -207,14 +175,11 @@ public com.google.protobuf.ByteString getRegistrationBytes() { public static final int DNS_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.DnsSettings dnsSettings_; /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; - * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -222,25 +187,18 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; - * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings() { - return dnsSettings_ == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_; } /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -255,8 +213,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -268,9 +224,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -278,8 +232,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -291,9 +243,7 @@ public boolean hasUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -301,8 +251,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -314,8 +262,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -325,14 +272,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** - * - * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -341,7 +285,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -353,7 +296,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -379,13 +323,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDnsSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -395,24 +342,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.domains.v1alpha2.ConfigureDnsSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest other = - (com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) obj; + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest other = (com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings().equals(other.getDnsSettings())) return false; + if (!getDnsSettings() + .equals(other.getDnsSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -435,134 +385,125 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureDnsSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.newBuilder() @@ -570,15 +511,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -602,14 +544,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.getDefaultInstance(); } @@ -624,8 +565,7 @@ public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest result = - new com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest(this); + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest result = new com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest(this); result.registration_ = registration_; if (dnsSettingsBuilder_ == null) { result.dnsSettings_ = dnsSettings_; @@ -646,39 +586,38 @@ public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest)other); } else { super.mergeFrom(other); return this; @@ -686,9 +625,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest other) { - if (other - == com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -721,9 +658,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -735,23 +670,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -760,24 +691,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -785,70 +713,57 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -856,47 +771,34 @@ public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1alpha2.DnsSettings dnsSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings, - com.google.cloud.domains.v1alpha2.DnsSettings.Builder, - com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> - dnsSettingsBuilder_; + com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> dnsSettingsBuilder_; /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; - * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; - * * @return The dnsSettings. */ public com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -917,8 +819,6 @@ public Builder setDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings valu return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -937,8 +837,6 @@ public Builder setDnsSettings( return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -949,9 +847,7 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings va if (dnsSettingsBuilder_ == null) { if (dnsSettings_ != null) { dnsSettings_ = - com.google.cloud.domains.v1alpha2.DnsSettings.newBuilder(dnsSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial(); } else { dnsSettings_ = value; } @@ -963,8 +859,6 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings va return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -983,8 +877,6 @@ public Builder clearDnsSettings() { return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -992,13 +884,11 @@ public Builder clearDnsSettings() { * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; */ public com.google.cloud.domains.v1alpha2.DnsSettings.Builder getDnsSettingsBuilder() { - + onChanged(); return getDnsSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -1009,14 +899,11 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu if (dnsSettingsBuilder_ != null) { return dnsSettingsBuilder_.getMessageOrBuilder(); } else { - return dnsSettings_ == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? + com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_; } } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -1024,17 +911,14 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings, - com.google.cloud.domains.v1alpha2.DnsSettings.Builder, - com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> + com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> getDnsSettingsFieldBuilder() { if (dnsSettingsBuilder_ == null) { - dnsSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings, - com.google.cloud.domains.v1alpha2.DnsSettings.Builder, - com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>( - getDnsSettings(), getParentForChildren(), isClean()); + dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>( + getDnsSettings(), + getParentForChildren(), + isClean()); dnsSettings_ = null; } return dnsSettingsBuilder_; @@ -1042,13 +926,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1060,17 +939,13 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1082,23 +957,17 @@ public boolean hasUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1110,8 +979,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1127,8 +995,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1140,10 +1006,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1154,8 +1020,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1167,14 +1031,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1186,8 +1049,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1199,8 +1060,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1214,8 +1074,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1227,17 +1085,14 @@ public Builder clearUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1249,21 +1104,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1275,36 +1126,29 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1312,43 +1156,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1358,13 +1196,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) - private static final com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest(); } @@ -1373,16 +1210,16 @@ public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureDnsSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureDnsSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureDnsSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureDnsSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1397,4 +1234,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java index 60aaa307..7196d057 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ConfigureDnsSettingsRequestOrBuilder - extends +public interface ConfigureDnsSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ java.lang.String getRegistration(); /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - com.google.protobuf.ByteString getRegistrationBytes(); + com.google.protobuf.ByteString + getRegistrationBytes(); /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; - * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; - * * @return The dnsSettings. */ com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings(); /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -90,8 +57,6 @@ public interface ConfigureDnsSettingsRequestOrBuilder com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -103,15 +68,11 @@ public interface ConfigureDnsSettingsRequestOrBuilder
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -123,15 +84,11 @@ public interface ConfigureDnsSettingsRequestOrBuilder
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -143,20 +100,16 @@ public interface ConfigureDnsSettingsRequestOrBuilder
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java similarity index 66% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java index 99986c18..e97a3462 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `ConfigureManagementSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest} */ -public final class ConfigureManagementSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigureManagementSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) ConfigureManagementSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigureManagementSettingsRequest.newBuilder() to construct. - private ConfigureManagementSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureManagementSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigureManagementSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigureManagementSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConfigureManagementSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,52 +53,45 @@ private ConfigureManagementSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; + registration_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1alpha2.ManagementSettings.Builder subBuilder = null; + if (managementSettings_ != null) { + subBuilder = managementSettings_.toBuilder(); } - case 18: - { - com.google.cloud.domains.v1alpha2.ManagementSettings.Builder subBuilder = null; - if (managementSettings_ != null) { - subBuilder = managementSettings_.toBuilder(); - } - managementSettings_ = - input.readMessage( - com.google.cloud.domains.v1alpha2.ManagementSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(managementSettings_); - managementSettings_ = subBuilder.buildPartial(); - } - - break; + managementSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.ManagementSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(managementSettings_); + managementSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -124,42 +99,35 @@ private ConfigureManagementSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -168,32 +136,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -204,14 +170,11 @@ public com.google.protobuf.ByteString getRegistrationBytes() { public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.ManagementSettings managementSettings_; /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; - * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -219,25 +182,18 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; - * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings() { - return managementSettings_ == null - ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_; } /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -245,25 +201,20 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSetting * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder - getManagementSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() { return getManagementSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -271,17 +222,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -289,16 +236,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -306,7 +250,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,7 +261,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -341,10 +285,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getManagementSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -354,22 +300,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.domains.v1alpha2.ConfigureManagementSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest other = - (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) obj; + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest other = (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings().equals(other.getManagementSettings())) return false; + if (!getManagementSettings() + .equals(other.getManagementSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -398,145 +346,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest - 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.domains.v1alpha2.ConfigureManagementSettingsRequest 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.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureManagementSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.Builder.class); } - // Construct using - // com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.newBuilder() + // Construct using com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -558,16 +495,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest - getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest - .getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -581,8 +516,7 @@ public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest buil @java.lang.Override public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest result = - new com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest(this); + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest result = new com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest(this); result.registration_ = registration_; if (managementSettingsBuilder_ == null) { result.managementSettings_ = managementSettings_; @@ -602,51 +536,46 @@ public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) { - return mergeFrom( - (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest other) { - if (other - == com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest other) { + if (other == com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -676,9 +605,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -690,23 +617,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -715,24 +638,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -740,70 +660,57 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -811,55 +718,41 @@ public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1alpha2.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ManagementSettings, - com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, - com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> - managementSettingsBuilder_; + com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> managementSettingsBuilder_; /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; - * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; - * * @return The managementSettings. */ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null - ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ - public Builder setManagementSettings( - com.google.cloud.domains.v1alpha2.ManagementSettings value) { + public Builder setManagementSettings(com.google.cloud.domains.v1alpha2.ManagementSettings value) { if (managementSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -873,8 +766,6 @@ public Builder setManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -893,22 +784,17 @@ public Builder setManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ - public Builder mergeManagementSettings( - com.google.cloud.domains.v1alpha2.ManagementSettings value) { + public Builder mergeManagementSettings(com.google.cloud.domains.v1alpha2.ManagementSettings value) { if (managementSettingsBuilder_ == null) { if (managementSettings_ != null) { managementSettings_ = - com.google.cloud.domains.v1alpha2.ManagementSettings.newBuilder(managementSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial(); } else { managementSettings_ = value; } @@ -920,8 +806,6 @@ public Builder mergeManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -940,42 +824,33 @@ public Builder clearManagementSettings() { return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ - public com.google.cloud.domains.v1alpha2.ManagementSettings.Builder - getManagementSettingsBuilder() { - + public com.google.cloud.domains.v1alpha2.ManagementSettings.Builder getManagementSettingsBuilder() { + onChanged(); return getManagementSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ - public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder - getManagementSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() { if (managementSettingsBuilder_ != null) { return managementSettingsBuilder_.getMessageOrBuilder(); } else { - return managementSettings_ == null - ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? + com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_; } } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -983,17 +858,14 @@ public Builder clearManagementSettings() { * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ManagementSettings, - com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, - com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> + com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> getManagementSettingsFieldBuilder() { if (managementSettingsBuilder_ == null) { - managementSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ManagementSettings, - com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, - com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder>( - getManagementSettings(), getParentForChildren(), isClean()); + managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder>( + getManagementSettings(), + getParentForChildren(), + isClean()); managementSettings_ = null; } return managementSettingsBuilder_; @@ -1001,61 +873,45 @@ public Builder clearManagementSettings() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1071,18 +927,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1093,22 +947,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1120,16 +971,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1143,74 +991,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1220,32 +1055,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) - private static final com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest(); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureManagementSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureManagementSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureManagementSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureManagementSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1257,8 +1090,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java index 01023048..71e3c962 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ConfigureManagementSettingsRequestOrBuilder - extends +public interface ConfigureManagementSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ java.lang.String getRegistration(); /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - com.google.protobuf.ByteString getRegistrationBytes(); + com.google.protobuf.ByteString + getRegistrationBytes(); /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; - * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; - * * @return The managementSettings. */ com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings(); /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -90,46 +57,35 @@ public interface ConfigureManagementSettingsRequestOrBuilder com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java similarity index 67% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java index 509b36f7..15091a1e 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Notices related to contact information.
  * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.ContactNotice} */ -public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { +public enum ContactNotice + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The notice is undefined.
    * 
@@ -39,8 +21,6 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { */ CONTACT_NOTICE_UNSPECIFIED(0), /** - * - * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -53,8 +33,6 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * The notice is undefined.
    * 
@@ -63,8 +41,6 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTACT_NOTICE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -74,6 +50,7 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT_VALUE = 1;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -98,47 +75,48 @@ public static ContactNotice valueOf(int value) {
    */
   public static ContactNotice forNumber(int value) {
     switch (value) {
-      case 0:
-        return CONTACT_NOTICE_UNSPECIFIED;
-      case 1:
-        return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
-      default:
-        return null;
+      case 0: return CONTACT_NOTICE_UNSPECIFIED;
+      case 1: return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
+      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 ContactNotice findValueByNumber(int number) {
-          return ContactNotice.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ContactNotice> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ContactNotice findValueByNumber(int number) {
+            return ContactNotice.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.domains.v1alpha2.DomainsProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final ContactNotice[] VALUES = values();
 
-  public static ContactNotice valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactNotice valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -154,3 +132,4 @@ private ContactNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1alpha2.ContactNotice)
 }
+
diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java
similarity index 75%
rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java
rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java
index 9e7b8fcd..4781ffec 100644
--- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java
+++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1alpha2/domains.proto
 
 package com.google.cloud.domains.v1alpha2;
 
 /**
- *
- *
  * 
  * Defines a set of possible contact privacy settings for a `Registration`.
  * [ICANN](https://icann.org/) maintains the WHOIS database, a publicly
@@ -31,10 +14,9 @@
  *
  * Protobuf enum {@code google.cloud.domains.v1alpha2.ContactPrivacy}
  */
-public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
+public enum ContactPrivacy
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -43,8 +25,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum { */ CONTACT_PRIVACY_UNSPECIFIED(0), /** - * - * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -56,8 +36,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   PUBLIC_CONTACT_DATA(1),
   /**
-   *
-   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -69,8 +47,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   PRIVATE_CONTACT_DATA(2),
   /**
-   *
-   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -85,8 +61,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -95,8 +69,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTACT_PRIVACY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -108,8 +80,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PUBLIC_CONTACT_DATA_VALUE = 1;
   /**
-   *
-   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -121,8 +91,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PRIVATE_CONTACT_DATA_VALUE = 2;
   /**
-   *
-   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -134,6 +102,7 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int REDACTED_CONTACT_DATA_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -158,51 +127,50 @@ public static ContactPrivacy valueOf(int value) {
    */
   public static ContactPrivacy forNumber(int value) {
     switch (value) {
-      case 0:
-        return CONTACT_PRIVACY_UNSPECIFIED;
-      case 1:
-        return PUBLIC_CONTACT_DATA;
-      case 2:
-        return PRIVATE_CONTACT_DATA;
-      case 3:
-        return REDACTED_CONTACT_DATA;
-      default:
-        return null;
+      case 0: return CONTACT_PRIVACY_UNSPECIFIED;
+      case 1: return PUBLIC_CONTACT_DATA;
+      case 2: return PRIVATE_CONTACT_DATA;
+      case 3: return REDACTED_CONTACT_DATA;
+      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 ContactPrivacy findValueByNumber(int number) {
-          return ContactPrivacy.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ContactPrivacy> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ContactPrivacy findValueByNumber(int number) {
+            return ContactPrivacy.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.domains.v1alpha2.DomainsProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final ContactPrivacy[] VALUES = values();
 
-  public static ContactPrivacy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactPrivacy valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -218,3 +186,4 @@ private ContactPrivacy(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1alpha2.ContactPrivacy)
 }
+
diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java
similarity index 66%
rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java
rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java
index c7479c2c..6842ea3b 100644
--- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java
+++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1alpha2/domains.proto
 
 package com.google.cloud.domains.v1alpha2;
 
 /**
- *
- *
  * 
  * Defines the contact information associated with a `Registration`.
  * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -30,31 +13,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1alpha2.ContactSettings}
  */
-public final class ContactSettings extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContactSettings extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ContactSettings)
     ContactSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContactSettings.newBuilder() to construct.
   private ContactSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ContactSettings() {
     privacy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ContactSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ContactSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,71 +56,58 @@ private ContactSettings(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              privacy_ = rawValue;
-              break;
+            privacy_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
+            if (registrantContact_ != null) {
+              subBuilder = registrantContact_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
-              if (registrantContact_ != null) {
-                subBuilder = registrantContact_.toBuilder();
-              }
-              registrantContact_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(registrantContact_);
-                registrantContact_ = subBuilder.buildPartial();
-              }
-
-              break;
+            registrantContact_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(registrantContact_);
+              registrantContact_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
-              if (adminContact_ != null) {
-                subBuilder = adminContact_.toBuilder();
-              }
-              adminContact_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(adminContact_);
-                adminContact_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
+            if (adminContact_ != null) {
+              subBuilder = adminContact_.toBuilder();
+            }
+            adminContact_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(adminContact_);
+              adminContact_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
-              if (technicalContact_ != null) {
-                subBuilder = technicalContact_.toBuilder();
-              }
-              technicalContact_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(technicalContact_);
-                technicalContact_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 34: {
+            com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
+            if (technicalContact_ != null) {
+              subBuilder = technicalContact_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            technicalContact_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(technicalContact_);
+              technicalContact_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -145,172 +115,137 @@ private ContactSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.domains.v1alpha2.DomainsProto
-        .internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1alpha2.DomainsProto
-        .internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1alpha2.ContactSettings.class,
-            com.google.cloud.domains.v1alpha2.ContactSettings.Builder.class);
+            com.google.cloud.domains.v1alpha2.ContactSettings.class, com.google.cloud.domains.v1alpha2.ContactSettings.Builder.class);
   }
 
-  public interface ContactOrBuilder
-      extends
+  public interface ContactOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ContactSettings.Contact)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder(); /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The email. */ java.lang.String getEmail(); /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for email. */ - com.google.protobuf.ByteString getEmailBytes(); + com.google.protobuf.ByteString + getEmailBytes(); /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The phoneNumber. */ java.lang.String getPhoneNumber(); /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for phoneNumber. */ - com.google.protobuf.ByteString getPhoneNumberBytes(); + com.google.protobuf.ByteString + getPhoneNumberBytes(); /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The faxNumber. */ java.lang.String getFaxNumber(); /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The bytes for faxNumber. */ - com.google.protobuf.ByteString getFaxNumberBytes(); + com.google.protobuf.ByteString + getFaxNumberBytes(); } /** - * - * *
    * Details required for a contact associated with a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ContactSettings.Contact} */ - public static final class Contact extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Contact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ContactSettings.Contact) ContactOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Contact.newBuilder() to construct. private Contact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Contact() { email_ = ""; phoneNumber_ = ""; @@ -319,15 +254,16 @@ private Contact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Contact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Contact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -346,49 +282,44 @@ private Contact( case 0: done = true; break; - case 10: - { - com.google.type.PostalAddress.Builder subBuilder = null; - if (postalAddress_ != null) { - subBuilder = postalAddress_.toBuilder(); - } - postalAddress_ = - input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(postalAddress_); - postalAddress_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.type.PostalAddress.Builder subBuilder = null; + if (postalAddress_ != null) { + subBuilder = postalAddress_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - email_ = s; - break; + postalAddress_ = input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(postalAddress_); + postalAddress_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - phoneNumber_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - faxNumber_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + email_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + phoneNumber_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + faxNumber_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -396,41 +327,34 @@ private Contact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.class, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.class, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder.class); } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 1; private com.google.type.PostalAddress postalAddress_; /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -438,34 +362,23 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { @@ -475,14 +388,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { public static final int EMAIL_FIELD_NUMBER = 2; private volatile java.lang.Object email_; /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The email. */ @java.lang.Override @@ -491,29 +401,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -524,15 +434,12 @@ public com.google.protobuf.ByteString getEmailBytes() { public static final int PHONE_NUMBER_FIELD_NUMBER = 3; private volatile java.lang.Object phoneNumber_; /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The phoneNumber. */ @java.lang.Override @@ -541,30 +448,30 @@ public java.lang.String getPhoneNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; } } /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for phoneNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getPhoneNumberBytes() { + public com.google.protobuf.ByteString + getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -575,15 +482,12 @@ public com.google.protobuf.ByteString getPhoneNumberBytes() { public static final int FAX_NUMBER_FIELD_NUMBER = 4; private volatile java.lang.Object faxNumber_; /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The faxNumber. */ @java.lang.Override @@ -592,30 +496,30 @@ public java.lang.String getFaxNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; } } /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The bytes for faxNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getFaxNumberBytes() { + public com.google.protobuf.ByteString + getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -624,7 +528,6 @@ public com.google.protobuf.ByteString getFaxNumberBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -636,7 +539,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (postalAddress_ != null) { output.writeMessage(1, getPostalAddress()); } @@ -659,7 +563,8 @@ public int getSerializedSize() { size = 0; if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPostalAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_); @@ -678,21 +583,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.domains.v1alpha2.ContactSettings.Contact)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ContactSettings.Contact other = - (com.google.cloud.domains.v1alpha2.ContactSettings.Contact) obj; + com.google.cloud.domains.v1alpha2.ContactSettings.Contact other = (com.google.cloud.domains.v1alpha2.ContactSettings.Contact) obj; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress().equals(other.getPostalAddress())) return false; - } - if (!getEmail().equals(other.getEmail())) return false; - if (!getPhoneNumber().equals(other.getPhoneNumber())) return false; - if (!getFaxNumber().equals(other.getFaxNumber())) return false; + if (!getPostalAddress() + .equals(other.getPostalAddress())) return false; + } + if (!getEmail() + .equals(other.getEmail())) return false; + if (!getPhoneNumber() + .equals(other.getPhoneNumber())) return false; + if (!getFaxNumber() + .equals(other.getFaxNumber())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -720,94 +628,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ContactSettings.Contact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -817,32 +718,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details required for a contact associated with a `Registration`.
      * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ContactSettings.Contact} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ContactSettings.Contact) com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.class, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.class, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder() @@ -850,15 +746,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -878,9 +775,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; } @java.lang.Override @@ -899,8 +796,7 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings.Contact buildPartial() { - com.google.cloud.domains.v1alpha2.ContactSettings.Contact result = - new com.google.cloud.domains.v1alpha2.ContactSettings.Contact(this); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact result = new com.google.cloud.domains.v1alpha2.ContactSettings.Contact(this); if (postalAddressBuilder_ == null) { result.postalAddress_ = postalAddress_; } else { @@ -917,41 +813,38 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.domains.v1alpha2.ContactSettings.Contact) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ContactSettings.Contact) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ContactSettings.Contact)other); } else { super.mergeFrom(other); return this; @@ -959,8 +852,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ContactSettings.Contact other) { - if (other == com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance()) return this; if (other.hasPostalAddress()) { mergePostalAddress(other.getPostalAddress()); } @@ -995,8 +887,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.ContactSettings.Contact) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.ContactSettings.Contact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1008,58 +899,39 @@ public Builder mergeFrom( private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> - postalAddressBuilder_; + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { @@ -1075,17 +947,14 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) { + public Builder setPostalAddress( + com.google.type.PostalAddress.Builder builderForValue) { if (postalAddressBuilder_ == null) { postalAddress_ = builderForValue.build(); onChanged(); @@ -1096,23 +965,17 @@ public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderFor return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergePostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { if (postalAddress_ != null) { postalAddress_ = - com.google.type.PostalAddress.newBuilder(postalAddress_) - .mergeFrom(value) - .buildPartial(); + com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial(); } else { postalAddress_ = value; } @@ -1124,15 +987,11 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPostalAddress() { if (postalAddressBuilder_ == null) { @@ -1146,64 +1005,48 @@ public Builder clearPostalAddress() { return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.PostalAddress.Builder getPostalAddressBuilder() { - + onChanged(); return getPostalAddressFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { if (postalAddressBuilder_ != null) { return postalAddressBuilder_.getMessageOrBuilder(); } else { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? + com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> getPostalAddressFieldBuilder() { if (postalAddressBuilder_ == null) { - postalAddressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder>( - getPostalAddress(), getParentForChildren(), isClean()); + postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( + getPostalAddress(), + getParentForChildren(), + isClean()); postalAddress_ = null; } return postalAddressBuilder_; @@ -1211,20 +1054,18 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { private java.lang.Object email_ = ""; /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -1233,21 +1074,20 @@ public java.lang.String getEmail() { } } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for email. */ - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -1255,61 +1095,54 @@ public com.google.protobuf.ByteString getEmailBytes() { } } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail(java.lang.String value) { + public Builder setEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes(com.google.protobuf.ByteString value) { + public Builder setEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; @@ -1317,21 +1150,19 @@ public Builder setEmailBytes(com.google.protobuf.ByteString value) { private java.lang.Object phoneNumber_ = ""; /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The phoneNumber. */ public java.lang.String getPhoneNumber() { java.lang.Object ref = phoneNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; @@ -1340,22 +1171,21 @@ public java.lang.String getPhoneNumber() { } } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for phoneNumber. */ - public com.google.protobuf.ByteString getPhoneNumberBytes() { + public com.google.protobuf.ByteString + getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -1363,64 +1193,57 @@ public com.google.protobuf.ByteString getPhoneNumberBytes() { } } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumber(java.lang.String value) { + public Builder setPhoneNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phoneNumber_ = value; onChanged(); return this; } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPhoneNumber() { - + phoneNumber_ = getDefaultInstance().getPhoneNumber(); onChanged(); return this; } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { + public Builder setPhoneNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phoneNumber_ = value; onChanged(); return this; @@ -1428,21 +1251,19 @@ public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { private java.lang.Object faxNumber_ = ""; /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @return The faxNumber. */ public java.lang.String getFaxNumber() { java.lang.Object ref = faxNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; @@ -1451,22 +1272,21 @@ public java.lang.String getFaxNumber() { } } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @return The bytes for faxNumber. */ - public com.google.protobuf.ByteString getFaxNumberBytes() { + public com.google.protobuf.ByteString + getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -1474,69 +1294,61 @@ public com.google.protobuf.ByteString getFaxNumberBytes() { } } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @param value The faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumber(java.lang.String value) { + public Builder setFaxNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + faxNumber_ = value; onChanged(); return this; } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @return This builder for chaining. */ public Builder clearFaxNumber() { - + faxNumber_ = getDefaultInstance().getFaxNumber(); onChanged(); return this; } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @param value The bytes for faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumberBytes(com.google.protobuf.ByteString value) { + public Builder setFaxNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + faxNumber_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1549,12 +1361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ContactSettings.Contact) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ContactSettings.Contact) private static final com.google.cloud.domains.v1alpha2.ContactSettings.Contact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ContactSettings.Contact(); } @@ -1563,16 +1375,16 @@ public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Contact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Contact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Contact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Contact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1587,53 +1399,39 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PRIVACY_FIELD_NUMBER = 1; private int privacy_; /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override - public int getPrivacyValue() { + @java.lang.Override public int getPrivacyValue() { return privacy_; } /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The privacy. */ - @java.lang.Override - public com.google.cloud.domains.v1alpha2.ContactPrivacy getPrivacy() { + @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactPrivacy result = - com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(privacy_); + com.google.cloud.domains.v1alpha2.ContactPrivacy result = com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(privacy_); return result == null ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED : result; } public static final int REGISTRANT_CONTACT_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.ContactSettings.Contact registrantContact_; /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1643,10 +1441,7 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getPrivacy() {
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registrantContact field is set. */ @java.lang.Override @@ -1654,8 +1449,6 @@ public boolean hasRegistrantContact() { return registrantContact_ != null; } /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1665,21 +1458,14 @@ public boolean hasRegistrantContact() {
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registrantContact. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getRegistrantContact() { - return registrantContact_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() - : registrantContact_; + return registrantContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : registrantContact_; } /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1689,29 +1475,21 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getRegistrantCo
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder - getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { return getRegistrantContact(); } public static final int ADMIN_CONTACT_FIELD_NUMBER = 3; private com.google.cloud.domains.v1alpha2.ContactSettings.Contact adminContact_; /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adminContact field is set. */ @java.lang.Override @@ -1719,54 +1497,37 @@ public boolean hasAdminContact() { return adminContact_ != null; } /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The adminContact. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getAdminContact() { - return adminContact_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() - : adminContact_; + return adminContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : adminContact_; } /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder - getAdminContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { return getAdminContact(); } public static final int TECHNICAL_CONTACT_FIELD_NUMBER = 4; private com.google.cloud.domains.v1alpha2.ContactSettings.Contact technicalContact_; /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the technicalContact field is set. */ @java.lang.Override @@ -1774,43 +1535,30 @@ public boolean hasTechnicalContact() { return technicalContact_ != null; } /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The technicalContact. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getTechnicalContact() { - return technicalContact_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() - : technicalContact_; + return technicalContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : technicalContact_; } /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder - getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { return getTechnicalContact(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1822,10 +1570,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (privacy_ - != com.google.cloud.domains.v1alpha2.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (privacy_ != com.google.cloud.domains.v1alpha2.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { output.writeEnum(1, privacy_); } if (registrantContact_ != null) { @@ -1846,19 +1593,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (privacy_ - != com.google.cloud.domains.v1alpha2.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, privacy_); + if (privacy_ != com.google.cloud.domains.v1alpha2.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, privacy_); } if (registrantContact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistrantContact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRegistrantContact()); } if (adminContact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAdminContact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAdminContact()); } if (technicalContact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTechnicalContact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTechnicalContact()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1868,26 +1617,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.domains.v1alpha2.ContactSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ContactSettings other = - (com.google.cloud.domains.v1alpha2.ContactSettings) obj; + com.google.cloud.domains.v1alpha2.ContactSettings other = (com.google.cloud.domains.v1alpha2.ContactSettings) obj; if (privacy_ != other.privacy_) return false; if (hasRegistrantContact() != other.hasRegistrantContact()) return false; if (hasRegistrantContact()) { - if (!getRegistrantContact().equals(other.getRegistrantContact())) return false; + if (!getRegistrantContact() + .equals(other.getRegistrantContact())) return false; } if (hasAdminContact() != other.hasAdminContact()) return false; if (hasAdminContact()) { - if (!getAdminContact().equals(other.getAdminContact())) return false; + if (!getAdminContact() + .equals(other.getAdminContact())) return false; } if (hasTechnicalContact() != other.hasTechnicalContact()) return false; if (hasTechnicalContact()) { - if (!getTechnicalContact().equals(other.getTechnicalContact())) return false; + if (!getTechnicalContact() + .equals(other.getTechnicalContact())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1920,103 +1671,96 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ContactSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ContactSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ContactSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines the contact information associated with a `Registration`.
    * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -2026,23 +1770,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.ContactSettings}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ContactSettings)
       com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.ContactSettings.class,
-              com.google.cloud.domains.v1alpha2.ContactSettings.Builder.class);
+              com.google.cloud.domains.v1alpha2.ContactSettings.class, com.google.cloud.domains.v1alpha2.ContactSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder()
@@ -2050,15 +1792,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2086,9 +1829,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
     }
 
     @java.lang.Override
@@ -2107,8 +1850,7 @@ public com.google.cloud.domains.v1alpha2.ContactSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1alpha2.ContactSettings buildPartial() {
-      com.google.cloud.domains.v1alpha2.ContactSettings result =
-          new com.google.cloud.domains.v1alpha2.ContactSettings(this);
+      com.google.cloud.domains.v1alpha2.ContactSettings result = new com.google.cloud.domains.v1alpha2.ContactSettings(this);
       result.privacy_ = privacy_;
       if (registrantContactBuilder_ == null) {
         result.registrantContact_ = registrantContact_;
@@ -2133,39 +1875,38 @@ public com.google.cloud.domains.v1alpha2.ContactSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1alpha2.ContactSettings) {
-        return mergeFrom((com.google.cloud.domains.v1alpha2.ContactSettings) other);
+        return mergeFrom((com.google.cloud.domains.v1alpha2.ContactSettings)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2173,8 +1914,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ContactSettings other) {
-      if (other == com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance()) return this;
       if (other.privacy_ != 0) {
         setPrivacyValue(other.getPrivacyValue());
       }
@@ -2206,8 +1946,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.domains.v1alpha2.ContactSettings) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.domains.v1alpha2.ContactSettings) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2219,75 +1958,51 @@ public Builder mergeFrom(
 
     private int privacy_ = 0;
     /**
-     *
-     *
      * 
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override - public int getPrivacyValue() { + @java.lang.Override public int getPrivacyValue() { return privacy_; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for privacy to set. * @return This builder for chaining. */ public Builder setPrivacyValue(int value) { - + privacy_ = value; onChanged(); return this; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The privacy. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactPrivacy result = - com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(privacy_); - return result == null - ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.ContactPrivacy result = com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(privacy_); + return result == null ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED : result; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The privacy to set. * @return This builder for chaining. */ @@ -2295,26 +2010,21 @@ public Builder setPrivacy(com.google.cloud.domains.v1alpha2.ContactPrivacy value if (value == null) { throw new NullPointerException(); } - + privacy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearPrivacy() { - + privacy_ = 0; onChanged(); return this; @@ -2322,13 +2032,8 @@ public Builder clearPrivacy() { private com.google.cloud.domains.v1alpha2.ContactSettings.Contact registrantContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> - registrantContactBuilder_; + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> registrantContactBuilder_; /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2338,18 +2043,13 @@ public Builder clearPrivacy() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registrantContact field is set. */ public boolean hasRegistrantContact() { return registrantContactBuilder_ != null || registrantContact_ != null; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2359,24 +2059,17 @@ public boolean hasRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registrantContact. */ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getRegistrantContact() { if (registrantContactBuilder_ == null) { - return registrantContact_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() - : registrantContact_; + return registrantContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : registrantContact_; } else { return registrantContactBuilder_.getMessage(); } } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2386,12 +2079,9 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getRegistrantCo
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRegistrantContact( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder setRegistrantContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2405,8 +2095,6 @@ public Builder setRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2416,9 +2104,7 @@ public Builder setRegistrantContact(
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistrantContact( com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder builderForValue) { @@ -2432,8 +2118,6 @@ public Builder setRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2443,19 +2127,13 @@ public Builder setRegistrantContact(
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeRegistrantContact( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder mergeRegistrantContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { if (registrantContact_ != null) { registrantContact_ = - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder( - registrantContact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder(registrantContact_).mergeFrom(value).buildPartial(); } else { registrantContact_ = value; } @@ -2467,8 +2145,6 @@ public Builder mergeRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2478,9 +2154,7 @@ public Builder mergeRegistrantContact(
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRegistrantContact() { if (registrantContactBuilder_ == null) { @@ -2494,8 +2168,6 @@ public Builder clearRegistrantContact() { return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2505,19 +2177,14 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder - getRegistrantContactBuilder() { - + public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder getRegistrantContactBuilder() { + onChanged(); return getRegistrantContactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2527,23 +2194,17 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder - getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { if (registrantContactBuilder_ != null) { return registrantContactBuilder_.getMessageOrBuilder(); } else { - return registrantContact_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() - : registrantContact_; + return registrantContact_ == null ? + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : registrantContact_; } } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2553,22 +2214,17 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> getRegistrantContactFieldBuilder() { if (registrantContactBuilder_ == null) { - registrantContactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( - getRegistrantContact(), getParentForChildren(), isClean()); + registrantContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( + getRegistrantContact(), + getParentForChildren(), + isClean()); registrantContact_ = null; } return registrantContactBuilder_; @@ -2576,61 +2232,41 @@ public Builder clearRegistrantContact() { private com.google.cloud.domains.v1alpha2.ContactSettings.Contact adminContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> - adminContactBuilder_; + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> adminContactBuilder_; /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adminContact field is set. */ public boolean hasAdminContact() { return adminContactBuilder_ != null || adminContact_ != null; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The adminContact. */ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getAdminContact() { if (adminContactBuilder_ == null) { - return adminContact_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() - : adminContact_; + return adminContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : adminContact_; } else { return adminContactBuilder_.getMessage(); } } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAdminContact( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder setAdminContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2644,15 +2280,11 @@ public Builder setAdminContact( return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAdminContact( com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder builderForValue) { @@ -2666,24 +2298,17 @@ public Builder setAdminContact( return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAdminContact( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder mergeAdminContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { if (adminContact_ != null) { adminContact_ = - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder(adminContact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder(adminContact_).mergeFrom(value).buildPartial(); } else { adminContact_ = value; } @@ -2695,15 +2320,11 @@ public Builder mergeAdminContact( return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAdminContact() { if (adminContactBuilder_ == null) { @@ -2717,66 +2338,48 @@ public Builder clearAdminContact() { return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder - getAdminContactBuilder() { - + public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder getAdminContactBuilder() { + onChanged(); return getAdminContactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder - getAdminContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { if (adminContactBuilder_ != null) { return adminContactBuilder_.getMessageOrBuilder(); } else { - return adminContact_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() - : adminContact_; + return adminContact_ == null ? + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : adminContact_; } } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> getAdminContactFieldBuilder() { if (adminContactBuilder_ == null) { - adminContactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( - getAdminContact(), getParentForChildren(), isClean()); + adminContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( + getAdminContact(), + getParentForChildren(), + isClean()); adminContact_ = null; } return adminContactBuilder_; @@ -2784,61 +2387,41 @@ public Builder clearAdminContact() { private com.google.cloud.domains.v1alpha2.ContactSettings.Contact technicalContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> - technicalContactBuilder_; + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> technicalContactBuilder_; /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the technicalContact field is set. */ public boolean hasTechnicalContact() { return technicalContactBuilder_ != null || technicalContact_ != null; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The technicalContact. */ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getTechnicalContact() { if (technicalContactBuilder_ == null) { - return technicalContact_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() - : technicalContact_; + return technicalContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : technicalContact_; } else { return technicalContactBuilder_.getMessage(); } } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTechnicalContact( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder setTechnicalContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2852,15 +2435,11 @@ public Builder setTechnicalContact( return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTechnicalContact( com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder builderForValue) { @@ -2874,25 +2453,17 @@ public Builder setTechnicalContact( return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTechnicalContact( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder mergeTechnicalContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { if (technicalContact_ != null) { technicalContact_ = - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder( - technicalContact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder(technicalContact_).mergeFrom(value).buildPartial(); } else { technicalContact_ = value; } @@ -2904,15 +2475,11 @@ public Builder mergeTechnicalContact( return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTechnicalContact() { if (technicalContactBuilder_ == null) { @@ -2926,73 +2493,55 @@ public Builder clearTechnicalContact() { return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder - getTechnicalContactBuilder() { - + public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder getTechnicalContactBuilder() { + onChanged(); return getTechnicalContactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder - getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { if (technicalContactBuilder_ != null) { return technicalContactBuilder_.getMessageOrBuilder(); } else { - return technicalContact_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() - : technicalContact_; + return technicalContact_ == null ? + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : technicalContact_; } } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> getTechnicalContactFieldBuilder() { if (technicalContactBuilder_ == null) { - technicalContactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( - getTechnicalContact(), getParentForChildren(), isClean()); + technicalContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( + getTechnicalContact(), + getParentForChildren(), + isClean()); technicalContact_ = null; } return technicalContactBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3002,12 +2551,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ContactSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ContactSettings) private static final com.google.cloud.domains.v1alpha2.ContactSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ContactSettings(); } @@ -3016,16 +2565,16 @@ public static com.google.cloud.domains.v1alpha2.ContactSettings getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContactSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContactSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContactSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContactSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3040,4 +2589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.ContactSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java similarity index 58% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java index b6413f5d..1f1527d9 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java @@ -1,60 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ContactSettingsOrBuilder - extends +public interface ContactSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ContactSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for privacy. */ int getPrivacyValue(); /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The privacy. */ com.google.cloud.domains.v1alpha2.ContactPrivacy getPrivacy(); /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -64,16 +36,11 @@ public interface ContactSettingsOrBuilder
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registrantContact field is set. */ boolean hasRegistrantContact(); /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -83,16 +50,11 @@ public interface ContactSettingsOrBuilder
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registrantContact. */ com.google.cloud.domains.v1alpha2.ContactSettings.Contact getRegistrantContact(); /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -102,92 +64,61 @@ public interface ContactSettingsOrBuilder
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder - getRegistrantContactOrBuilder(); + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder(); /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adminContact field is set. */ boolean hasAdminContact(); /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The adminContact. */ com.google.cloud.domains.v1alpha2.ContactSettings.Contact getAdminContact(); /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getAdminContactOrBuilder(); /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the technicalContact field is set. */ boolean hasTechnicalContact(); /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The technicalContact. */ com.google.cloud.domains.v1alpha2.ContactSettings.Contact getTechnicalContact(); /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder(); } diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java similarity index 65% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java index a7b59670..7eebacb2 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `DeleteRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.DeleteRegistrationRequest} */ -public final class DeleteRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) DeleteRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRegistrationRequest.newBuilder() to construct. private DeleteRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRegistrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 @@ -135,32 +110,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 `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,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.domains.v1alpha2.DeleteRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest other = - (com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) obj; + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest other = (com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `DeleteRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.DeleteRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) com.google.cloud.domains.v1alpha2.DeleteRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest buildPartial() { - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest result = - new com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest(this); + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest result = new com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest other) { - if (other == com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) private static final com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..b65a3019 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1alpha2/domains.proto + +package com.google.cloud.domains.v1alpha2; + +public interface DeleteRegistrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java similarity index 75% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java index e15891a1..1e418056 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Defines the DNS configuration of a `Registration`, including name servers,
  * DNSSEC, and glue records.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings}
  */
-public final class DnsSettings extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DnsSettings extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DnsSettings)
     DnsSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DnsSettings.newBuilder() to construct.
   private DnsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DnsSettings() {
     glueRecords_ = 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 DnsSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DnsSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,68 +55,50 @@ private DnsSettings(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder subBuilder = null;
-              if (dnsProviderCase_ == 1) {
-                subBuilder =
-                    ((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_)
-                        .toBuilder();
-              }
-              dnsProvider_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_);
-                dnsProvider_ = subBuilder.buildPartial();
-              }
-              dnsProviderCase_ = 1;
-              break;
+          case 10: {
+            com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder subBuilder = null;
+            if (dnsProviderCase_ == 1) {
+              subBuilder = ((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_).toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder subBuilder =
-                  null;
-              if (dnsProviderCase_ == 2) {
-                subBuilder =
-                    ((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_)
-                        .toBuilder();
-              }
-              dnsProvider_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_);
-                dnsProvider_ = subBuilder.buildPartial();
-              }
-              dnsProviderCase_ = 2;
-              break;
+            dnsProvider_ =
+                input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_);
+              dnsProvider_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                glueRecords_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              glueRecords_.add(
-                  input.readMessage(
-                      com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.parser(),
-                      extensionRegistry));
-              break;
+            dnsProviderCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder subBuilder = null;
+            if (dnsProviderCase_ == 2) {
+              subBuilder = ((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            dnsProvider_ =
+                input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_);
+              dnsProvider_ = subBuilder.buildPartial();
             }
+            dnsProviderCase_ = 2;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              glueRecords_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
+            }
+            glueRecords_.add(
+                input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -141,7 +106,8 @@ private DnsSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         glueRecords_ = java.util.Collections.unmodifiableList(glueRecords_);
@@ -150,35 +116,29 @@ private DnsSettings(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.domains.v1alpha2.DomainsProto
-        .internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1alpha2.DomainsProto
-        .internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1alpha2.DnsSettings.class,
-            com.google.cloud.domains.v1alpha2.DnsSettings.Builder.class);
+            com.google.cloud.domains.v1alpha2.DnsSettings.class, com.google.cloud.domains.v1alpha2.DnsSettings.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The publication state of DS records for a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.DnsSettings.DsState} */ - public enum DsState implements com.google.protobuf.ProtocolMessageEnum { + public enum DsState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * DS state is unspecified.
      * 
@@ -187,8 +147,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum { */ DS_STATE_UNSPECIFIED(0), /** - * - * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -198,8 +156,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
      */
     DS_RECORDS_UNPUBLISHED(1),
     /**
-     *
-     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -214,8 +170,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * DS state is unspecified.
      * 
@@ -224,8 +178,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DS_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -235,8 +187,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DS_RECORDS_UNPUBLISHED_VALUE = 1;
     /**
-     *
-     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -248,6 +198,7 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DS_RECORDS_PUBLISHED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -272,49 +223,49 @@ public static DsState valueOf(int value) {
      */
     public static DsState forNumber(int value) {
       switch (value) {
-        case 0:
-          return DS_STATE_UNSPECIFIED;
-        case 1:
-          return DS_RECORDS_UNPUBLISHED;
-        case 2:
-          return DS_RECORDS_PUBLISHED;
-        default:
-          return null;
+        case 0: return DS_STATE_UNSPECIFIED;
+        case 1: return DS_RECORDS_UNPUBLISHED;
+        case 2: return DS_RECORDS_PUBLISHED;
+        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<
+        DsState> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DsState findValueByNumber(int number) {
+              return DsState.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DsState findValueByNumber(int number) {
-            return DsState.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.domains.v1alpha2.DnsSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DsState[] VALUES = values();
 
-    public static DsState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DsState 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;
@@ -331,14 +282,11 @@ private DsState(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1alpha2.DnsSettings.DsState)
   }
 
-  public interface CustomDnsOrBuilder
-      extends
+  public interface CustomDnsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DnsSettings.CustomDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -346,13 +294,11 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the nameServers. */ - java.util.List getNameServersList(); + java.util.List + getNameServersList(); /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -360,13 +306,10 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of nameServers. */ int getNameServersCount(); /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -374,14 +317,11 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -389,15 +329,13 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString getNameServersBytes(int index); + com.google.protobuf.ByteString + getNameServersBytes(int index); /** - * - * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -406,10 +344,9 @@ public interface CustomDnsOrBuilder
      *
      * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List getDsRecordsList();
+    java.util.List 
+        getDsRecordsList();
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -420,8 +357,6 @@ public interface CustomDnsOrBuilder
      */
     com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int index);
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -432,8 +367,6 @@ public interface CustomDnsOrBuilder
      */
     int getDsRecordsCount();
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -442,11 +375,9 @@ public interface CustomDnsOrBuilder
      *
      * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List
+    java.util.List 
         getDsRecordsOrBuilderList();
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -459,24 +390,21 @@ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBu
         int index);
   }
   /**
-   *
-   *
    * 
    * Configuration for an arbitrary DNS provider.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.CustomDns} */ - public static final class CustomDns extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CustomDns extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DnsSettings.CustomDns) CustomDnsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomDns.newBuilder() to construct. private CustomDns(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomDns() { nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; dsRecords_ = java.util.Collections.emptyList(); @@ -484,15 +412,16 @@ private CustomDns() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomDns(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CustomDns( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -512,37 +441,31 @@ private CustomDns( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nameServers_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - dsRecords_ = - new java.util.ArrayList< - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord>(); - mutable_bitField0_ |= 0x00000002; - } - dsRecords_.add( - input.readMessage( - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.parser(), - extensionRegistry)); - break; + nameServers_.add(s); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + dsRecords_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dsRecords_.add( + input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,7 +473,8 @@ private CustomDns( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -562,27 +486,22 @@ private CustomDns( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.class, - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.class, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder.class); } public static final int NAME_SERVERS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList nameServers_; /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -590,15 +509,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_; } /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -606,15 +523,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -622,7 +536,6 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -630,8 +543,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -639,19 +550,17 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_RECORDS_FIELD_NUMBER = 2; private java.util.List dsRecords_; /** - * - * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -661,13 +570,10 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
      * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      */
     @java.lang.Override
-    public java.util.List
-        getDsRecordsList() {
+    public java.util.List getDsRecordsList() {
       return dsRecords_;
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -677,13 +583,11 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
      * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getDsRecordsOrBuilderList() {
       return dsRecords_;
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -697,8 +601,6 @@ public int getDsRecordsCount() {
       return dsRecords_.size();
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -712,8 +614,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int i
       return dsRecords_.get(index);
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -729,7 +629,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -741,7 +640,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < nameServers_.size(); i++) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i));
       }
@@ -766,7 +666,8 @@ public int getSerializedSize() {
         size += 1 * getNameServersList().size();
       }
       for (int i = 0; i < dsRecords_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dsRecords_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, dsRecords_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -776,16 +677,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.domains.v1alpha2.DnsSettings.CustomDns)) {
         return super.equals(obj);
       }
-      com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns other =
-          (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) obj;
+      com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns other = (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) obj;
 
-      if (!getNameServersList().equals(other.getNameServersList())) return false;
-      if (!getDsRecordsList().equals(other.getDsRecordsList())) return false;
+      if (!getNameServersList()
+          .equals(other.getNameServersList())) return false;
+      if (!getDsRecordsList()
+          .equals(other.getDsRecordsList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -811,94 +713,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns prototype) {
+    public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -908,32 +803,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Configuration for an arbitrary DNS provider.
      * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.CustomDns} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DnsSettings.CustomDns) com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.class, - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.class, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.newBuilder() @@ -941,17 +831,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDsRecordsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -967,9 +857,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; } @java.lang.Override @@ -988,8 +878,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns buildPartial() { - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns result = - new com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns(this); + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns result = new com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -1013,41 +902,38 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.domains.v1alpha2.DnsSettings.CustomDns) { - return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns)other); } else { super.mergeFrom(other); return this; @@ -1055,8 +941,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns other) { - if (other == com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance()) return this; if (!other.nameServers_.isEmpty()) { if (nameServers_.isEmpty()) { nameServers_ = other.nameServers_; @@ -1085,10 +970,9 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns dsRecordsBuilder_ = null; dsRecords_ = other.dsRecords_; bitField0_ = (bitField0_ & ~0x00000002); - dsRecordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDsRecordsFieldBuilder() - : null; + dsRecordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDsRecordsFieldBuilder() : null; } else { dsRecordsBuilder_.addAllMessages(other.dsRecords_); } @@ -1113,8 +997,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1123,21 +1006,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList nameServers_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1145,15 +1023,13 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_.getUnmodifiableView(); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1161,15 +1037,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1177,7 +1050,6 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1185,8 +1057,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1194,16 +1064,14 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1211,23 +1079,21 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers(int index, java.lang.String value) { + public Builder setNameServers( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1235,22 +1101,20 @@ public Builder setNameServers(int index, java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers(java.lang.String value) { + public Builder addNameServers( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1258,19 +1122,18 @@ public Builder addNameServers(java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers(java.lang.Iterable values) { + public Builder addAllNameServers( + java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nameServers_); onChanged(); return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1278,7 +1141,6 @@ public Builder addAllNameServers(java.lang.Iterable values) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1288,8 +1150,6 @@ public Builder clearNameServers() { return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1297,15 +1157,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes(com.google.protobuf.ByteString value) { + public Builder addNameServersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1313,26 +1173,18 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) { } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = - new java.util.ArrayList( - dsRecords_); + dsRecords_ = new java.util.ArrayList(dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> - dsRecordsBuilder_; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; /** - * - * *
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1341,8 +1193,7 @@ private void ensureDsRecordsIsMutable() {
        *
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List
-          getDsRecordsList() {
+      public java.util.List getDsRecordsList() {
         if (dsRecordsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(dsRecords_);
         } else {
@@ -1350,8 +1201,6 @@ private void ensureDsRecordsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1368,8 +1217,6 @@ public int getDsRecordsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1386,8 +1233,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int i
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1411,8 +1256,6 @@ public Builder setDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1422,8 +1265,7 @@ public Builder setDsRecords(
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder setDsRecords(
-          int index,
-          com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) {
+          int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
           dsRecords_.set(index, builderForValue.build());
@@ -1434,8 +1276,6 @@ public Builder setDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1458,8 +1298,6 @@ public Builder addDsRecords(com.google.cloud.domains.v1alpha2.DnsSettings.DsReco
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1483,8 +1321,6 @@ public Builder addDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1505,8 +1341,6 @@ public Builder addDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1516,8 +1350,7 @@ public Builder addDsRecords(
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder addDsRecords(
-          int index,
-          com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) {
+          int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
           dsRecords_.add(index, builderForValue.build());
@@ -1528,8 +1361,6 @@ public Builder addDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1539,11 +1370,11 @@ public Builder addDsRecords(
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder addAllDsRecords(
-          java.lang.Iterable
-              values) {
+          java.lang.Iterable values) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, dsRecords_);
           onChanged();
         } else {
           dsRecordsBuilder_.addAllMessages(values);
@@ -1551,8 +1382,6 @@ public Builder addAllDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1572,8 +1401,6 @@ public Builder clearDsRecords() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1593,8 +1420,6 @@ public Builder removeDsRecords(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1608,8 +1433,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder getDsRecor
         return getDsRecordsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1621,14 +1444,11 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder getDsRecor
       public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
           int index) {
         if (dsRecordsBuilder_ == null) {
-          return dsRecords_.get(index);
-        } else {
+          return dsRecords_.get(index);  } else {
           return dsRecordsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1637,9 +1457,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco
        *
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List<
-              ? extends com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>
-          getDsRecordsOrBuilderList() {
+      public java.util.List 
+           getDsRecordsOrBuilderList() {
         if (dsRecordsBuilder_ != null) {
           return dsRecordsBuilder_.getMessageOrBuilderList();
         } else {
@@ -1647,8 +1466,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1658,13 +1475,10 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
       public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecordsBuilder() {
-        return getDsRecordsFieldBuilder()
-            .addBuilder(
-                com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder().addBuilder(
+            com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1675,13 +1489,10 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecor
        */
       public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecordsBuilder(
           int index) {
-        return getDsRecordsFieldBuilder()
-            .addBuilder(
-                index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder().addBuilder(
+            index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1690,28 +1501,24 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecor
        *
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List
-          getDsRecordsBuilderList() {
+      public java.util.List 
+           getDsRecordsBuilderList() {
         return getDsRecordsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord,
-              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder,
-              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>
+          com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> 
           getDsRecordsFieldBuilder() {
         if (dsRecordsBuilder_ == null) {
-          dsRecordsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord,
-                  com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder,
-                  com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>(
-                  dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+          dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>(
+                  dsRecords_,
+                  ((bitField0_ & 0x00000002) != 0),
+                  getParentForChildren(),
+                  isClean());
           dsRecords_ = null;
         }
         return dsRecordsBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1724,12 +1531,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DnsSettings.CustomDns)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DnsSettings.CustomDns)
     private static final com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns();
     }
@@ -1738,16 +1545,16 @@ public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getDefault
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CustomDns parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new CustomDns(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CustomDns parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new CustomDns(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1762,16 +1569,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface GoogleDomainsDnsOrBuilder
-      extends
+  public interface GoogleDomainsDnsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1780,13 +1585,11 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the nameServers. */ - java.util.List getNameServersList(); + java.util.List + getNameServersList(); /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1795,13 +1598,10 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of nameServers. */ int getNameServersCount(); /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1810,14 +1610,11 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1826,119 +1623,88 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString getNameServersBytes(int index); + com.google.protobuf.ByteString + getNameServersBytes(int index); /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dsState. */ int getDsStateValue(); /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dsState. */ com.google.cloud.domains.v1alpha2.DnsSettings.DsState getDsState(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getDsRecordsList(); + java.util.List + getDsRecordsList(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int index); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getDsRecordsCount(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getDsRecordsOrBuilderList(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( int index); } /** - * - * *
    * Configuration for using the free DNS zone provided by Google Domains as a
    * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -1948,16 +1714,15 @@ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBu
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns}
    */
-  public static final class GoogleDomainsDns extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class GoogleDomainsDns extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns)
       GoogleDomainsDnsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use GoogleDomainsDns.newBuilder() to construct.
     private GoogleDomainsDns(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private GoogleDomainsDns() {
       nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       dsState_ = 0;
@@ -1966,15 +1731,16 @@ private GoogleDomainsDns() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new GoogleDomainsDns();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private GoogleDomainsDns(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1994,44 +1760,37 @@ private GoogleDomainsDns(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  nameServers_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                nameServers_.add(s);
-                break;
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                nameServers_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+              nameServers_.add(s);
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                dsState_ = rawValue;
-                break;
-              }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  dsRecords_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord>();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                dsRecords_.add(
-                    input.readMessage(
-                        com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.parser(),
-                        extensionRegistry));
-                break;
+              dsState_ = rawValue;
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                dsRecords_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              dsRecords_.add(
+                  input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2039,7 +1798,8 @@ private GoogleDomainsDns(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -2051,27 +1811,22 @@ private GoogleDomainsDns(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.class,
-              com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder.class);
+              com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder.class);
     }
 
     public static final int NAME_SERVERS_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList nameServers_;
     /**
-     *
-     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2080,15 +1835,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_; } /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2097,15 +1850,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2114,7 +1864,6 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -2122,8 +1871,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2132,142 +1879,106 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_STATE_FIELD_NUMBER = 2; private int dsState_; /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override - public int getDsStateValue() { + @java.lang.Override public int getDsStateValue() { return dsState_; } /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dsState. */ - @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.DsState getDsState() { + @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsState result = - com.google.cloud.domains.v1alpha2.DnsSettings.DsState.valueOf(dsState_); - return result == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.DsState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsState result = com.google.cloud.domains.v1alpha2.DnsSettings.DsState.valueOf(dsState_); + return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsState.UNRECOGNIZED : result; } public static final int DS_RECORDS_FIELD_NUMBER = 3; private java.util.List dsRecords_; /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getDsRecordsList() { + public java.util.List getDsRecordsList() { return dsRecords_; } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getDsRecordsOrBuilderList() { return dsRecords_; } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getDsRecordsCount() { return dsRecords_.size(); } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int index) { return dsRecords_.get(index); } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( @@ -2276,7 +1987,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2288,13 +1998,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 < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i)); } - if (dsState_ - != com.google.cloud.domains.v1alpha2.DnsSettings.DsState.DS_STATE_UNSPECIFIED - .getNumber()) { + if (dsState_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { @@ -2317,13 +2026,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (dsState_ - != com.google.cloud.domains.v1alpha2.DnsSettings.DsState.DS_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dsState_); + if (dsState_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, dsRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, dsRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2333,17 +2042,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.domains.v1alpha2.DnsSettings.GoogleDomainsDns)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns other = - (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) obj; + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns other = (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) obj; - if (!getNameServersList().equals(other.getNameServersList())) return false; + if (!getNameServersList() + .equals(other.getNameServersList())) return false; if (dsState_ != other.dsState_) return false; - if (!getDsRecordsList().equals(other.getDsRecordsList())) return false; + if (!getDsRecordsList() + .equals(other.getDsRecordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2371,94 +2081,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2468,8 +2171,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for using the free DNS zone provided by Google Domains as a
      * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -2479,24 +2180,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns)
         com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto
-            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto
-            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.class,
-                com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder.class);
+                com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.newBuilder()
@@ -2504,17 +2202,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getDsRecordsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2532,14 +2230,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto
-            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns
-          getDefaultInstanceForType() {
+      public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getDefaultInstanceForType() {
         return com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance();
       }
 
@@ -2554,8 +2251,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns buildPartial() {
-        com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns result =
-            new com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns(this);
+        com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns result = new com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -2580,52 +2276,46 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns buildParti
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) {
-          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) other);
+          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns other) {
-        if (other
-            == com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns other) {
+        if (other == com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance()) return this;
         if (!other.nameServers_.isEmpty()) {
           if (nameServers_.isEmpty()) {
             nameServers_ = other.nameServers_;
@@ -2657,10 +2347,9 @@ public Builder mergeFrom(
               dsRecordsBuilder_ = null;
               dsRecords_ = other.dsRecords_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              dsRecordsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getDsRecordsFieldBuilder()
-                      : null;
+              dsRecordsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getDsRecordsFieldBuilder() : null;
             } else {
               dsRecordsBuilder_.addAllMessages(other.dsRecords_);
             }
@@ -2685,9 +2374,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2696,21 +2383,16 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList nameServers_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
-
+      private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureNameServersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
       /**
-       *
-       *
        * 
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2719,15 +2401,13 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_.getUnmodifiableView(); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2736,15 +2416,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2753,7 +2430,6 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -2761,8 +2437,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2771,16 +2445,14 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2789,23 +2461,21 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers(int index, java.lang.String value) { + public Builder setNameServers( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2814,22 +2484,20 @@ public Builder setNameServers(int index, java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers(java.lang.String value) { + public Builder addNameServers( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2838,19 +2506,18 @@ public Builder addNameServers(java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers(java.lang.Iterable values) { + public Builder addAllNameServers( + java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nameServers_); onChanged(); return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2859,7 +2526,6 @@ public Builder addAllNameServers(java.lang.Iterable values) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -2869,8 +2535,6 @@ public Builder clearNameServers() { return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2879,15 +2543,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes(com.google.protobuf.ByteString value) { + public Builder addNameServersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -2896,79 +2560,55 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) { private int dsState_ = 0; /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override - public int getDsStateValue() { + @java.lang.Override public int getDsStateValue() { return dsState_; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for dsState to set. * @return This builder for chaining. */ public Builder setDsStateValue(int value) { - + dsState_ = value; onChanged(); return this; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dsState. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsState result = - com.google.cloud.domains.v1alpha2.DnsSettings.DsState.valueOf(dsState_); - return result == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.DsState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsState result = com.google.cloud.domains.v1alpha2.DnsSettings.DsState.valueOf(dsState_); + return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsState.UNRECOGNIZED : result; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The dsState to set. * @return This builder for chaining. */ @@ -2976,65 +2616,49 @@ public Builder setDsState(com.google.cloud.domains.v1alpha2.DnsSettings.DsState if (value == null) { throw new NullPointerException(); } - + dsState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDsState() { - + dsState_ = 0; onChanged(); return this; } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = - new java.util.ArrayList( - dsRecords_); + dsRecords_ = new java.util.ArrayList(dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> - dsRecordsBuilder_; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getDsRecordsList() { + public java.util.List getDsRecordsList() { if (dsRecordsBuilder_ == null) { return java.util.Collections.unmodifiableList(dsRecords_); } else { @@ -3042,17 +2666,13 @@ private void ensureDsRecordsIsMutable() { } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getDsRecordsCount() { if (dsRecordsBuilder_ == null) { @@ -3062,17 +2682,13 @@ public int getDsRecordsCount() { } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -3082,17 +2698,13 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int i } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDsRecords( int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord value) { @@ -3109,21 +2721,16 @@ public Builder setDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDsRecords( - int index, - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) { + int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); dsRecords_.set(index, builderForValue.build()); @@ -3134,17 +2741,13 @@ public Builder setDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord value) { if (dsRecordsBuilder_ == null) { @@ -3160,17 +2763,13 @@ public Builder addDsRecords(com.google.cloud.domains.v1alpha2.DnsSettings.DsReco return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords( int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord value) { @@ -3187,17 +2786,13 @@ public Builder addDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords( com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) { @@ -3211,21 +2806,16 @@ public Builder addDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords( - int index, - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) { + int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); dsRecords_.add(index, builderForValue.build()); @@ -3236,24 +2826,20 @@ public Builder addDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllDsRecords( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dsRecords_); onChanged(); } else { dsRecordsBuilder_.addAllMessages(values); @@ -3261,17 +2847,13 @@ public Builder addAllDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDsRecords() { if (dsRecordsBuilder_ == null) { @@ -3284,17 +2866,13 @@ public Builder clearDsRecords() { return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -3307,59 +2885,45 @@ public Builder removeDsRecords(int index) { return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder getDsRecordsBuilder( int index) { return getDsRecordsFieldBuilder().getBuilder(index); } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( int index) { if (dsRecordsBuilder_ == null) { - return dsRecords_.get(index); - } else { + return dsRecords_.get(index); } else { return dsRecordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> - getDsRecordsOrBuilderList() { + public java.util.List + getDsRecordsOrBuilderList() { if (dsRecordsBuilder_ != null) { return dsRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -3367,77 +2931,59 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecordsBuilder() { - return getDsRecordsFieldBuilder() - .addBuilder( - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder().addBuilder( + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance()); } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecordsBuilder( int index) { - return getDsRecordsFieldBuilder() - .addBuilder( - index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance()); } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getDsRecordsBuilderList() { + public java.util.List + getDsRecordsBuilderList() { return getDsRecordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> getDsRecordsFieldBuilder() { if (dsRecordsBuilder_ == null) { - dsRecordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>( - dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>( + dsRecords_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); dsRecords_ = null; } return dsRecordsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3450,32 +2996,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) - private static final com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns(); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns - getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleDomainsDns parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GoogleDomainsDns(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleDomainsDns parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GoogleDomainsDns(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3487,108 +3031,85 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DsRecordOrBuilder - extends + public interface DsRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DnsSettings.DsRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; - * * @return The keyTag. */ int getKeyTag(); /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The enum numeric value on the wire for algorithm. */ int getAlgorithmValue(); /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The algorithm. */ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm getAlgorithm(); /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The enum numeric value on the wire for digestType. */ int getDigestTypeValue(); /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The digestType. */ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType getDigestType(); /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The digest. */ java.lang.String getDigest(); /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The bytes for digest. */ - com.google.protobuf.ByteString getDigestBytes(); + com.google.protobuf.ByteString + getDigestBytes(); } /** - * - * *
    * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
    * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -3597,16 +3118,15 @@ public interface DsRecordOrBuilder
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.DsRecord}
    */
-  public static final class DsRecord extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DsRecord extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DnsSettings.DsRecord)
       DsRecordOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DsRecord.newBuilder() to construct.
     private DsRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private DsRecord() {
       algorithm_ = 0;
       digestType_ = 0;
@@ -3615,15 +3135,16 @@ private DsRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DsRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private DsRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3642,39 +3163,36 @@ private DsRecord(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                keyTag_ = input.readInt32();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                algorithm_ = rawValue;
-                break;
-              }
-            case 24:
-              {
-                int rawValue = input.readEnum();
+              keyTag_ = input.readInt32();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                digestType_ = rawValue;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              algorithm_ = rawValue;
+              break;
+            }
+            case 24: {
+              int rawValue = input.readEnum();
 
-                digest_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              digestType_ = rawValue;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              digest_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3682,31 +3200,27 @@ private DsRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.class,
-              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder.class);
+              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.class, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * List of algorithms used to create a DNSKEY. Certain
      * algorithms are not supported for particular domains.
@@ -3714,10 +3228,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm}
      */
-    public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum {
+    public enum Algorithm
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * The algorithm is unspecified.
        * 
@@ -3726,8 +3239,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ALGORITHM_UNSPECIFIED(0), /** - * - * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3736,8 +3247,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSAMD5(1), /** - * - * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3746,8 +3255,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DH(2), /** - * - * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3756,8 +3263,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DSA(3), /** - * - * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3766,8 +3271,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECC(4), /** - * - * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3776,8 +3279,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA1(5), /** - * - * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3786,8 +3287,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DSANSEC3SHA1(6), /** - * - * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3796,8 +3295,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA1NSEC3SHA1(7), /** - * - * *
        * RSA/SHA-256.
        * 
@@ -3806,8 +3303,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA256(8), /** - * - * *
        * RSA/SHA-512.
        * 
@@ -3816,8 +3311,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA512(10), /** - * - * *
        * GOST R 34.10-2001.
        * 
@@ -3826,8 +3319,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECCGOST(12), /** - * - * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3836,8 +3327,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECDSAP256SHA256(13), /** - * - * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3846,8 +3335,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECDSAP384SHA384(14), /** - * - * *
        * Ed25519.
        * 
@@ -3856,8 +3343,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ED25519(15), /** - * - * *
        * Ed448.
        * 
@@ -3866,8 +3351,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ED448(16), /** - * - * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -3876,8 +3359,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ INDIRECT(252), /** - * - * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -3886,8 +3367,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ PRIVATEDNS(253), /** - * - * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -3899,8 +3378,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The algorithm is unspecified.
        * 
@@ -3909,8 +3386,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALGORITHM_UNSPECIFIED_VALUE = 0; /** - * - * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3919,8 +3394,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSAMD5_VALUE = 1; /** - * - * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3929,8 +3402,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DH_VALUE = 2; /** - * - * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3939,8 +3410,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DSA_VALUE = 3; /** - * - * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3949,8 +3418,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECC_VALUE = 4; /** - * - * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3959,8 +3426,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA1_VALUE = 5; /** - * - * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3969,8 +3434,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DSANSEC3SHA1_VALUE = 6; /** - * - * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3979,8 +3442,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA1NSEC3SHA1_VALUE = 7; /** - * - * *
        * RSA/SHA-256.
        * 
@@ -3989,8 +3450,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA256_VALUE = 8; /** - * - * *
        * RSA/SHA-512.
        * 
@@ -3999,8 +3458,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA512_VALUE = 10; /** - * - * *
        * GOST R 34.10-2001.
        * 
@@ -4009,8 +3466,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECCGOST_VALUE = 12; /** - * - * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -4019,8 +3474,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECDSAP256SHA256_VALUE = 13; /** - * - * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -4029,8 +3482,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECDSAP384SHA384_VALUE = 14; /** - * - * *
        * Ed25519.
        * 
@@ -4039,8 +3490,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ED25519_VALUE = 15; /** - * - * *
        * Ed448.
        * 
@@ -4049,8 +3498,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ED448_VALUE = 16; /** - * - * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -4059,8 +3506,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INDIRECT_VALUE = 252; /** - * - * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -4069,8 +3514,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIVATEDNS_VALUE = 253; /** - * - * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -4079,6 +3522,7 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIVATEOID_VALUE = 254; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4103,81 +3547,64 @@ public static Algorithm valueOf(int value) { */ public static Algorithm forNumber(int value) { switch (value) { - case 0: - return ALGORITHM_UNSPECIFIED; - case 1: - return RSAMD5; - case 2: - return DH; - case 3: - return DSA; - case 4: - return ECC; - case 5: - return RSASHA1; - case 6: - return DSANSEC3SHA1; - case 7: - return RSASHA1NSEC3SHA1; - case 8: - return RSASHA256; - case 10: - return RSASHA512; - case 12: - return ECCGOST; - case 13: - return ECDSAP256SHA256; - case 14: - return ECDSAP384SHA384; - case 15: - return ED25519; - case 16: - return ED448; - case 252: - return INDIRECT; - case 253: - return PRIVATEDNS; - case 254: - return PRIVATEOID; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return ALGORITHM_UNSPECIFIED; + case 1: return RSAMD5; + case 2: return DH; + case 3: return DSA; + case 4: return ECC; + case 5: return RSASHA1; + case 6: return DSANSEC3SHA1; + case 7: return RSASHA1NSEC3SHA1; + case 8: return RSASHA256; + case 10: return RSASHA512; + case 12: return ECCGOST; + case 13: return ECDSAP256SHA256; + case 14: return ECDSAP384SHA384; + case 15: return ED25519; + case 16: return ED448; + case 252: return INDIRECT; + case 253: return PRIVATEDNS; + case 254: return PRIVATEOID; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Algorithm> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Algorithm findValueByNumber(int number) { + return Algorithm.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Algorithm findValueByNumber(int number) { - return Algorithm.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.domains.v1alpha2.DnsSettings.DsRecord.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(0); } private static final Algorithm[] VALUES = values(); - public static Algorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Algorithm 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; @@ -4195,8 +3622,6 @@ private Algorithm(int value) { } /** - * - * *
      * List of hash functions that may have been used to generate a digest of a
      * DNSKEY.
@@ -4204,10 +3629,9 @@ private Algorithm(int value) {
      *
      * Protobuf enum {@code google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType}
      */
-    public enum DigestType implements com.google.protobuf.ProtocolMessageEnum {
+    public enum DigestType
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * The DigestType is unspecified.
        * 
@@ -4216,8 +3640,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ DIGEST_TYPE_UNSPECIFIED(0), /** - * - * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -4226,8 +3648,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ SHA1(1), /** - * - * *
        * SHA-256.
        * 
@@ -4236,8 +3656,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(2), /** - * - * *
        * GOST R 34.11-94.
        * 
@@ -4246,8 +3664,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ GOST3411(3), /** - * - * *
        * SHA-384.
        * 
@@ -4259,8 +3675,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The DigestType is unspecified.
        * 
@@ -4269,8 +3683,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIGEST_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -4279,8 +3691,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA1_VALUE = 1; /** - * - * *
        * SHA-256.
        * 
@@ -4289,8 +3699,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 2; /** - * - * *
        * GOST R 34.11-94.
        * 
@@ -4299,8 +3707,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOST3411_VALUE = 3; /** - * - * *
        * SHA-384.
        * 
@@ -4309,6 +3715,7 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA384_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4333,55 +3740,51 @@ public static DigestType valueOf(int value) { */ public static DigestType forNumber(int value) { switch (value) { - case 0: - return DIGEST_TYPE_UNSPECIFIED; - case 1: - return SHA1; - case 2: - return SHA256; - case 3: - return GOST3411; - case 4: - return SHA384; - default: - return null; + case 0: return DIGEST_TYPE_UNSPECIFIED; + case 1: return SHA1; + case 2: return SHA256; + case 3: return GOST3411; + case 4: return SHA384; + 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< + DigestType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DigestType findValueByNumber(int number) { + return DigestType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DigestType findValueByNumber(int number) { - return DigestType.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.domains.v1alpha2.DnsSettings.DsRecord.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(1); } private static final DigestType[] VALUES = values(); - public static DigestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DigestType 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; @@ -4401,14 +3804,11 @@ private DigestType(int value) { public static final int KEY_TAG_FIELD_NUMBER = 1; private int keyTag_; /** - * - * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; - * * @return The keyTag. */ @java.lang.Override @@ -4419,90 +3819,65 @@ public int getKeyTag() { public static final int ALGORITHM_FIELD_NUMBER = 2; private int algorithm_; /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override - public int getAlgorithmValue() { + @java.lang.Override public int getAlgorithmValue() { return algorithm_; } /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The algorithm. */ - @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm getAlgorithm() { + @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm result = - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; } public static final int DIGEST_TYPE_FIELD_NUMBER = 3; private int digestType_; /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override - public int getDigestTypeValue() { + @java.lang.Override public int getDigestTypeValue() { return digestType_; } /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The digestType. */ - @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType getDigestType() { + @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType result = - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; } public static final int DIGEST_FIELD_NUMBER = 4; private volatile java.lang.Object digest_; /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The digest. */ @java.lang.Override @@ -4511,29 +3886,29 @@ public java.lang.String getDigest() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; } } /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The bytes for digest. */ @java.lang.Override - public com.google.protobuf.ByteString getDigestBytes() { + public com.google.protobuf.ByteString + getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); digest_ = b; return b; } else { @@ -4542,7 +3917,6 @@ public com.google.protobuf.ByteString getDigestBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4554,19 +3928,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 (keyTag_ != 0) { output.writeInt32(1, keyTag_); } - if (algorithm_ - != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED - .getNumber()) { + if (algorithm_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { output.writeEnum(2, algorithm_); } - if (digestType_ - != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType - .DIGEST_TYPE_UNSPECIFIED - .getNumber()) { + if (digestType_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { @@ -4582,18 +3952,16 @@ public int getSerializedSize() { size = 0; if (keyTag_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, keyTag_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, keyTag_); } - if (algorithm_ - != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, algorithm_); + if (algorithm_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, algorithm_); } - if (digestType_ - != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType - .DIGEST_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, digestType_); + if (digestType_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, digest_); @@ -4606,18 +3974,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.domains.v1alpha2.DnsSettings.DsRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord other = - (com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord) obj; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord other = (com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord) obj; - if (getKeyTag() != other.getKeyTag()) return false; + if (getKeyTag() + != other.getKeyTag()) return false; if (algorithm_ != other.algorithm_) return false; if (digestType_ != other.digestType_) return false; - if (!getDigest().equals(other.getDigest())) return false; + if (!getDigest() + .equals(other.getDigest())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4643,94 +4012,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4740,8 +4102,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
      * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -4750,24 +4110,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.DsRecord}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DnsSettings.DsRecord)
         com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto
-            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto
-            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.class,
-                com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder.class);
+                com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.class, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.newBuilder()
@@ -4775,15 +4132,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4799,9 +4157,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto
-            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
@@ -4820,8 +4178,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord buildPartial() {
-        com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord result =
-            new com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord(this);
+        com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord result = new com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord(this);
         result.keyTag_ = keyTag_;
         result.algorithm_ = algorithm_;
         result.digestType_ = digestType_;
@@ -4834,41 +4191,38 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.domains.v1alpha2.DnsSettings.DsRecord) {
-          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord) other);
+          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4876,8 +4230,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord other) {
-        if (other == com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance()) return this;
         if (other.getKeyTag() != 0) {
           setKeyTag(other.getKeyTag());
         }
@@ -4910,8 +4263,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4921,16 +4273,13 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int keyTag_;
+      private int keyTag_ ;
       /**
-       *
-       *
        * 
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; - * * @return The keyTag. */ @java.lang.Override @@ -4938,36 +4287,30 @@ public int getKeyTag() { return keyTag_; } /** - * - * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; - * * @param value The keyTag to set. * @return This builder for chaining. */ public Builder setKeyTag(int value) { - + keyTag_ = value; onChanged(); return this; } /** - * - * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; - * * @return This builder for chaining. */ public Builder clearKeyTag() { - + keyTag_ = 0; onChanged(); return this; @@ -4975,93 +4318,73 @@ public Builder clearKeyTag() { private int algorithm_ = 0; /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override - public int getAlgorithmValue() { + @java.lang.Override public int getAlgorithmValue() { return algorithm_; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @param value The enum numeric value on the wire for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmValue(int value) { - + algorithm_ = value; onChanged(); return this; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The algorithm. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm result = - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @param value The algorithm to set. * @return This builder for chaining. */ - public Builder setAlgorithm( - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm value) { + public Builder setAlgorithm(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm value) { if (value == null) { throw new NullPointerException(); } - + algorithm_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return This builder for chaining. */ public Builder clearAlgorithm() { - + algorithm_ = 0; onChanged(); return this; @@ -5069,98 +4392,73 @@ public Builder clearAlgorithm() { private int digestType_ = 0; /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override - public int getDigestTypeValue() { + @java.lang.Override public int getDigestTypeValue() { return digestType_; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; * @param value The enum numeric value on the wire for digestType to set. * @return This builder for chaining. */ public Builder setDigestTypeValue(int value) { - + digestType_ = value; onChanged(); return this; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; * @return The digestType. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType result = - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; * @param value The digestType to set. * @return This builder for chaining. */ - public Builder setDigestType( - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType value) { + public Builder setDigestType(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType value) { if (value == null) { throw new NullPointerException(); } - + digestType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; * @return This builder for chaining. */ public Builder clearDigestType() { - + digestType_ = 0; onChanged(); return this; @@ -5168,20 +4466,18 @@ public Builder clearDigestType() { private java.lang.Object digest_ = ""; /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @return The digest. */ public java.lang.String getDigest() { java.lang.Object ref = digest_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; @@ -5190,21 +4486,20 @@ public java.lang.String getDigest() { } } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @return The bytes for digest. */ - public com.google.protobuf.ByteString getDigestBytes() { + public com.google.protobuf.ByteString + getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); digest_ = b; return b; } else { @@ -5212,66 +4507,58 @@ public com.google.protobuf.ByteString getDigestBytes() { } } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @param value The digest to set. * @return This builder for chaining. */ - public Builder setDigest(java.lang.String value) { + public Builder setDigest( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + digest_ = value; onChanged(); return this; } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @return This builder for chaining. */ public Builder clearDigest() { - + digest_ = getDefaultInstance().getDigest(); onChanged(); return this; } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @param value The bytes for digest to set. * @return This builder for chaining. */ - public Builder setDigestBytes(com.google.protobuf.ByteString value) { + public Builder setDigestBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + digest_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5284,12 +4571,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DnsSettings.DsRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DnsSettings.DsRecord) private static final com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord(); } @@ -5298,16 +4585,16 @@ public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DsRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DsRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DsRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DsRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5322,41 +4609,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GlueRecordOrBuilder - extends + public interface GlueRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostName. */ java.lang.String getHostName(); /** - * - * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostName. */ - com.google.protobuf.ByteString getHostNameBytes(); + com.google.protobuf.ByteString + getHostNameBytes(); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5364,13 +4644,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @return A list containing the ipv4Addresses. */ - java.util.List getIpv4AddressesList(); + java.util.List + getIpv4AddressesList(); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5378,13 +4656,10 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @return The count of ipv4Addresses. */ int getIpv4AddressesCount(); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5392,14 +4667,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ java.lang.String getIpv4Addresses(int index); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5407,15 +4679,13 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - com.google.protobuf.ByteString getIpv4AddressesBytes(int index); + com.google.protobuf.ByteString + getIpv4AddressesBytes(int index); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5423,13 +4693,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @return A list containing the ipv6Addresses. */ - java.util.List getIpv6AddressesList(); + java.util.List + getIpv6AddressesList(); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5437,13 +4705,10 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @return The count of ipv6Addresses. */ int getIpv6AddressesCount(); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5451,14 +4716,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ java.lang.String getIpv6Addresses(int index); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5466,15 +4728,13 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - com.google.protobuf.ByteString getIpv6AddressesBytes(int index); + com.google.protobuf.ByteString + getIpv6AddressesBytes(int index); } /** - * - * *
    * Defines a host on your domain that is a DNS name server for your domain
    * and/or other domains. Glue records are a way of making the IP address of a
@@ -5486,16 +4746,15 @@ public interface GlueRecordOrBuilder
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.GlueRecord}
    */
-  public static final class GlueRecord extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class GlueRecord extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DnsSettings.GlueRecord)
       GlueRecordOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use GlueRecord.newBuilder() to construct.
     private GlueRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private GlueRecord() {
       hostName_ = "";
       ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -5504,15 +4763,16 @@ private GlueRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new GlueRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private GlueRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5532,40 +4792,37 @@ private GlueRecord(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                hostName_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                ipv4Addresses_.add(s);
-                break;
+              hostName_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                ipv6Addresses_.add(s);
-                break;
+              ipv4Addresses_.add(s);
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              ipv6Addresses_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5573,7 +4830,8 @@ private GlueRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           ipv4Addresses_ = ipv4Addresses_.getUnmodifiableView();
@@ -5585,33 +4843,27 @@ private GlueRecord(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.class,
-              com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder.class);
+              com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder.class);
     }
 
     public static final int HOST_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object hostName_;
     /**
-     *
-     *
      * 
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostName. */ @java.lang.Override @@ -5620,29 +4872,29 @@ public java.lang.String getHostName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; } } /** - * - * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostName. */ @java.lang.Override - public com.google.protobuf.ByteString getHostNameBytes() { + public com.google.protobuf.ByteString + getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostName_ = b; return b; } else { @@ -5653,8 +4905,6 @@ public com.google.protobuf.ByteString getHostNameBytes() { public static final int IPV4_ADDRESSES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList ipv4Addresses_; /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5662,15 +4912,13 @@ public com.google.protobuf.ByteString getHostNameBytes() {
      * 
* * repeated string ipv4_addresses = 2; - * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv4AddressesList() { return ipv4Addresses_; } /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5678,15 +4926,12 @@ public com.google.protobuf.ProtocolStringList getIpv4AddressesList() {
      * 
* * repeated string ipv4_addresses = 2; - * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5694,7 +4939,6 @@ public int getIpv4AddressesCount() {
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -5702,8 +4946,6 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5711,19 +4953,17 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } public static final int IPV6_ADDRESSES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ipv6Addresses_; /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5731,15 +4971,13 @@ public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) {
      * 
* * repeated string ipv6_addresses = 3; - * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv6AddressesList() { return ipv6Addresses_; } /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5747,15 +4985,12 @@ public com.google.protobuf.ProtocolStringList getIpv6AddressesList() {
      * 
* * repeated string ipv6_addresses = 3; - * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5763,7 +4998,6 @@ public int getIpv6AddressesCount() {
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -5771,8 +5005,6 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5780,16 +5012,15 @@ public java.lang.String getIpv6Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5801,7 +5032,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } @@ -5847,17 +5079,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.domains.v1alpha2.DnsSettings.GlueRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord other = - (com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) obj; + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord other = (com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) obj; - if (!getHostName().equals(other.getHostName())) return false; - if (!getIpv4AddressesList().equals(other.getIpv4AddressesList())) return false; - if (!getIpv6AddressesList().equals(other.getIpv6AddressesList())) return false; + if (!getHostName() + .equals(other.getHostName())) return false; + if (!getIpv4AddressesList() + .equals(other.getIpv4AddressesList())) return false; + if (!getIpv6AddressesList() + .equals(other.getIpv6AddressesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5885,94 +5119,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5982,8 +5209,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Defines a host on your domain that is a DNS name server for your domain
      * and/or other domains. Glue records are a way of making the IP address of a
@@ -5995,24 +5220,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.GlueRecord}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DnsSettings.GlueRecord)
         com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto
-            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto
-            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.class,
-                com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder.class);
+                com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.newBuilder()
@@ -6020,15 +5242,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6042,9 +5265,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto
-            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
@@ -6063,8 +5286,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord buildPartial() {
-        com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord result =
-            new com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord(this);
+        com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord result = new com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord(this);
         int from_bitField0_ = bitField0_;
         result.hostName_ = hostName_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -6085,41 +5307,38 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.domains.v1alpha2.DnsSettings.GlueRecord) {
-          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) other);
+          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6127,8 +5346,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord other) {
-        if (other == com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance()) return this;
         if (!other.getHostName().isEmpty()) {
           hostName_ = other.hostName_;
           onChanged();
@@ -6172,8 +5390,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6182,25 +5399,22 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object hostName_ = "";
       /**
-       *
-       *
        * 
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostName. */ public java.lang.String getHostName() { java.lang.Object ref = hostName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; @@ -6209,21 +5423,20 @@ public java.lang.String getHostName() { } } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostName. */ - public com.google.protobuf.ByteString getHostNameBytes() { + public com.google.protobuf.ByteString + getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostName_ = b; return b; } else { @@ -6231,78 +5444,67 @@ public com.google.protobuf.ByteString getHostNameBytes() { } } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The hostName to set. * @return This builder for chaining. */ - public Builder setHostName(java.lang.String value) { + public Builder setHostName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostName_ = value; onChanged(); return this; } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearHostName() { - + hostName_ = getDefaultInstance().getHostName(); onChanged(); return this; } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for hostName to set. * @return This builder for chaining. */ - public Builder setHostNameBytes(com.google.protobuf.ByteString value) { + public Builder setHostNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostName_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv4Addresses_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIpv4AddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv4Addresses_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6310,15 +5512,13 @@ private void ensureIpv4AddressesIsMutable() {
        * 
* * repeated string ipv4_addresses = 2; - * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv4AddressesList() { return ipv4Addresses_.getUnmodifiableView(); } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6326,15 +5526,12 @@ public com.google.protobuf.ProtocolStringList getIpv4AddressesList() {
        * 
* * repeated string ipv4_addresses = 2; - * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6342,7 +5539,6 @@ public int getIpv4AddressesCount() {
        * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -6350,8 +5546,6 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6359,16 +5553,14 @@ public java.lang.String getIpv4Addresses(int index) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6376,23 +5568,21 @@ public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param index The index to set the value at. * @param value The ipv4Addresses to set. * @return This builder for chaining. */ - public Builder setIpv4Addresses(int index, java.lang.String value) { + public Builder setIpv4Addresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6400,22 +5590,20 @@ public Builder setIpv4Addresses(int index, java.lang.String value) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param value The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4Addresses(java.lang.String value) { + public Builder addIpv4Addresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6423,19 +5611,18 @@ public Builder addIpv4Addresses(java.lang.String value) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param values The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv4Addresses(java.lang.Iterable values) { + public Builder addAllIpv4Addresses( + java.lang.Iterable values) { ensureIpv4AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv4Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ipv4Addresses_); onChanged(); return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6443,7 +5630,6 @@ public Builder addAllIpv4Addresses(java.lang.Iterable values)
        * 
* * repeated string ipv4_addresses = 2; - * * @return This builder for chaining. */ public Builder clearIpv4Addresses() { @@ -6453,8 +5639,6 @@ public Builder clearIpv4Addresses() { return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6462,33 +5646,29 @@ public Builder clearIpv4Addresses() {
        * 
* * repeated string ipv4_addresses = 2; - * * @param value The bytes of the ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4AddressesBytes(com.google.protobuf.ByteString value) { + public Builder addIpv4AddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv6Addresses_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList ipv6Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIpv6AddressesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv6Addresses_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6496,15 +5676,13 @@ private void ensureIpv6AddressesIsMutable() {
        * 
* * repeated string ipv6_addresses = 3; - * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv6AddressesList() { return ipv6Addresses_.getUnmodifiableView(); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6512,15 +5690,12 @@ public com.google.protobuf.ProtocolStringList getIpv6AddressesList() {
        * 
* * repeated string ipv6_addresses = 3; - * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6528,7 +5703,6 @@ public int getIpv6AddressesCount() {
        * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -6536,8 +5710,6 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6545,16 +5717,14 @@ public java.lang.String getIpv6Addresses(int index) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6562,23 +5732,21 @@ public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param index The index to set the value at. * @param value The ipv6Addresses to set. * @return This builder for chaining. */ - public Builder setIpv6Addresses(int index, java.lang.String value) { + public Builder setIpv6Addresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6586,22 +5754,20 @@ public Builder setIpv6Addresses(int index, java.lang.String value) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param value The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6Addresses(java.lang.String value) { + public Builder addIpv6Addresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6609,19 +5775,18 @@ public Builder addIpv6Addresses(java.lang.String value) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param values The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv6Addresses(java.lang.Iterable values) { + public Builder addAllIpv6Addresses( + java.lang.Iterable values) { ensureIpv6AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv6Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ipv6Addresses_); onChanged(); return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6629,7 +5794,6 @@ public Builder addAllIpv6Addresses(java.lang.Iterable values)
        * 
* * repeated string ipv6_addresses = 3; - * * @return This builder for chaining. */ public Builder clearIpv6Addresses() { @@ -6639,8 +5803,6 @@ public Builder clearIpv6Addresses() { return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6648,21 +5810,20 @@ public Builder clearIpv6Addresses() {
        * 
* * repeated string ipv6_addresses = 3; - * * @param value The bytes of the ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6AddressesBytes(com.google.protobuf.ByteString value) { + public Builder addIpv6AddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6675,12 +5836,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) private static final com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord(); } @@ -6689,16 +5850,16 @@ public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GlueRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GlueRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GlueRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GlueRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6713,20 +5874,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int dnsProviderCase_ = 0; private java.lang.Object dnsProvider_; - public enum DnsProviderCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CUSTOM_DNS(1), GOOGLE_DOMAINS_DNS(2), DNSPROVIDER_NOT_SET(0); private final int value; - private DnsProviderCase(int value) { this.value = value; } @@ -6742,36 +5901,30 @@ public static DnsProviderCase valueOf(int value) { public static DnsProviderCase forNumber(int value) { switch (value) { - case 1: - return CUSTOM_DNS; - case 2: - return GOOGLE_DOMAINS_DNS; - case 0: - return DNSPROVIDER_NOT_SET; - default: - return null; + case 1: return CUSTOM_DNS; + case 2: return GOOGLE_DOMAINS_DNS; + case 0: return DNSPROVIDER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DnsProviderCase getDnsProviderCase() { - return DnsProviderCase.forNumber(dnsProviderCase_); + public DnsProviderCase + getDnsProviderCase() { + return DnsProviderCase.forNumber( + dnsProviderCase_); } public static final int CUSTOM_DNS_FIELD_NUMBER = 1; /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; - * * @return Whether the customDns field is set. */ @java.lang.Override @@ -6779,26 +5932,21 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; - * * @return The customDns. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getCustomDns() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance(); } /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -6808,23 +5956,19 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getCustomDns() { @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance(); } public static final int GOOGLE_DOMAINS_DNS_FIELD_NUMBER = 2; /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -6832,41 +5976,33 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; * @return The googleDomainsDns. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getGoogleDomainsDns() { if (dnsProviderCase_ == 2) { - return (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_; + return (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_; } return com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance(); } /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder - getGoogleDomainsDnsOrBuilder() { + public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() { if (dnsProviderCase_ == 2) { - return (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_; + return (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_; } return com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance(); } @@ -6874,8 +6010,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getGoogleD public static final int GLUE_RECORDS_FIELD_NUMBER = 4; private java.util.List glueRecords_; /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6883,13 +6017,10 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getGoogleD * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ @java.lang.Override - public java.util.List - getGlueRecordsList() { + public java.util.List getGlueRecordsList() { return glueRecords_; } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6897,13 +6028,11 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getGoogleD * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ @java.lang.Override - public java.util.List + public java.util.List getGlueRecordsOrBuilderList() { return glueRecords_; } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6915,8 +6044,6 @@ public int getGlueRecordsCount() { return glueRecords_.size(); } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6928,8 +6055,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getGlueRecords(i return glueRecords_.get(index); } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6943,7 +6068,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder getGlue } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6955,14 +6079,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dnsProviderCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_); + output.writeMessage(1, (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_); + output.writeMessage(2, (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { output.writeMessage(4, glueRecords_.get(i)); @@ -6977,17 +6100,16 @@ public int getSerializedSize() { size = 0; if (dnsProviderCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, glueRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, glueRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6997,22 +6119,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.domains.v1alpha2.DnsSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.DnsSettings other = - (com.google.cloud.domains.v1alpha2.DnsSettings) obj; + com.google.cloud.domains.v1alpha2.DnsSettings other = (com.google.cloud.domains.v1alpha2.DnsSettings) obj; - if (!getGlueRecordsList().equals(other.getGlueRecordsList())) return false; + if (!getGlueRecordsList() + .equals(other.getGlueRecordsList())) return false; if (!getDnsProviderCase().equals(other.getDnsProviderCase())) return false; switch (dnsProviderCase_) { case 1: - if (!getCustomDns().equals(other.getCustomDns())) return false; + if (!getCustomDns() + .equals(other.getCustomDns())) return false; break; case 2: - if (!getGoogleDomainsDns().equals(other.getGoogleDomainsDns())) return false; + if (!getGoogleDomainsDns() + .equals(other.getGoogleDomainsDns())) return false; break; case 0: default: @@ -7049,104 +6173,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom(java.io.InputStream input) 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.domains.v1alpha2.DnsSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.DnsSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.DnsSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DnsSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines the DNS configuration of a `Registration`, including name servers,
    * DNSSEC, and glue records.
@@ -7154,23 +6271,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DnsSettings)
       com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.DnsSettings.class,
-              com.google.cloud.domains.v1alpha2.DnsSettings.Builder.class);
+              com.google.cloud.domains.v1alpha2.DnsSettings.class, com.google.cloud.domains.v1alpha2.DnsSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1alpha2.DnsSettings.newBuilder()
@@ -7178,17 +6293,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getGlueRecordsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7204,9 +6319,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
     }
 
     @java.lang.Override
@@ -7225,8 +6340,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1alpha2.DnsSettings buildPartial() {
-      com.google.cloud.domains.v1alpha2.DnsSettings result =
-          new com.google.cloud.domains.v1alpha2.DnsSettings(this);
+      com.google.cloud.domains.v1alpha2.DnsSettings result = new com.google.cloud.domains.v1alpha2.DnsSettings(this);
       int from_bitField0_ = bitField0_;
       if (dnsProviderCase_ == 1) {
         if (customDnsBuilder_ == null) {
@@ -7260,39 +6374,38 @@ public com.google.cloud.domains.v1alpha2.DnsSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1alpha2.DnsSettings) {
-        return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings) other);
+        return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7319,30 +6432,26 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings other) {
             glueRecordsBuilder_ = null;
             glueRecords_ = other.glueRecords_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            glueRecordsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getGlueRecordsFieldBuilder()
-                    : null;
+            glueRecordsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getGlueRecordsFieldBuilder() : null;
           } else {
             glueRecordsBuilder_.addAllMessages(other.glueRecords_);
           }
         }
       }
       switch (other.getDnsProviderCase()) {
-        case CUSTOM_DNS:
-          {
-            mergeCustomDns(other.getCustomDns());
-            break;
-          }
-        case GOOGLE_DOMAINS_DNS:
-          {
-            mergeGoogleDomainsDns(other.getGoogleDomainsDns());
-            break;
-          }
-        case DNSPROVIDER_NOT_SET:
-          {
-            break;
-          }
+        case CUSTOM_DNS: {
+          mergeCustomDns(other.getCustomDns());
+          break;
+        }
+        case GOOGLE_DOMAINS_DNS: {
+          mergeGoogleDomainsDns(other.getGoogleDomainsDns());
+          break;
+        }
+        case DNSPROVIDER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -7372,12 +6481,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int dnsProviderCase_ = 0;
     private java.lang.Object dnsProvider_;
-
-    public DnsProviderCase getDnsProviderCase() {
-      return DnsProviderCase.forNumber(dnsProviderCase_);
+    public DnsProviderCase
+        getDnsProviderCase() {
+      return DnsProviderCase.forNumber(
+          dnsProviderCase_);
     }
 
     public Builder clearDnsProvider() {
@@ -7390,19 +6499,13 @@ public Builder clearDnsProvider() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns,
-            com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder,
-            com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder>
-        customDnsBuilder_;
+        com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder> customDnsBuilder_;
     /**
-     *
-     *
      * 
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; - * * @return Whether the customDns field is set. */ @java.lang.Override @@ -7410,14 +6513,11 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; - * * @return The customDns. */ @java.lang.Override @@ -7435,8 +6535,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getCustomDns() { } } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7457,8 +6555,6 @@ public Builder setCustomDns(com.google.cloud.domains.v1alpha2.DnsSettings.Custom return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7477,8 +6573,6 @@ public Builder setCustomDns( return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7487,14 +6581,10 @@ public Builder setCustomDns( */ public Builder mergeCustomDns(com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns value) { if (customDnsBuilder_ == null) { - if (dnsProviderCase_ == 1 - && dnsProvider_ - != com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance()) { - dnsProvider_ = - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.newBuilder( - (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_) - .mergeFrom(value) - .buildPartial(); + if (dnsProviderCase_ == 1 && + dnsProvider_ != com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance()) { + dnsProvider_ = com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.newBuilder((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_) + .mergeFrom(value).buildPartial(); } else { dnsProvider_ = value; } @@ -7510,8 +6600,6 @@ public Builder mergeCustomDns(com.google.cloud.domains.v1alpha2.DnsSettings.Cust return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7535,8 +6623,6 @@ public Builder clearCustomDns() { return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7547,8 +6633,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder getCustom return getCustomDnsFieldBuilder().getBuilder(); } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7556,8 +6640,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder getCustom * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder - getCustomDnsOrBuilder() { + public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder() { if ((dnsProviderCase_ == 1) && (customDnsBuilder_ != null)) { return customDnsBuilder_.getMessageOrBuilder(); } else { @@ -7568,8 +6651,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder getCustom } } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7577,47 +6658,33 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder getCustom * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns, - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder> + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder> getCustomDnsFieldBuilder() { if (customDnsBuilder_ == null) { if (!(dnsProviderCase_ == 1)) { - dnsProvider_ = - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance(); - } - customDnsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns, - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder>( + dnsProvider_ = com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance(); + } + customDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder>( (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_, getParentForChildren(), isClean()); dnsProvider_ = null; } dnsProviderCase_ = 1; - onChanged(); - ; + onChanged();; return customDnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder> - googleDomainsDnsBuilder_; + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder> googleDomainsDnsBuilder_; /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -7625,16 +6692,12 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; * @return The googleDomainsDns. */ @java.lang.Override @@ -7652,18 +6715,14 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getGoogleD } } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ - public Builder setGoogleDomainsDns( - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns value) { + public Builder setGoogleDomainsDns(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns value) { if (googleDomainsDnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7677,15 +6736,12 @@ public Builder setGoogleDomainsDns( return this; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ public Builder setGoogleDomainsDns( com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder builderForValue) { @@ -7699,28 +6755,19 @@ public Builder setGoogleDomainsDns( return this; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ - public Builder mergeGoogleDomainsDns( - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns value) { + public Builder mergeGoogleDomainsDns(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns value) { if (googleDomainsDnsBuilder_ == null) { - if (dnsProviderCase_ == 2 - && dnsProvider_ - != com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns - .getDefaultInstance()) { - dnsProvider_ = - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.newBuilder( - (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_) - .mergeFrom(value) - .buildPartial(); + if (dnsProviderCase_ == 2 && + dnsProvider_ != com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance()) { + dnsProvider_ = com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.newBuilder((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_) + .mergeFrom(value).buildPartial(); } else { dnsProvider_ = value; } @@ -7736,15 +6783,12 @@ public Builder mergeGoogleDomainsDns( return this; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ public Builder clearGoogleDomainsDns() { if (googleDomainsDnsBuilder_ == null) { @@ -7763,34 +6807,26 @@ public Builder clearGoogleDomainsDns() { return this; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ - public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder - getGoogleDomainsDnsBuilder() { + public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder getGoogleDomainsDnsBuilder() { return getGoogleDomainsDnsFieldBuilder().getBuilder(); } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder - getGoogleDomainsDnsOrBuilder() { + public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() { if ((dnsProviderCase_ == 2) && (googleDomainsDnsBuilder_ != null)) { return googleDomainsDnsBuilder_.getMessageOrBuilder(); } else { @@ -7801,71 +6837,52 @@ public Builder clearGoogleDomainsDns() { } } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder> + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder> getGoogleDomainsDnsFieldBuilder() { if (googleDomainsDnsBuilder_ == null) { if (!(dnsProviderCase_ == 2)) { - dnsProvider_ = - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance(); - } - googleDomainsDnsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder>( + dnsProvider_ = com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance(); + } + googleDomainsDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder>( (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_, getParentForChildren(), isClean()); dnsProvider_ = null; } dnsProviderCase_ = 2; - onChanged(); - ; + onChanged();; return googleDomainsDnsBuilder_; } private java.util.List glueRecords_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureGlueRecordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - glueRecords_ = - new java.util.ArrayList( - glueRecords_); + glueRecords_ = new java.util.ArrayList(glueRecords_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder> - glueRecordsBuilder_; + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder> glueRecordsBuilder_; /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsList() { + public java.util.List getGlueRecordsList() { if (glueRecordsBuilder_ == null) { return java.util.Collections.unmodifiableList(glueRecords_); } else { @@ -7873,8 +6890,6 @@ private void ensureGlueRecordsIsMutable() { } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7889,8 +6904,6 @@ public int getGlueRecordsCount() { } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7905,8 +6918,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getGlueRecords(i } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7928,8 +6939,6 @@ public Builder setGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7937,8 +6946,7 @@ public Builder setGlueRecords( * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ public Builder setGlueRecords( - int index, - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder builderForValue) { + int index, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder builderForValue) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); glueRecords_.set(index, builderForValue.build()); @@ -7949,8 +6957,6 @@ public Builder setGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7971,8 +6977,6 @@ public Builder addGlueRecords(com.google.cloud.domains.v1alpha2.DnsSettings.Glue return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7994,8 +6998,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8014,8 +7016,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8023,8 +7023,7 @@ public Builder addGlueRecords( * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ public Builder addGlueRecords( - int index, - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder builderForValue) { + int index, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder builderForValue) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); glueRecords_.add(index, builderForValue.build()); @@ -8035,8 +7034,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8044,11 +7041,11 @@ public Builder addGlueRecords( * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ public Builder addAllGlueRecords( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, glueRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, glueRecords_); onChanged(); } else { glueRecordsBuilder_.addAllMessages(values); @@ -8056,8 +7053,6 @@ public Builder addAllGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8075,8 +7070,6 @@ public Builder clearGlueRecords() { return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8094,8 +7087,6 @@ public Builder removeGlueRecords(int index) { return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8107,34 +7098,28 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder getGlueR return getGlueRecordsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder - getGlueRecordsOrBuilder(int index) { + public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder( + int index) { if (glueRecordsBuilder_ == null) { - return glueRecords_.get(index); - } else { + return glueRecords_.get(index); } else { return glueRecordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List< - ? extends com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder> - getGlueRecordsOrBuilderList() { + public java.util.List + getGlueRecordsOrBuilderList() { if (glueRecordsBuilder_ != null) { return glueRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -8142,23 +7127,17 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder getGlueR } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder - addGlueRecordsBuilder() { - return getGlueRecordsFieldBuilder() - .addBuilder( - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance()); + public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder() { + return getGlueRecordsFieldBuilder().addBuilder( + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance()); } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8167,43 +7146,37 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder getGlueR */ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder( int index) { - return getGlueRecordsFieldBuilder() - .addBuilder( - index, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance()); + return getGlueRecordsFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance()); } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsBuilderList() { + public java.util.List + getGlueRecordsBuilderList() { return getGlueRecordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder> + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder> getGlueRecordsFieldBuilder() { if (glueRecordsBuilder_ == null) { - glueRecordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder>( - glueRecords_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + glueRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder>( + glueRecords_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); glueRecords_ = null; } return glueRecordsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8213,12 +7186,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DnsSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DnsSettings) private static final com.google.cloud.domains.v1alpha2.DnsSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DnsSettings(); } @@ -8227,16 +7200,16 @@ public static com.google.cloud.domains.v1alpha2.DnsSettings getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DnsSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DnsSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8251,4 +7224,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.DnsSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java similarity index 77% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java index a1c2c483..6669e2de 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface DnsSettingsOrBuilder - extends +public interface DnsSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DnsSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; - * * @return Whether the customDns field is set. */ boolean hasCustomDns(); /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; - * * @return The customDns. */ com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getCustomDns(); /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -59,60 +35,45 @@ public interface DnsSettingsOrBuilder com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder(); /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; * @return Whether the googleDomainsDns field is set. */ boolean hasGoogleDomainsDns(); /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; * @return The googleDomainsDns. */ com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getGoogleDomainsDns(); /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder - getGoogleDomainsDnsOrBuilder(); + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder(); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List getGlueRecordsList(); + java.util.List + getGlueRecordsList(); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -121,8 +82,6 @@ public interface DnsSettingsOrBuilder */ com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getGlueRecords(int index); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -131,19 +90,15 @@ public interface DnsSettingsOrBuilder */ int getGlueRecordsCount(); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List + java.util.List getGlueRecordsOrBuilderList(); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java similarity index 69% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java index 6b7bcaf7..4384023c 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Notices about special properties of certain domains.
  * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.DomainNotice} */ -public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { +public enum DomainNotice + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The notice is undefined.
    * 
@@ -39,8 +21,6 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { */ DOMAIN_NOTICE_UNSPECIFIED(0), /** - * - * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -56,8 +36,6 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * The notice is undefined.
    * 
@@ -66,8 +44,6 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOMAIN_NOTICE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -80,6 +56,7 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int HSTS_PRELOADED_VALUE = 1;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -104,47 +81,48 @@ public static DomainNotice valueOf(int value) {
    */
   public static DomainNotice forNumber(int value) {
     switch (value) {
-      case 0:
-        return DOMAIN_NOTICE_UNSPECIFIED;
-      case 1:
-        return HSTS_PRELOADED;
-      default:
-        return null;
+      case 0: return DOMAIN_NOTICE_UNSPECIFIED;
+      case 1: return HSTS_PRELOADED;
+      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 DomainNotice findValueByNumber(int number) {
-          return DomainNotice.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      DomainNotice> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DomainNotice findValueByNumber(int number) {
+            return DomainNotice.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.domains.v1alpha2.DomainsProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final DomainNotice[] VALUES = values();
 
-  public static DomainNotice valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DomainNotice 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;
@@ -160,3 +138,4 @@ private DomainNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1alpha2.DomainNotice)
 }
+
diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java
new file mode 100644
index 00000000..288346aa
--- /dev/null
+++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java
@@ -0,0 +1,732 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/domains/v1alpha2/domains.proto
+
+package com.google.cloud.domains.v1alpha2;
+
+public final class DomainsProto {
+  private DomainsProto() {}
+  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_domains_v1alpha2_Registration_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_OperationMetadata_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/domains/v1alpha2/domains." +
+      "proto\022\035google.cloud.domains.v1alpha2\032\034go" +
+      "ogle/api/annotations.proto\032\027google/api/c" +
+      "lient.proto\032\037google/api/field_behavior.p" +
+      "roto\032\031google/api/resource.proto\032#google/" +
+      "longrunning/operations.proto\032 google/pro" +
+      "tobuf/field_mask.proto\032\037google/protobuf/" +
+      "timestamp.proto\032\027google/type/money.proto" +
+      "\032 google/type/postal_address.proto\"\233\t\n\014R" +
+      "egistration\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain" +
+      "_name\030\002 \001(\tB\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\013" +
+      "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013exp" +
+      "ire_time\030\006 \001(\0132\032.google.protobuf.Timesta" +
+      "mpB\003\340A\003\022E\n\005state\030\007 \001(\01621.google.cloud.do" +
+      "mains.v1alpha2.Registration.StateB\003\340A\003\022F" +
+      "\n\006issues\030\010 \003(\01621.google.cloud.domains.v1" +
+      "alpha2.Registration.IssueB\003\340A\003\022G\n\006labels" +
+      "\030\t \003(\01327.google.cloud.domains.v1alpha2.R" +
+      "egistration.LabelsEntry\022N\n\023management_se" +
+      "ttings\030\n \001(\01321.google.cloud.domains.v1al" +
+      "pha2.ManagementSettings\022@\n\014dns_settings\030" +
+      "\013 \001(\0132*.google.cloud.domains.v1alpha2.Dn" +
+      "sSettings\022M\n\020contact_settings\030\014 \001(\0132..go" +
+      "ogle.cloud.domains.v1alpha2.ContactSetti" +
+      "ngsB\003\340A\002\022U\n\030pending_contact_settings\030\r \001" +
+      "(\0132..google.cloud.domains.v1alpha2.Conta" +
+      "ctSettingsB\003\340A\003\022M\n\021supported_privacy\030\016 \003" +
+      "(\0162-.google.cloud.domains.v1alpha2.Conta" +
+      "ctPrivacyB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" +
+      "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\245\001\n\005State\022\025\n\021STATE" +
+      "_UNSPECIFIED\020\000\022\030\n\024REGISTRATION_PENDING\020\001" +
+      "\022\027\n\023REGISTRATION_FAILED\020\002\022\024\n\020TRANSFER_PE" +
+      "NDING\020\003\022\023\n\017TRANSFER_FAILED\020\004\022\n\n\006ACTIVE\020\006" +
+      "\022\r\n\tSUSPENDED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025" +
+      "\n\021ISSUE_UNSPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT" +
+      "\020\001\022\024\n\020UNVERIFIED_EMAIL\020\002:n\352Ak\n#domains.g" +
+      "oogleapis.com/Registration\022Dprojects/{pr" +
+      "oject}/locations/{location}/registration" +
+      "s/{registration}\"\235\002\n\022ManagementSettings\022" +
+      "\\\n\016renewal_method\030\003 \001(\0162?.google.cloud.d" +
+      "omains.v1alpha2.ManagementSettings.Renew" +
+      "alMethodB\003\340A\003\022M\n\023transfer_lock_state\030\004 \001" +
+      "(\01620.google.cloud.domains.v1alpha2.Trans" +
+      "ferLockState\"Z\n\rRenewalMethod\022\036\n\032RENEWAL" +
+      "_METHOD_UNSPECIFIED\020\000\022\025\n\021AUTOMATIC_RENEW" +
+      "AL\020\001\022\022\n\016MANUAL_RENEWAL\020\002\"\316\n\n\013DnsSettings" +
+      "\022J\n\ncustom_dns\030\001 \001(\01324.google.cloud.doma" +
+      "ins.v1alpha2.DnsSettings.CustomDnsH\000\022Y\n\022" +
+      "google_domains_dns\030\002 \001(\0132;.google.cloud." +
+      "domains.v1alpha2.DnsSettings.GoogleDomai" +
+      "nsDnsH\000\022K\n\014glue_records\030\004 \003(\01325.google.c" +
+      "loud.domains.v1alpha2.DnsSettings.GlueRe" +
+      "cord\032o\n\tCustomDns\022\031\n\014name_servers\030\001 \003(\tB" +
+      "\003\340A\002\022G\n\nds_records\030\002 \003(\01323.google.cloud." +
+      "domains.v1alpha2.DnsSettings.DsRecord\032\306\001" +
+      "\n\020GoogleDomainsDns\022\031\n\014name_servers\030\001 \003(\t" +
+      "B\003\340A\003\022I\n\010ds_state\030\002 \001(\01622.google.cloud.d" +
+      "omains.v1alpha2.DnsSettings.DsStateB\003\340A\002" +
+      "\022L\n\nds_records\030\003 \003(\01323.google.cloud.doma" +
+      "ins.v1alpha2.DnsSettings.DsRecordB\003\340A\003\032\317" +
+      "\004\n\010DsRecord\022\017\n\007key_tag\030\001 \001(\005\022P\n\talgorith" +
+      "m\030\002 \001(\0162=.google.cloud.domains.v1alpha2." +
+      "DnsSettings.DsRecord.Algorithm\022S\n\013digest" +
+      "_type\030\003 \001(\0162>.google.cloud.domains.v1alp" +
+      "ha2.DnsSettings.DsRecord.DigestType\022\016\n\006d" +
+      "igest\030\004 \001(\t\"\237\002\n\tAlgorithm\022\031\n\025ALGORITHM_U" +
+      "NSPECIFIED\020\000\022\n\n\006RSAMD5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020" +
+      "\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA1\020\005\022\020\n\014DSANSEC3SHA1\020" +
+      "\006\022\024\n\020RSASHA1NSEC3SHA1\020\007\022\r\n\tRSASHA256\020\010\022\r" +
+      "\n\tRSASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256S" +
+      "HA256\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020" +
+      "\017\022\t\n\005ED448\020\020\022\r\n\010INDIRECT\020\374\001\022\017\n\nPRIVATEDN" +
+      "S\020\375\001\022\017\n\nPRIVATEOID\020\376\001\"Y\n\nDigestType\022\033\n\027D" +
+      "IGEST_TYPE_UNSPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SH" +
+      "A256\020\002\022\014\n\010GOST3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlue" +
+      "Record\022\026\n\thost_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_a" +
+      "ddresses\030\002 \003(\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y" +
+      "\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED\020\000\022\032\n\026D" +
+      "S_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_RECORDS_PU" +
+      "BLISHED\020\002B\016\n\014dns_provider\"\343\003\n\017ContactSet" +
+      "tings\022C\n\007privacy\030\001 \001(\0162-.google.cloud.do" +
+      "mains.v1alpha2.ContactPrivacyB\003\340A\002\022W\n\022re" +
+      "gistrant_contact\030\002 \001(\01326.google.cloud.do" +
+      "mains.v1alpha2.ContactSettings.ContactB\003" +
+      "\340A\002\022R\n\radmin_contact\030\003 \001(\01326.google.clou" +
+      "d.domains.v1alpha2.ContactSettings.Conta" +
+      "ctB\003\340A\002\022V\n\021technical_contact\030\004 \001(\01326.goo" +
+      "gle.cloud.domains.v1alpha2.ContactSettin" +
+      "gs.ContactB\003\340A\002\032\205\001\n\007Contact\0227\n\016postal_ad" +
+      "dress\030\001 \001(\0132\032.google.type.PostalAddressB" +
+      "\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002\022\031\n\014phone_number" +
+      "\030\003 \001(\tB\003\340A\002\022\022\n\nfax_number\030\004 \001(\t\"g\n\024Searc" +
+      "hDomainsRequest\022\022\n\005query\030\001 \001(\tB\003\340A\002\022;\n\010l" +
+      "ocation\030\002 \001(\tB)\340A\002\372A#\n!locations.googlea" +
+      "pis.com/Location\"g\n\025SearchDomainsRespons" +
+      "e\022N\n\023register_parameters\030\001 \003(\01321.google." +
+      "cloud.domains.v1alpha2.RegisterParameter" +
+      "s\"z\n!RetrieveRegisterParametersRequest\022\030" +
+      "\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001" +
+      "(\tB)\340A\002\372A#\n!locations.googleapis.com/Loc" +
+      "ation\"t\n\"RetrieveRegisterParametersRespo" +
+      "nse\022N\n\023register_parameters\030\001 \001(\01321.googl" +
+      "e.cloud.domains.v1alpha2.RegisterParamet" +
+      "ers\"\354\002\n\025RegisterDomainRequest\0229\n\006parent\030" +
+      "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/" +
+      "Location\022F\n\014registration\030\002 \001(\0132+.google." +
+      "cloud.domains.v1alpha2.RegistrationB\003\340A\002" +
+      "\022C\n\016domain_notices\030\003 \003(\0162+.google.cloud." +
+      "domains.v1alpha2.DomainNotice\022E\n\017contact" +
+      "_notices\030\004 \003(\0162,.google.cloud.domains.v1" +
+      "alpha2.ContactNotice\022-\n\014yearly_price\030\005 \001" +
+      "(\0132\022.google.type.MoneyB\003\340A\002\022\025\n\rvalidate_" +
+      "only\030\006 \001(\010\"z\n!RetrieveTransferParameters" +
+      "Request\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010loc" +
+      "ation\030\002 \001(\tB)\340A\002\372A#\n!locations.googleapi" +
+      "s.com/Location\"t\n\"RetrieveTransferParame" +
+      "tersResponse\022N\n\023transfer_parameters\030\001 \001(" +
+      "\01321.google.cloud.domains.v1alpha2.Transf" +
+      "erParameters\"\365\002\n\025TransferDomainRequest\0229" +
+      "\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.google" +
+      "apis.com/Location\022F\n\014registration\030\002 \001(\0132" +
+      "+.google.cloud.domains.v1alpha2.Registra" +
+      "tionB\003\340A\002\022E\n\017contact_notices\030\003 \003(\0162,.goo" +
+      "gle.cloud.domains.v1alpha2.ContactNotice" +
+      "\022-\n\014yearly_price\030\004 \001(\0132\022.google.type.Mon" +
+      "eyB\003\340A\002\022L\n\022authorization_code\030\005 \001(\01320.go" +
+      "ogle.cloud.domains.v1alpha2.Authorizatio" +
+      "nCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030ListReg" +
+      "istrationsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" +
+      "#\n!locations.googleapis.com/Location\022\021\n\t" +
+      "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" +
+      "ilter\030\004 \001(\t\"x\n\031ListRegistrationsResponse" +
+      "\022B\n\rregistrations\030\001 \003(\0132+.google.cloud.d" +
+      "omains.v1alpha2.Registration\022\027\n\017next_pag" +
+      "e_token\030\002 \001(\t\"S\n\026GetRegistrationRequest\022" +
+      "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapi" +
+      "s.com/Registration\"\224\001\n\031UpdateRegistratio" +
+      "nRequest\022A\n\014registration\030\001 \001(\0132+.google." +
+      "cloud.domains.v1alpha2.Registration\0224\n\013u" +
+      "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" +
+      "MaskB\003\340A\002\"\355\001\n\"ConfigureManagementSetting" +
+      "sRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#" +
+      "domains.googleapis.com/Registration\022N\n\023m" +
+      "anagement_settings\030\002 \001(\01321.google.cloud." +
+      "domains.v1alpha2.ManagementSettings\0224\n\013u" +
+      "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" +
+      "MaskB\003\340A\002\"\357\001\n\033ConfigureDnsSettingsReques" +
+      "t\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains" +
+      ".googleapis.com/Registration\022@\n\014dns_sett" +
+      "ings\030\002 \001(\0132*.google.cloud.domains.v1alph" +
+      "a2.DnsSettings\0224\n\013update_mask\030\003 \001(\0132\032.go" +
+      "ogle.protobuf.FieldMaskB\003\340A\002\022\025\n\rvalidate" +
+      "_only\030\004 \001(\010\"\302\002\n\037ConfigureContactSettings" +
+      "Request\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#d" +
+      "omains.googleapis.com/Registration\022H\n\020co" +
+      "ntact_settings\030\002 \001(\0132..google.cloud.doma" +
+      "ins.v1alpha2.ContactSettings\0224\n\013update_m" +
+      "ask\030\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340" +
+      "A\002\022E\n\017contact_notices\030\004 \003(\0162,.google.clo" +
+      "ud.domains.v1alpha2.ContactNotice\022\025\n\rval" +
+      "idate_only\030\005 \001(\010\"V\n\031ExportRegistrationRe" +
+      "quest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" +
+      "gleapis.com/Registration\"V\n\031DeleteRegist" +
+      "rationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#dom" +
+      "ains.googleapis.com/Registration\"e\n Retr" +
+      "ieveAuthorizationCodeRequest\022A\n\014registra" +
+      "tion\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.c" +
+      "om/Registration\"b\n\035ResetAuthorizationCod" +
+      "eRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#" +
+      "domains.googleapis.com/Registration\"\244\003\n\022" +
+      "RegisterParameters\022\023\n\013domain_name\030\001 \001(\t\022" +
+      "T\n\014availability\030\002 \001(\0162>.google.cloud.dom" +
+      "ains.v1alpha2.RegisterParameters.Availab" +
+      "ility\022H\n\021supported_privacy\030\003 \003(\0162-.googl" +
+      "e.cloud.domains.v1alpha2.ContactPrivacy\022" +
+      "C\n\016domain_notices\030\004 \003(\0162+.google.cloud.d" +
+      "omains.v1alpha2.DomainNotice\022(\n\014yearly_p" +
+      "rice\030\005 \001(\0132\022.google.type.Money\"j\n\014Availa" +
+      "bility\022\034\n\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\t" +
+      "AVAILABLE\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPOR" +
+      "TED\020\003\022\013\n\007UNKNOWN\020\004\"\235\002\n\022TransferParameter" +
+      "s\022\023\n\013domain_name\030\001 \001(\t\022\031\n\021current_regist" +
+      "rar\030\002 \001(\t\022\024\n\014name_servers\030\003 \003(\t\022M\n\023trans" +
+      "fer_lock_state\030\004 \001(\01620.google.cloud.doma" +
+      "ins.v1alpha2.TransferLockState\022H\n\021suppor" +
+      "ted_privacy\030\005 \003(\0162-.google.cloud.domains" +
+      ".v1alpha2.ContactPrivacy\022(\n\014yearly_price" +
+      "\030\006 \001(\0132\022.google.type.Money\"!\n\021Authorizat" +
+      "ionCode\022\014\n\004code\030\001 \001(\t\"\274\001\n\021OperationMetad" +
+      "ata\022/\n\013create_time\030\001 \001(\0132\032.google.protob" +
+      "uf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google." +
+      "protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004ve" +
+      "rb\030\004 \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\023\n\013api_v" +
+      "ersion\030\006 \001(\t*\177\n\016ContactPrivacy\022\037\n\033CONTAC" +
+      "T_PRIVACY_UNSPECIFIED\020\000\022\027\n\023PUBLIC_CONTAC" +
+      "T_DATA\020\001\022\030\n\024PRIVATE_CONTACT_DATA\020\002\022\031\n\025RE" +
+      "DACTED_CONTACT_DATA\020\003*A\n\014DomainNotice\022\035\n" +
+      "\031DOMAIN_NOTICE_UNSPECIFIED\020\000\022\022\n\016HSTS_PRE" +
+      "LOADED\020\001*X\n\rContactNotice\022\036\n\032CONTACT_NOT" +
+      "ICE_UNSPECIFIED\020\000\022\'\n#PUBLIC_CONTACT_DATA" +
+      "_ACKNOWLEDGEMENT\020\001*R\n\021TransferLockState\022" +
+      "#\n\037TRANSFER_LOCK_STATE_UNSPECIFIED\020\000\022\014\n\010" +
+      "UNLOCKED\020\001\022\n\n\006LOCKED\020\0022\357\036\n\007Domains\022\334\001\n\rS" +
+      "earchDomains\0223.google.cloud.domains.v1al" +
+      "pha2.SearchDomainsRequest\0324.google.cloud" +
+      ".domains.v1alpha2.SearchDomainsResponse\"" +
+      "`\202\323\344\223\002I\022G/v1alpha2/{location=projects/*/" +
+      "locations/*}/registrations:searchDomains" +
+      "\332A\016location,query\022\226\002\n\032RetrieveRegisterPa" +
+      "rameters\022@.google.cloud.domains.v1alpha2" +
+      ".RetrieveRegisterParametersRequest\032A.goo" +
+      "gle.cloud.domains.v1alpha2.RetrieveRegis" +
+      "terParametersResponse\"s\202\323\344\223\002V\022T/v1alpha2" +
+      "/{location=projects/*/locations/*}/regis" +
+      "trations:retrieveRegisterParameters\332A\024lo" +
+      "cation,domain_name\022\372\001\n\016RegisterDomain\0224." +
+      "google.cloud.domains.v1alpha2.RegisterDo" +
+      "mainRequest\032\035.google.longrunning.Operati" +
+      "on\"\222\001\202\323\344\223\002E\"@/v1alpha2/{parent=projects/" +
+      "*/locations/*}/registrations:register:\001*" +
+      "\332A parent,registration,yearly_price\312A!\n\014" +
+      "Registration\022\021OperationMetadata\022\226\002\n\032Retr" +
+      "ieveTransferParameters\022@.google.cloud.do" +
+      "mains.v1alpha2.RetrieveTransferParameter" +
+      "sRequest\032A.google.cloud.domains.v1alpha2" +
+      ".RetrieveTransferParametersResponse\"s\202\323\344" +
+      "\223\002V\022T/v1alpha2/{location=projects/*/loca" +
+      "tions/*}/registrations:retrieveTransferP" +
+      "arameters\332A\024location,domain_name\022\215\002\n\016Tra" +
+      "nsferDomain\0224.google.cloud.domains.v1alp" +
+      "ha2.TransferDomainRequest\032\035.google.longr" +
+      "unning.Operation\"\245\001\202\323\344\223\002E\"@/v1alpha2/{pa" +
+      "rent=projects/*/locations/*}/registratio" +
+      "ns:transfer:\001*\332A3parent,registration,yea" +
+      "rly_price,authorization_code\312A!\n\014Registr" +
+      "ation\022\021OperationMetadata\022\320\001\n\021ListRegistr" +
+      "ations\0227.google.cloud.domains.v1alpha2.L" +
+      "istRegistrationsRequest\0328.google.cloud.d" +
+      "omains.v1alpha2.ListRegistrationsRespons" +
+      "e\"H\202\323\344\223\0029\0227/v1alpha2/{parent=projects/*/" +
+      "locations/*}/registrations\332A\006parent\022\275\001\n\017" +
+      "GetRegistration\0225.google.cloud.domains.v" +
+      "1alpha2.GetRegistrationRequest\032+.google." +
+      "cloud.domains.v1alpha2.Registration\"F\202\323\344" +
+      "\223\0029\0227/v1alpha2/{name=projects/*/location" +
+      "s/*/registrations/*}\332A\004name\022\211\002\n\022UpdateRe" +
+      "gistration\0228.google.cloud.domains.v1alph" +
+      "a2.UpdateRegistrationRequest\032\035.google.lo" +
+      "ngrunning.Operation\"\231\001\202\323\344\223\002T2D/v1alpha2/" +
+      "{registration.name=projects/*/locations/" +
+      "*/registrations/*}:\014registration\332A\030regis" +
+      "tration,update_mask\312A!\n\014Registration\022\021Op" +
+      "erationMetadata\022\273\002\n\033ConfigureManagementS" +
+      "ettings\022A.google.cloud.domains.v1alpha2." +
+      "ConfigureManagementSettingsRequest\032\035.goo" +
+      "gle.longrunning.Operation\"\271\001\202\323\344\223\002`\"[/v1a" +
+      "lpha2/{registration=projects/*/locations" +
+      "/*/registrations/*}:configureManagementS" +
+      "ettings:\001*\332A,registration,management_set" +
+      "tings,update_mask\312A!\n\014Registration\022\021Oper" +
+      "ationMetadata\022\237\002\n\024ConfigureDnsSettings\022:" +
+      ".google.cloud.domains.v1alpha2.Configure" +
+      "DnsSettingsRequest\032\035.google.longrunning." +
+      "Operation\"\253\001\202\323\344\223\002Y\"T/v1alpha2/{registrat" +
+      "ion=projects/*/locations/*/registrations" +
+      "/*}:configureDnsSettings:\001*\332A%registrati" +
+      "on,dns_settings,update_mask\312A!\n\014Registra" +
+      "tion\022\021OperationMetadata\022\257\002\n\030ConfigureCon" +
+      "tactSettings\022>.google.cloud.domains.v1al" +
+      "pha2.ConfigureContactSettingsRequest\032\035.g" +
+      "oogle.longrunning.Operation\"\263\001\202\323\344\223\002]\"X/v" +
+      "1alpha2/{registration=projects/*/locatio" +
+      "ns/*/registrations/*}:configureContactSe" +
+      "ttings:\001*\332A)registration,contact_setting" +
+      "s,update_mask\312A!\n\014Registration\022\021Operatio" +
+      "nMetadata\022\343\001\n\022ExportRegistration\0228.googl" +
+      "e.cloud.domains.v1alpha2.ExportRegistrat" +
+      "ionRequest\032\035.google.longrunning.Operatio" +
+      "n\"t\202\323\344\223\002C\">/v1alpha2/{name=projects/*/lo" +
+      "cations/*/registrations/*}:export:\001*\332A\004n" +
+      "ame\312A!\n\014Registration\022\021OperationMetadata\022" +
+      "\342\001\n\022DeleteRegistration\0228.google.cloud.do" +
+      "mains.v1alpha2.DeleteRegistrationRequest" +
+      "\032\035.google.longrunning.Operation\"s\202\323\344\223\0029*" +
+      "7/v1alpha2/{name=projects/*/locations/*/" +
+      "registrations/*}\332A\004name\312A*\n\025google.proto" +
+      "buf.Empty\022\021OperationMetadata\022\200\002\n\031Retriev" +
+      "eAuthorizationCode\022?.google.cloud.domain" +
+      "s.v1alpha2.RetrieveAuthorizationCodeRequ" +
+      "est\0320.google.cloud.domains.v1alpha2.Auth" +
+      "orizationCode\"p\202\323\344\223\002[\022Y/v1alpha2/{regist" +
+      "ration=projects/*/locations/*/registrati" +
+      "ons/*}:retrieveAuthorizationCode\332A\014regis" +
+      "tration\022\372\001\n\026ResetAuthorizationCode\022<.goo" +
+      "gle.cloud.domains.v1alpha2.ResetAuthoriz" +
+      "ationCodeRequest\0320.google.cloud.domains." +
+      "v1alpha2.AuthorizationCode\"p\202\323\344\223\002[\"V/v1a" +
+      "lpha2/{registration=projects/*/locations" +
+      "/*/registrations/*}:resetAuthorizationCo" +
+      "de:\001*\332A\014registration\032J\312A\026domains.googlea" +
+      "pis.com\322A.https://www.googleapis.com/aut" +
+      "h/cloud-platformBy\n!com.google.cloud.dom" +
+      "ains.v1alpha2B\014DomainsProtoP\001ZDgoogle.go" +
+      "lang.org/genproto/googleapis/cloud/domai" +
+      "ns/v1alpha2;domainsb\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.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.type.MoneyProto.getDescriptor(),
+          com.google.type.PostalAddressProto.getDescriptor(),
+        });
+    internal_static_google_cloud_domains_v1alpha2_Registration_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_Registration_descriptor,
+        new java.lang.String[] { "Name", "DomainName", "CreateTime", "ExpireTime", "State", "Issues", "Labels", "ManagementSettings", "DnsSettings", "ContactSettings", "PendingContactSettings", "SupportedPrivacy", });
+    internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor =
+      internal_static_google_cloud_domains_v1alpha2_Registration_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor,
+        new java.lang.String[] { "RenewalMethod", "TransferLockState", });
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor,
+        new java.lang.String[] { "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider", });
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor =
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor,
+        new java.lang.String[] { "NameServers", "DsRecords", });
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor =
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor,
+        new java.lang.String[] { "NameServers", "DsState", "DsRecords", });
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor =
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor.getNestedTypes().get(2);
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor,
+        new java.lang.String[] { "KeyTag", "Algorithm", "DigestType", "Digest", });
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor =
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor.getNestedTypes().get(3);
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor,
+        new java.lang.String[] { "HostName", "Ipv4Addresses", "Ipv6Addresses", });
+    internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor,
+        new java.lang.String[] { "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact", });
+    internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor =
+      internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor,
+        new java.lang.String[] { "PostalAddress", "Email", "PhoneNumber", "FaxNumber", });
+    internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor,
+        new java.lang.String[] { "Query", "Location", });
+    internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor,
+        new java.lang.String[] { "RegisterParameters", });
+    internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor,
+        new java.lang.String[] { "DomainName", "Location", });
+    internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor,
+        new java.lang.String[] { "RegisterParameters", });
+    internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor,
+        new java.lang.String[] { "Parent", "Registration", "DomainNotices", "ContactNotices", "YearlyPrice", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor,
+        new java.lang.String[] { "DomainName", "Location", });
+    internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor,
+        new java.lang.String[] { "TransferParameters", });
+    internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor,
+        new java.lang.String[] { "Parent", "Registration", "ContactNotices", "YearlyPrice", "AuthorizationCode", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
+    internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor,
+        new java.lang.String[] { "Registrations", "NextPageToken", });
+    internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor,
+        new java.lang.String[] { "Registration", "UpdateMask", });
+    internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor,
+        new java.lang.String[] { "Registration", "ManagementSettings", "UpdateMask", });
+    internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor,
+        new java.lang.String[] { "Registration", "DnsSettings", "UpdateMask", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor,
+        new java.lang.String[] { "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor =
+      getDescriptor().getMessageTypes().get(21);
+    internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor,
+        new java.lang.String[] { "Registration", });
+    internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor =
+      getDescriptor().getMessageTypes().get(22);
+    internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor,
+        new java.lang.String[] { "Registration", });
+    internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor =
+      getDescriptor().getMessageTypes().get(23);
+    internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor,
+        new java.lang.String[] { "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice", });
+    internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor =
+      getDescriptor().getMessageTypes().get(24);
+    internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor,
+        new java.lang.String[] { "DomainName", "CurrentRegistrar", "NameServers", "TransferLockState", "SupportedPrivacy", "YearlyPrice", });
+    internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor =
+      getDescriptor().getMessageTypes().get(25);
+    internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor,
+        new java.lang.String[] { "Code", });
+    internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(26);
+    internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor,
+        new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.MoneyProto.getDescriptor();
+    com.google.type.PostalAddressProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java
similarity index 65%
rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java
rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java
index e01a10c7..abc6b068 100644
--- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java
+++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1alpha2/domains.proto
 
 package com.google.cloud.domains.v1alpha2;
 
 /**
- *
- *
  * 
  * Request for the `ExportRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ExportRegistrationRequest} */ -public final class ExportRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ExportRegistrationRequest) ExportRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportRegistrationRequest.newBuilder() to construct. private ExportRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExportRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ExportRegistrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ExportRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 @@ -135,32 +110,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 `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,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.domains.v1alpha2.ExportRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest other = - (com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) obj; + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest other = (com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ExportRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ExportRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ExportRegistrationRequest) com.google.cloud.domains.v1alpha2.ExportRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.domains.v1alpha2.ExportRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ExportRegistrationRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest result = - new com.google.cloud.domains.v1alpha2.ExportRegistrationRequest(this); + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest result = new com.google.cloud.domains.v1alpha2.ExportRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.domains.v1alpha2.ExportRegistrationRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ExportRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest other) { - if (other == com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ExportRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ExportRegistrationRequest) private static final com.google.cloud.domains.v1alpha2.ExportRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ExportRegistrationRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1alpha2.ExportRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..f0d95dfb --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1alpha2/domains.proto + +package com.google.cloud.domains.v1alpha2; + +public interface ExportRegistrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ExportRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java similarity index 65% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java index a83e095e..13b32ccb 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `GetRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.GetRegistrationRequest} */ -public final class GetRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.GetRegistrationRequest) GetRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRegistrationRequest.newBuilder() to construct. private GetRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRegistrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, - com.google.cloud.domains.v1alpha2.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, com.google.cloud.domains.v1alpha2.GetRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 @@ -135,32 +110,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 `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,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.domains.v1alpha2.GetRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.GetRegistrationRequest other = - (com.google.cloud.domains.v1alpha2.GetRegistrationRequest) obj; + com.google.cloud.domains.v1alpha2.GetRegistrationRequest other = (com.google.cloud.domains.v1alpha2.GetRegistrationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.GetRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `GetRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.GetRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.GetRegistrationRequest) com.google.cloud.domains.v1alpha2.GetRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, - com.google.cloud.domains.v1alpha2.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, com.google.cloud.domains.v1alpha2.GetRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.GetRegistrationRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.domains.v1alpha2.GetRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.GetRegistrationRequest buildPartial() { - com.google.cloud.domains.v1alpha2.GetRegistrationRequest result = - new com.google.cloud.domains.v1alpha2.GetRegistrationRequest(this); + com.google.cloud.domains.v1alpha2.GetRegistrationRequest result = new com.google.cloud.domains.v1alpha2.GetRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.domains.v1alpha2.GetRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.GetRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.GetRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.GetRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.GetRegistrationRequest other) { - if (other == com.google.cloud.domains.v1alpha2.GetRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.GetRegistrationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.GetRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.GetRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.GetRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.GetRegistrationRequest) private static final com.google.cloud.domains.v1alpha2.GetRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.GetRegistrationRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.GetRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..4ab774f4 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1alpha2/domains.proto + +package com.google.cloud.domains.v1alpha2; + +public interface GetRegistrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.GetRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java similarity index 73% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java index 89778b0c..db38b330 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ListRegistrationsRequest} */ -public final class ListRegistrationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRegistrationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ListRegistrationsRequest) ListRegistrationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRegistrationsRequest.newBuilder() to construct. private ListRegistrationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRegistrationsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListRegistrationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRegistrationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRegistrationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListRegistrationsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListRegistrationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 { @@ -192,14 +163,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -210,15 +178,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -227,30 +192,30 @@ 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; } } /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * 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 { @@ -261,8 +226,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -280,7 +243,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -289,15 +251,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -315,15 +276,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -332,7 +294,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,7 +305,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -370,7 +332,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_); @@ -386,18 +349,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.domains.v1alpha2.ListRegistrationsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest other = - (com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest other = (com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,127 +389,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ListRegistrationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ListRegistrationsRequest) com.google.cloud.domains.v1alpha2.ListRegistrationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.newBuilder() @@ -551,15 +507,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -575,9 +532,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; } @java.lang.Override @@ -596,8 +553,7 @@ public com.google.cloud.domains.v1alpha2.ListRegistrationsRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ListRegistrationsRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest result = - new com.google.cloud.domains.v1alpha2.ListRegistrationsRequest(this); + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest result = new com.google.cloud.domains.v1alpha2.ListRegistrationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -610,39 +566,38 @@ public com.google.cloud.domains.v1alpha2.ListRegistrationsRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ListRegistrationsRequest)other); } else { super.mergeFrom(other); return this; @@ -650,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest other) { - if (other == com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -686,8 +640,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -699,23 +652,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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; @@ -724,24 +673,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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 { @@ -749,85 +695,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -835,36 +765,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -872,21 +796,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * 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; @@ -895,22 +817,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * 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 { @@ -918,64 +839,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -983,8 +897,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1002,13 +914,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1017,8 +929,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1036,14 +946,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1051,8 +962,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1070,22 +979,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1103,18 +1010,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1132,23 +1036,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1158,12 +1062,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ListRegistrationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ListRegistrationsRequest) private static final com.google.cloud.domains.v1alpha2.ListRegistrationsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ListRegistrationsRequest(); } @@ -1172,16 +1076,16 @@ public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1196,4 +1100,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.ListRegistrationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java similarity index 74% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java index b1a289ff..364e755a 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java @@ -1,102 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ListRegistrationsRequestOrBuilder - extends +public interface ListRegistrationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ListRegistrationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 project and location from which to list `Registration`s, specified in
    * the format `projects/*/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(); /** - * - * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -114,13 +79,10 @@ public interface ListRegistrationsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -138,8 +100,8 @@ public interface ListRegistrationsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java similarity index 74% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java index 051cfdbc..0b4a3ca4 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Response for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ListRegistrationsResponse} */ -public final class ListRegistrationsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRegistrationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ListRegistrationsResponse) ListRegistrationsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRegistrationsResponse.newBuilder() to construct. private ListRegistrationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRegistrationsResponse() { registrations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRegistrationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRegistrationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRegistrationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListRegistrationsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registrations_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - registrations_.add( - input.readMessage( - com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registrations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + registrations_.add( + input.readMessage(com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListRegistrationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registrations_ = java.util.Collections.unmodifiableList(registrations_); @@ -114,27 +94,22 @@ private ListRegistrationsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.Builder.class); } public static final int REGISTRATIONS_FIELD_NUMBER = 1; private java.util.List registrations_; /** - * - * *
    * A list of `Registration`s.
    * 
@@ -146,8 +121,6 @@ public java.util.List getRegistr return registrations_; } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -155,13 +128,11 @@ public java.util.List getRegistr * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegistrationsOrBuilderList() { return registrations_; } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -173,8 +144,6 @@ public int getRegistrationsCount() { return registrations_.size(); } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -186,8 +155,6 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistrations(int index return registrations_.get(index); } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -203,15 +170,12 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsO public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -220,30 +184,30 @@ 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; } } /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * 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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < registrations_.size(); i++) { output.writeMessage(1, registrations_.get(i)); } @@ -281,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registrations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, registrations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, registrations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1alpha2.ListRegistrationsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse other = - (com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) obj; + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse other = (com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) obj; - if (!getRegistrationsList().equals(other.getRegistrationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRegistrationsList() + .equals(other.getRegistrationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +293,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ListRegistrationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ListRegistrationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ListRegistrationsResponse) com.google.cloud.domains.v1alpha2.ListRegistrationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.newBuilder() @@ -455,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRegistrationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; } @java.lang.Override @@ -502,8 +458,7 @@ public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse buildPartial() { - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse result = - new com.google.cloud.domains.v1alpha2.ListRegistrationsResponse(this); + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse result = new com.google.cloud.domains.v1alpha2.ListRegistrationsResponse(this); int from_bitField0_ = bitField0_; if (registrationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ListRegistrationsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ListRegistrationsResponse other) { - if (other == com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.getDefaultInstance()) return this; if (registrationsBuilder_ == null) { if (!other.registrations_.isEmpty()) { if (registrations_.isEmpty()) { @@ -583,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ListRegistrationsResp registrationsBuilder_ = null; registrations_ = other.registrations_; bitField0_ = (bitField0_ & ~0x00000001); - registrationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRegistrationsFieldBuilder() - : null; + registrationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRegistrationsFieldBuilder() : null; } else { registrationsBuilder_.addAllMessages(other.registrations_); } @@ -615,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -625,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List registrations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRegistrationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registrations_ = - new java.util.ArrayList(registrations_); + registrations_ = new java.util.ArrayList(registrations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> - registrationsBuilder_; + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> registrationsBuilder_; /** - * - * *
      * A list of `Registration`s.
      * 
@@ -662,8 +605,6 @@ public java.util.List getRegistr } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -678,8 +619,6 @@ public int getRegistrationsCount() { } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -694,8 +633,6 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistrations(int index } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -717,8 +654,6 @@ public Builder setRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -737,8 +672,6 @@ public Builder setRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -759,8 +692,6 @@ public Builder addRegistrations(com.google.cloud.domains.v1alpha2.Registration v return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -782,8 +713,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -802,8 +731,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -822,8 +749,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -834,7 +759,8 @@ public Builder addAllRegistrations( java.lang.Iterable values) { if (registrationsBuilder_ == null) { ensureRegistrationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registrations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, registrations_); onChanged(); } else { registrationsBuilder_.addAllMessages(values); @@ -842,8 +768,6 @@ public Builder addAllRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -861,8 +785,6 @@ public Builder clearRegistrations() { return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -880,8 +802,6 @@ public Builder removeRegistrations(int index) { return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -893,8 +813,6 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationsBu return getRegistrationsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -904,22 +822,19 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationsBu public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsOrBuilder( int index) { if (registrationsBuilder_ == null) { - return registrations_.get(index); - } else { + return registrations_.get(index); } else { return registrationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ - public java.util.List - getRegistrationsOrBuilderList() { + public java.util.List + getRegistrationsOrBuilderList() { if (registrationsBuilder_ != null) { return registrationsBuilder_.getMessageOrBuilderList(); } else { @@ -927,8 +842,6 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsO } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -936,12 +849,10 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsO * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ public com.google.cloud.domains.v1alpha2.Registration.Builder addRegistrationsBuilder() { - return getRegistrationsFieldBuilder() - .addBuilder(com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance()); + return getRegistrationsFieldBuilder().addBuilder( + com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance()); } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -950,34 +861,26 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder addRegistrationsBu */ public com.google.cloud.domains.v1alpha2.Registration.Builder addRegistrationsBuilder( int index) { - return getRegistrationsFieldBuilder() - .addBuilder(index, com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance()); + return getRegistrationsFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance()); } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ - public java.util.List - getRegistrationsBuilderList() { + public java.util.List + getRegistrationsBuilderList() { return getRegistrationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> getRegistrationsFieldBuilder() { if (registrationsBuilder_ == null) { - registrationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( + registrationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( registrations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -989,21 +892,19 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder addRegistrationsBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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; @@ -1012,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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 { @@ -1035,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1109,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ListRegistrationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ListRegistrationsResponse) private static final com.google.cloud.domains.v1alpha2.ListRegistrationsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ListRegistrationsResponse(); } @@ -1123,16 +1016,16 @@ public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java index 6b3a825e..5e96dce6 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ListRegistrationsResponseOrBuilder - extends +public interface ListRegistrationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ListRegistrationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ - java.util.List getRegistrationsList(); + java.util.List + getRegistrationsList(); /** - * - * *
    * A list of `Registration`s.
    * 
@@ -44,8 +25,6 @@ public interface ListRegistrationsResponseOrBuilder */ com.google.cloud.domains.v1alpha2.Registration getRegistrations(int index); /** - * - * *
    * A list of `Registration`s.
    * 
@@ -54,51 +33,43 @@ public interface ListRegistrationsResponseOrBuilder */ int getRegistrationsCount(); /** - * - * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ - java.util.List + java.util.List getRegistrationsOrBuilderList(); /** - * - * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsOrBuilder(int index); + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsOrBuilder( + int index); /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/LocationName.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/LocationName.java similarity index 100% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/LocationName.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/LocationName.java diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java similarity index 66% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java index b5986850..765bf7e1 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Defines renewal, billing, and transfer settings for a `Registration`.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ManagementSettings} */ -public final class ManagementSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ManagementSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ManagementSettings) ManagementSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ManagementSettings.newBuilder() to construct. private ManagementSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ManagementSettings() { renewalMethod_ = 0; transferLockState_ = 0; @@ -44,15 +26,16 @@ private ManagementSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ManagementSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ManagementSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ManagementSettings( case 0: done = true; break; - case 24: - { - int rawValue = input.readEnum(); + case 24: { + int rawValue = input.readEnum(); - renewalMethod_ = rawValue; - break; - } - case 32: - { - int rawValue = input.readEnum(); + renewalMethod_ = rawValue; + break; + } + case 32: { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transferLockState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ManagementSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ManagementSettings.class, - com.google.cloud.domains.v1alpha2.ManagementSettings.Builder.class); + com.google.cloud.domains.v1alpha2.ManagementSettings.class, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder.class); } /** - * - * *
    * Defines how the `Registration` is renewed.
    * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod} */ - public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { + public enum RenewalMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The renewal method is undefined.
      * 
@@ -142,8 +118,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { */ RENEWAL_METHOD_UNSPECIFIED(0), /** - * - * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -154,8 +128,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     AUTOMATIC_RENEWAL(1),
     /**
-     *
-     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -171,8 +143,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The renewal method is undefined.
      * 
@@ -181,8 +151,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RENEWAL_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -193,8 +161,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AUTOMATIC_RENEWAL_VALUE = 1;
     /**
-     *
-     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -207,6 +173,7 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MANUAL_RENEWAL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -231,51 +198,49 @@ public static RenewalMethod valueOf(int value) {
      */
     public static RenewalMethod forNumber(int value) {
       switch (value) {
-        case 0:
-          return RENEWAL_METHOD_UNSPECIFIED;
-        case 1:
-          return AUTOMATIC_RENEWAL;
-        case 2:
-          return MANUAL_RENEWAL;
-        default:
-          return null;
+        case 0: return RENEWAL_METHOD_UNSPECIFIED;
+        case 1: return AUTOMATIC_RENEWAL;
+        case 2: return MANUAL_RENEWAL;
+        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<
+        RenewalMethod> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RenewalMethod findValueByNumber(int number) {
+              return RenewalMethod.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RenewalMethod findValueByNumber(int number) {
-            return RenewalMethod.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.domains.v1alpha2.ManagementSettings.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.ManagementSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final RenewalMethod[] VALUES = values();
 
-    public static RenewalMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RenewalMethod 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;
@@ -295,85 +260,58 @@ private RenewalMethod(int value) {
   public static final int RENEWAL_METHOD_FIELD_NUMBER = 3;
   private int renewalMethod_;
   /**
-   *
-   *
    * 
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override - public int getRenewalMethodValue() { + @java.lang.Override public int getRenewalMethodValue() { return renewalMethod_; } /** - * - * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The renewalMethod. */ - @java.lang.Override - public com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod getRenewalMethod() { + @java.lang.Override public com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod result = - com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null - ? com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ - @java.lang.Override - public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { + @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.TransferLockState result = - com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); - return result == null - ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.TransferLockState result = com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); + return result == null ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,16 +323,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (renewalMethod_ - != com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod - .RENEWAL_METHOD_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (renewalMethod_ != com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(3, renewalMethod_); } - if (transferLockState_ - != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { + if (transferLockState_ != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, transferLockState_); } unknownFields.writeTo(output); @@ -406,16 +340,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (renewalMethod_ - != com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod - .RENEWAL_METHOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, renewalMethod_); + if (renewalMethod_ != com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, renewalMethod_); } - if (transferLockState_ - != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); + if (transferLockState_ != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, transferLockState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -425,13 +356,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.domains.v1alpha2.ManagementSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ManagementSettings other = - (com.google.cloud.domains.v1alpha2.ManagementSettings) obj; + com.google.cloud.domains.v1alpha2.ManagementSettings other = (com.google.cloud.domains.v1alpha2.ManagementSettings) obj; if (renewalMethod_ != other.renewalMethod_) return false; if (transferLockState_ != other.transferLockState_) return false; @@ -456,126 +386,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ManagementSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines renewal, billing, and transfer settings for a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ManagementSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ManagementSettings) com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ManagementSettings.class, - com.google.cloud.domains.v1alpha2.ManagementSettings.Builder.class); + com.google.cloud.domains.v1alpha2.ManagementSettings.class, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ManagementSettings.newBuilder() @@ -583,15 +504,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -603,9 +525,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; } @java.lang.Override @@ -624,8 +546,7 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ManagementSettings buildPartial() { - com.google.cloud.domains.v1alpha2.ManagementSettings result = - new com.google.cloud.domains.v1alpha2.ManagementSettings(this); + com.google.cloud.domains.v1alpha2.ManagementSettings result = new com.google.cloud.domains.v1alpha2.ManagementSettings(this); result.renewalMethod_ = renewalMethod_; result.transferLockState_ = transferLockState_; onBuilt(); @@ -636,39 +557,38 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ManagementSettings) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ManagementSettings) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ManagementSettings)other); } else { super.mergeFrom(other); return this; @@ -676,8 +596,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ManagementSettings other) { - if (other == com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance()) return this; if (other.renewalMethod_ != 0) { setRenewalMethodValue(other.getRenewalMethodValue()); } @@ -703,8 +622,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.ManagementSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.ManagementSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -716,104 +634,73 @@ public Builder mergeFrom( private int renewalMethod_ = 0; /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override - public int getRenewalMethodValue() { + @java.lang.Override public int getRenewalMethodValue() { return renewalMethod_; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for renewalMethod to set. * @return This builder for chaining. */ public Builder setRenewalMethodValue(int value) { - + renewalMethod_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The renewalMethod. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod result = - com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.valueOf( - renewalMethod_); - return result == null - ? com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The renewalMethod to set. * @return This builder for chaining. */ - public Builder setRenewalMethod( - com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod value) { + public Builder setRenewalMethod(com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod value) { if (value == null) { throw new NullPointerException(); } - + renewalMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearRenewalMethod() { - + renewalMethod_ = 0; onChanged(); return this; @@ -821,67 +708,51 @@ public Builder clearRenewalMethod() { private int transferLockState_ = 0; /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.TransferLockState result = - com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); - return result == null - ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.TransferLockState result = com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); + return result == null ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED : result; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -889,31 +760,28 @@ public Builder setTransferLockState(com.google.cloud.domains.v1alpha2.TransferLo if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -923,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ManagementSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ManagementSettings) private static final com.google.cloud.domains.v1alpha2.ManagementSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ManagementSettings(); } @@ -937,16 +805,16 @@ public static com.google.cloud.domains.v1alpha2.ManagementSettings getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagementSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ManagementSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagementSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ManagementSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -961,4 +829,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.ManagementSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java similarity index 56% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java index 46e5a416..25bd6e6c 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java @@ -1,78 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ManagementSettingsOrBuilder - extends +public interface ManagementSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ManagementSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for renewalMethod. */ int getRenewalMethodValue(); /** - * - * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The renewalMethod. */ com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod getRenewalMethod(); /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState(); diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java similarity index 71% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java index aacead34..df84a4e1 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Represents the metadata of the long-running operation. Output only.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.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.domains.v1alpha2.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,15 +28,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,71 +56,63 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusDetail_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusDetail_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -145,39 +120,34 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.OperationMetadata.class, - com.google.cloud.domains.v1alpha2.OperationMetadata.Builder.class); + com.google.cloud.domains.v1alpha2.OperationMetadata.class, com.google.cloud.domains.v1alpha2.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -185,14 +155,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -200,8 +167,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -216,14 +181,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -231,14 +193,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -246,8 +205,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -262,14 +219,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ @java.lang.Override @@ -278,29 +232,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; } } /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @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 { @@ -311,14 +265,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ @java.lang.Override @@ -327,29 +278,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; } } /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @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 { @@ -360,14 +311,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int STATUS_DETAIL_FIELD_NUMBER = 5; private volatile java.lang.Object statusDetail_; /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ @java.lang.Override @@ -376,29 +324,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -409,14 +357,11 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { public static final int API_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object apiVersion_; /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @return The apiVersion. */ @java.lang.Override @@ -425,29 +370,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; } } /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @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 { @@ -456,7 +401,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,7 +412,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -497,10 +442,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_); @@ -522,26 +469,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1alpha2.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.OperationMetadata other = - (com.google.cloud.domains.v1alpha2.OperationMetadata) obj; + com.google.cloud.domains.v1alpha2.OperationMetadata other = (com.google.cloud.domains.v1alpha2.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 (!getStatusDetail().equals(other.getStatusDetail())) 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 (!getStatusDetail() + .equals(other.getStatusDetail())) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -575,126 +527,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.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.domains.v1alpha2.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.domains.v1alpha2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.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.domains.v1alpha2.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.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.domains.v1alpha2.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.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.domains.v1alpha2.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.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.domains.v1alpha2.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.domains.v1alpha2.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.domains.v1alpha2.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. Output only.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.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.domains.v1alpha2.OperationMetadata) com.google.cloud.domains.v1alpha2.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.OperationMetadata.class, - com.google.cloud.domains.v1alpha2.OperationMetadata.Builder.class); + com.google.cloud.domains.v1alpha2.OperationMetadata.class, com.google.cloud.domains.v1alpha2.OperationMetadata.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.OperationMetadata.newBuilder() @@ -702,15 +645,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -738,9 +682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; } @java.lang.Override @@ -759,8 +703,7 @@ public com.google.cloud.domains.v1alpha2.OperationMetadata build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.OperationMetadata buildPartial() { - com.google.cloud.domains.v1alpha2.OperationMetadata result = - new com.google.cloud.domains.v1alpha2.OperationMetadata(this); + com.google.cloud.domains.v1alpha2.OperationMetadata result = new com.google.cloud.domains.v1alpha2.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -783,39 +726,38 @@ public com.google.cloud.domains.v1alpha2.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.OperationMetadata) { - return mergeFrom((com.google.cloud.domains.v1alpha2.OperationMetadata) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -823,8 +765,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.OperationMetadata other) { - if (other == com.google.cloud.domains.v1alpha2.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -866,8 +807,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -879,47 +819,34 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time the operation was created.
      * 
@@ -940,15 +867,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -959,8 +885,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -971,7 +895,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -983,8 +907,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1003,8 +925,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1012,13 +932,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation was created.
      * 
@@ -1029,14 +947,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time the operation was created.
      * 
@@ -1044,17 +959,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1062,33 +974,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_; /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1099,8 +1002,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1121,15 +1022,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1140,8 +1040,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1152,7 +1050,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1164,8 +1062,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1184,8 +1080,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1193,13 +1087,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1210,12 +1102,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1223,17 +1114,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1241,20 +1129,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @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; @@ -1263,21 +1149,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @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 { @@ -1285,61 +1170,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1347,20 +1225,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @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; @@ -1369,21 +1245,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @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 { @@ -1391,61 +1266,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1453,20 +1321,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusDetail_ = ""; /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1475,21 +1341,20 @@ public java.lang.String getStatusDetail() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1497,61 +1362,54 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail(java.lang.String value) { + public Builder setStatusDetail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return This builder for chaining. */ public Builder clearStatusDetail() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { + public Builder setStatusDetailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; @@ -1559,20 +1417,18 @@ public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @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; @@ -1581,21 +1437,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @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 { @@ -1603,68 +1458,61 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1674,12 +1522,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.OperationMetadata) private static final com.google.cloud.domains.v1alpha2.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.OperationMetadata(); } @@ -1688,16 +1536,16 @@ public static com.google.cloud.domains.v1alpha2.OperationMetadata getDefaultInst 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1712,4 +1560,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java similarity index 74% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java index a608c30e..3a0e23b9 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
@@ -59,32 +35,24 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
@@ -94,102 +62,82 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString getStatusDetailBytes(); + com.google.protobuf.ByteString + getStatusDetailBytes(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java similarity index 75% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java index a566a92f..d302b6a8 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `RegisterDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RegisterDomainRequest} */ -public final class RegisterDomainRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RegisterDomainRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RegisterDomainRequest) RegisterDomainRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RegisterDomainRequest.newBuilder() to construct. private RegisterDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RegisterDomainRequest() { parent_ = ""; domainNotices_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private RegisterDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RegisterDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RegisterDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,105 +56,96 @@ private RegisterDomainRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = input.readMessage(com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = - input.readMessage( - com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + domainNotices_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } domainNotices_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - domainNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 32: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 32: - { + contactNotices_.add(rawValue); + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } contactNotices_.add(rawValue); - break; - } - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - contactNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; } - case 42: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + input.popLimit(oldLimit); + break; + } + case 42: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 48: - { - validateOnly_ = input.readBool(); - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 48: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -179,7 +153,8 @@ private RegisterDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = java.util.Collections.unmodifiableList(domainNotices_); @@ -191,36 +166,28 @@ private RegisterDomainRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, - com.google.cloud.domains.v1alpha2.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, com.google.cloud.domains.v1alpha2.RegisterDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -229,32 +196,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -265,16 +230,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.Registration registration_; /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ @java.lang.Override @@ -282,34 +242,23 @@ public boolean hasRegistration() { return registration_ != null; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.Registration getRegistration() { - return registration_ == null - ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -319,47 +268,36 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr public static final int DOMAIN_NOTICES_FIELD_NUMBER = 3; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice> - domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice> domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>() { public com.google.cloud.domains.v1alpha2.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DomainNotice result = - com.google.cloud.domains.v1alpha2.DomainNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1alpha2.DomainNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.DomainNotice result = com.google.cloud.domains.v1alpha2.DomainNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1alpha2.DomainNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @return The count of domainNotices. */ @java.lang.Override @@ -367,15 +305,12 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -384,31 +319,26 @@ public com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return domainNotices_; } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -416,28 +346,21 @@ public java.util.List getDomainNoticesValueList() { public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } - private int domainNoticesMemoizedSerializedSize; public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> - contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>() { public com.google.cloud.domains.v1alpha2.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactNotice result = - com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.ContactNotice result = com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -445,18 +368,14 @@ public com.google.cloud.domains.v1alpha2.ContactNotice convert(java.lang.Integer
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -464,7 +383,6 @@ public java.util.List getContac
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ @java.lang.Override @@ -472,8 +390,6 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -481,7 +397,6 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -490,8 +405,6 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -499,16 +412,14 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return contactNotices_; } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -516,7 +427,6 @@ public java.util.List getContactNoticesValueList() {
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -524,14 +434,11 @@ public java.util.List getContactNoticesValueList() { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } - private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -539,7 +446,6 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -547,8 +453,6 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -556,7 +460,6 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ @java.lang.Override @@ -564,8 +467,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -582,8 +483,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
-   *
-   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -591,7 +490,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -600,7 +498,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -612,7 +509,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -653,39 +551,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }domainNoticesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getYearlyPrice()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -695,26 +594,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.domains.v1alpha2.RegisterDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RegisterDomainRequest other = - (com.google.cloud.domains.v1alpha2.RegisterDomainRequest) obj; + com.google.cloud.domains.v1alpha2.RegisterDomainRequest other = (com.google.cloud.domains.v1alpha2.RegisterDomainRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; } if (!domainNotices_.equals(other.domainNotices_)) return false; if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -745,134 +647,125 @@ public int hashCode() { hash = (53 * hash) + getYearlyPrice().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RegisterDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RegisterDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RegisterDomainRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RegisterDomainRequest) com.google.cloud.domains.v1alpha2.RegisterDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, - com.google.cloud.domains.v1alpha2.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, com.google.cloud.domains.v1alpha2.RegisterDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.RegisterDomainRequest.newBuilder() @@ -880,15 +773,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -916,9 +810,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; } @java.lang.Override @@ -937,8 +831,7 @@ public com.google.cloud.domains.v1alpha2.RegisterDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterDomainRequest buildPartial() { - com.google.cloud.domains.v1alpha2.RegisterDomainRequest result = - new com.google.cloud.domains.v1alpha2.RegisterDomainRequest(this); + com.google.cloud.domains.v1alpha2.RegisterDomainRequest result = new com.google.cloud.domains.v1alpha2.RegisterDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -970,39 +863,38 @@ public com.google.cloud.domains.v1alpha2.RegisterDomainRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RegisterDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.RegisterDomainRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.RegisterDomainRequest)other); } else { super.mergeFrom(other); return this; @@ -1010,8 +902,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RegisterDomainRequest other) { - if (other == com.google.cloud.domains.v1alpha2.RegisterDomainRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.RegisterDomainRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1064,8 +955,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.RegisterDomainRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.RegisterDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1074,28 +964,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -1104,24 +989,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -1129,70 +1011,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1200,58 +1069,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1alpha2.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> - registrationBuilder_; + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> registrationBuilder_; /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ public com.google.cloud.domains.v1alpha2.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null - ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; } else { return registrationBuilder_.getMessage(); } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration value) { if (registrationBuilder_ == null) { @@ -1267,15 +1117,11 @@ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration va return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration( com.google.cloud.domains.v1alpha2.Registration.Builder builderForValue) { @@ -1289,23 +1135,17 @@ public Builder setRegistration( return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); } else { registration_ = value; } @@ -1317,15 +1157,11 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1339,71 +1175,55 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null - ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? + com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( - getRegistration(), getParentForChildren(), isClean()); + registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( + getRegistration(), + getParentForChildren(), + isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List domainNotices_ = java.util.Collections.emptyList(); - + private java.util.List domainNotices_ = + java.util.Collections.emptyList(); private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1411,47 +1231,37 @@ private void ensureDomainNoticesIsMutable() { } } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1459,15 +1269,12 @@ public com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. @@ -1483,15 +1290,12 @@ public Builder setDomainNotices( return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1505,15 +1309,12 @@ public Builder addDomainNotices(com.google.cloud.domains.v1alpha2.DomainNotice v return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1527,15 +1328,12 @@ public Builder addAllDomainNotices( return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1545,30 +1343,25 @@ public Builder clearDomainNotices() { return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1576,35 +1369,30 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue(int index, int value) { + public Builder setDomainNoticesValue( + int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1615,19 +1403,17 @@ public Builder addDomainNoticesValue(int value) { return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue(java.lang.Iterable values) { + public Builder addAllDomainNoticesValue( + java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1636,8 +1422,8 @@ public Builder addAllDomainNoticesValue(java.lang.Iterable va return this; } - private java.util.List contactNotices_ = java.util.Collections.emptyList(); - + private java.util.List contactNotices_ = + java.util.Collections.emptyList(); private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1645,8 +1431,6 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1654,17 +1438,13 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1672,15 +1452,12 @@ public java.util.List getContac
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1688,7 +1465,6 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1696,8 +1472,6 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1705,7 +1479,6 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1721,8 +1494,6 @@ public Builder setContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1730,7 +1501,6 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1744,8 +1514,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1753,7 +1521,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1767,8 +1534,6 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1776,7 +1541,6 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1786,8 +1550,6 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1795,15 +1557,13 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1811,7 +1571,6 @@ public java.util.List getContactNoticesValueList() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1819,8 +1578,6 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1828,20 +1585,18 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue(int index, int value) { + public Builder setContactNoticesValue( + int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1849,7 +1604,6 @@ public Builder setContactNoticesValue(int index, int value) {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1860,8 +1614,6 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1869,11 +1621,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue(java.lang.Iterable values) { + public Builder addAllContactNoticesValue( + java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1884,11 +1636,8 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1896,15 +1645,12 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1912,7 +1658,6 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1923,8 +1668,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1947,8 +1690,6 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1957,7 +1698,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(
+        com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1968,8 +1710,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1982,7 +1722,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1994,8 +1734,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2016,8 +1754,6 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2027,13 +1763,11 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-
+      
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2046,12 +1780,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ?
+            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2061,24 +1794,21 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Money,
-                com.google.type.Money.Builder,
-                com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(), getParentForChildren(), isClean());
+        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(),
+                getParentForChildren(),
+                isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
     }
 
-    private boolean validateOnly_;
+    private boolean validateOnly_ ;
     /**
-     *
-     *
      * 
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -2086,7 +1816,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -2094,8 +1823,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -2103,19 +1830,16 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -2123,18 +1847,17 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2144,12 +1867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RegisterDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RegisterDomainRequest) private static final com.google.cloud.domains.v1alpha2.RegisterDomainRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RegisterDomainRequest(); } @@ -2158,16 +1881,16 @@ public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2182,4 +1905,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.RegisterDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java index 057d612d..8b012ad1 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java @@ -1,171 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RegisterDomainRequestOrBuilder - extends +public interface RegisterDomainRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RegisterDomainRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ boolean hasRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ com.google.cloud.domains.v1alpha2.Registration getRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List getDomainNoticesValueList(); + java.util.List + getDomainNoticesValueList(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -173,13 +118,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -187,13 +129,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ int getContactNoticesCount(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -201,14 +140,11 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int index); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -216,13 +152,11 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List getContactNoticesValueList(); + java.util.List + getContactNoticesValueList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -230,15 +164,12 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -246,13 +177,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -260,13 +188,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -278,8 +203,6 @@ public interface RegisterDomainRequestOrBuilder
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
-   *
-   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -287,7 +210,6 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java similarity index 76% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java index 484df57c..1a16db85 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Parameters required to register a new domain.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RegisterParameters} */ -public final class RegisterParameters extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RegisterParameters extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RegisterParameters) RegisterParametersOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RegisterParameters.newBuilder() to construct. private RegisterParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RegisterParameters() { domainName_ = ""; availability_ = 0; @@ -46,15 +28,16 @@ private RegisterParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RegisterParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RegisterParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,91 +57,84 @@ private RegisterParameters( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + domainName_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - availability_ = rawValue; - break; + availability_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + supportedPrivacy_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } supportedPrivacy_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - supportedPrivacy_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 32: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 32: - { + domainNotices_.add(rawValue); + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } domainNotices_.add(rawValue); - break; } - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - domainNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 42: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 42: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -166,7 +142,8 @@ private RegisterParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = java.util.Collections.unmodifiableList(supportedPrivacy_); @@ -178,35 +155,29 @@ private RegisterParameters( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RegisterParameters.class, - com.google.cloud.domains.v1alpha2.RegisterParameters.Builder.class); + com.google.cloud.domains.v1alpha2.RegisterParameters.class, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder.class); } /** - * - * *
    * Possible availability states of a domain name.
    * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.RegisterParameters.Availability} */ - public enum Availability implements com.google.protobuf.ProtocolMessageEnum { + public enum Availability + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The availability is unspecified.
      * 
@@ -215,8 +186,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ AVAILABILITY_UNSPECIFIED(0), /** - * - * *
      * The domain is available for registration.
      * 
@@ -225,8 +194,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ AVAILABLE(1), /** - * - * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -236,8 +203,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNAVAILABLE(2),
     /**
-     *
-     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -247,8 +212,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNSUPPORTED(3),
     /**
-     *
-     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -261,8 +224,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The availability is unspecified.
      * 
@@ -271,8 +232,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABILITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is available for registration.
      * 
@@ -281,8 +240,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABLE_VALUE = 1; /** - * - * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -292,8 +249,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNAVAILABLE_VALUE = 2;
     /**
-     *
-     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -303,8 +258,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNSUPPORTED_VALUE = 3;
     /**
-     *
-     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -314,6 +267,7 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -338,55 +292,51 @@ public static Availability valueOf(int value) {
      */
     public static Availability forNumber(int value) {
       switch (value) {
-        case 0:
-          return AVAILABILITY_UNSPECIFIED;
-        case 1:
-          return AVAILABLE;
-        case 2:
-          return UNAVAILABLE;
-        case 3:
-          return UNSUPPORTED;
-        case 4:
-          return UNKNOWN;
-        default:
-          return null;
+        case 0: return AVAILABILITY_UNSPECIFIED;
+        case 1: return AVAILABLE;
+        case 2: return UNAVAILABLE;
+        case 3: return UNSUPPORTED;
+        case 4: return UNKNOWN;
+        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<
+        Availability> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Availability findValueByNumber(int number) {
+              return Availability.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Availability findValueByNumber(int number) {
-            return Availability.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.domains.v1alpha2.RegisterParameters.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.RegisterParameters.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Availability[] VALUES = values();
 
-    public static Availability valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Availability 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;
@@ -406,14 +356,11 @@ private Availability(int value) {
   public static final int DOMAIN_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object domainName_;
   /**
-   *
-   *
    * 
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ @java.lang.Override @@ -422,29 +369,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -455,8 +402,6 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int AVAILABILITY_FIELD_NUMBER = 2; private int availability_; /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -464,16 +409,12 @@ public com.google.protobuf.ByteString getDomainNameBytes() {
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; - * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override - public int getAvailabilityValue() { + @java.lang.Override public int getAvailabilityValue() { return availability_; } /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -481,63 +422,45 @@ public int getAvailabilityValue() {
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; - * * @return The availability. */ - @java.lang.Override - public com.google.cloud.domains.v1alpha2.RegisterParameters.Availability getAvailability() { + @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.RegisterParameters.Availability result = - com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.valueOf(availability_); - return result == null - ? com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.RegisterParameters.Availability result = com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.valueOf(availability_); + return result == null ? com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.UNRECOGNIZED : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 3; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> - supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>() { - public com.google.cloud.domains.v1alpha2.ContactPrivacy convert( - java.lang.Integer from) { + public com.google.cloud.domains.v1alpha2.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactPrivacy result = - com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); - return result == null - ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.ContactPrivacy result = com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); + return result == null ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED : result; } }; /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @return A list containing the supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyList() { + public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -545,14 +468,11 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -561,29 +481,24 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return supportedPrivacy_; } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -591,51 +506,39 @@ public java.util.List getSupportedPrivacyValueList() { public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } - private int supportedPrivacyMemoizedSerializedSize; public static final int DOMAIN_NOTICES_FIELD_NUMBER = 4; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice> - domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice> domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>() { public com.google.cloud.domains.v1alpha2.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DomainNotice result = - com.google.cloud.domains.v1alpha2.DomainNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1alpha2.DomainNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.DomainNotice result = com.google.cloud.domains.v1alpha2.DomainNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1alpha2.DomainNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @return The count of domainNotices. */ @java.lang.Override @@ -643,14 +546,11 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -659,29 +559,24 @@ public com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return domainNotices_; } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -689,20 +584,16 @@ public java.util.List getDomainNoticesValueList() { public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } - private int domainNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -710,14 +601,11 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return The yearlyPrice. */ @java.lang.Override @@ -725,8 +613,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Price to register or renew the domain for one year.
    * 
@@ -739,7 +625,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -751,15 +636,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } - if (availability_ - != com.google.cloud.domains.v1alpha2.RegisterParameters.Availability - .AVAILABILITY_UNSPECIFIED - .getNumber()) { + if (availability_ != com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { output.writeEnum(2, availability_); } if (getSupportedPrivacyList().size() > 0) { @@ -791,40 +674,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domainName_); } - if (availability_ - != com.google.cloud.domains.v1alpha2.RegisterParameters.Availability - .AVAILABILITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, availability_); + if (availability_ != com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, availability_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedPrivacyMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }domainNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -834,21 +714,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.domains.v1alpha2.RegisterParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RegisterParameters other = - (com.google.cloud.domains.v1alpha2.RegisterParameters) obj; + com.google.cloud.domains.v1alpha2.RegisterParameters other = (com.google.cloud.domains.v1alpha2.RegisterParameters) obj; - if (!getDomainName().equals(other.getDomainName())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; if (availability_ != other.availability_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!domainNotices_.equals(other.domainNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -883,126 +764,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RegisterParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters required to register a new domain.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RegisterParameters} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RegisterParameters) com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RegisterParameters.class, - com.google.cloud.domains.v1alpha2.RegisterParameters.Builder.class); + com.google.cloud.domains.v1alpha2.RegisterParameters.class, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.RegisterParameters.newBuilder() @@ -1010,15 +882,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1040,9 +913,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; } @java.lang.Override @@ -1061,8 +934,7 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterParameters buildPartial() { - com.google.cloud.domains.v1alpha2.RegisterParameters result = - new com.google.cloud.domains.v1alpha2.RegisterParameters(this); + com.google.cloud.domains.v1alpha2.RegisterParameters result = new com.google.cloud.domains.v1alpha2.RegisterParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.availability_ = availability_; @@ -1089,39 +961,38 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RegisterParameters) { - return mergeFrom((com.google.cloud.domains.v1alpha2.RegisterParameters) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.RegisterParameters)other); } else { super.mergeFrom(other); return this; @@ -1129,8 +1000,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RegisterParameters other) { - if (other == com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -1180,8 +1050,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.RegisterParameters) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.RegisterParameters) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1190,25 +1059,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object domainName_ = ""; /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -1217,21 +1083,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -1239,61 +1104,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -1301,8 +1159,6 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private int availability_ = 0; /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1310,16 +1166,12 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; - * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override - public int getAvailabilityValue() { + @java.lang.Override public int getAvailabilityValue() { return availability_; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1327,19 +1179,16 @@ public int getAvailabilityValue() {
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; - * * @param value The enum numeric value on the wire for availability to set. * @return This builder for chaining. */ public Builder setAvailabilityValue(int value) { - + availability_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1347,21 +1196,15 @@ public Builder setAvailabilityValue(int value) {
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; - * * @return The availability. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.RegisterParameters.Availability result = - com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.valueOf(availability_); - return result == null - ? com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.RegisterParameters.Availability result = com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.valueOf(availability_); + return result == null ? com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1369,23 +1212,19 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters.Availability getAvai
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; - * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability( - com.google.cloud.domains.v1alpha2.RegisterParameters.Availability value) { + public Builder setAvailability(com.google.cloud.domains.v1alpha2.RegisterParameters.Availability value) { if (value == null) { throw new NullPointerException(); } - + availability_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1393,18 +1232,17 @@ public Builder setAvailability(
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; - * * @return This builder for chaining. */ public Builder clearAvailability() { - + availability_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); - + private java.util.List supportedPrivacy_ = + java.util.Collections.emptyList(); private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1412,45 +1250,34 @@ private void ensureSupportedPrivacyIsMutable() { } } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @return A list containing the supportedPrivacy. */ - public java.util.List - getSupportedPrivacyList() { + public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1458,14 +1285,11 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1481,14 +1305,11 @@ public Builder setSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1502,14 +1323,11 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1alpha2.ContactPriv return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1523,14 +1341,11 @@ public Builder addAllSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1540,28 +1355,23 @@ public Builder clearSupportedPrivacy() { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1569,33 +1379,28 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue(int index, int value) { + public Builder setSupportedPrivacyValue( + int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1606,18 +1411,16 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue( + java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1626,8 +1429,8 @@ public Builder addAllSupportedPrivacyValue(java.lang.Iterable return this; } - private java.util.List domainNotices_ = java.util.Collections.emptyList(); - + private java.util.List domainNotices_ = + java.util.Collections.emptyList(); private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1635,44 +1438,34 @@ private void ensureDomainNoticesIsMutable() { } } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1680,14 +1473,11 @@ public com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. @@ -1703,14 +1493,11 @@ public Builder setDomainNotices( return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1724,14 +1511,11 @@ public Builder addDomainNotices(com.google.cloud.domains.v1alpha2.DomainNotice v return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1745,14 +1529,11 @@ public Builder addAllDomainNotices( return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1762,28 +1543,23 @@ public Builder clearDomainNotices() { return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1791,33 +1567,28 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue(int index, int value) { + public Builder setDomainNoticesValue( + int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1828,18 +1599,16 @@ public Builder addDomainNoticesValue(int value) { return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue(java.lang.Iterable values) { + public Builder addAllDomainNoticesValue( + java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1850,31 +1619,24 @@ public Builder addAllDomainNoticesValue(java.lang.Iterable va private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1885,8 +1647,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1907,15 +1667,14 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; */ - public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice( + com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1926,8 +1685,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1938,7 +1695,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1950,8 +1707,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1970,8 +1725,6 @@ public Builder clearYearlyPrice() { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1979,13 +1732,11 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 5; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1996,12 +1747,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? + com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -2009,22 +1759,21 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - getYearlyPrice(), getParentForChildren(), isClean()); + yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + getYearlyPrice(), + getParentForChildren(), + isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2034,12 +1783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RegisterParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RegisterParameters) private static final com.google.cloud.domains.v1alpha2.RegisterParameters DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RegisterParameters(); } @@ -2048,16 +1797,16 @@ public static com.google.cloud.domains.v1alpha2.RegisterParameters getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2072,4 +1821,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.RegisterParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java similarity index 83% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java index 86c0be57..c699f9e5 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RegisterParametersOrBuilder - extends +public interface RegisterParametersOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RegisterParameters) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -58,13 +35,10 @@ public interface RegisterParametersOrBuilder
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; - * * @return The enum numeric value on the wire for availability. */ int getAvailabilityValue(); /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -72,164 +46,127 @@ public interface RegisterParametersOrBuilder
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; - * * @return The availability. */ com.google.cloud.domains.v1alpha2.RegisterParameters.Availability getAvailability(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int index); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List getSupportedPrivacyValueList(); + java.util.List + getSupportedPrivacyValueList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List getDomainNoticesValueList(); + java.util.List + getDomainNoticesValueList(); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Price to register or renew the domain for one year.
    * 
diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java similarity index 68% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java index 303512b6..405f9830 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * The `Registration` resource facilitates managing and configuring domain name
  * registrations.
@@ -39,16 +22,15 @@
  *
  * Protobuf type {@code google.cloud.domains.v1alpha2.Registration}
  */
-public final class Registration extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Registration extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.Registration)
     RegistrationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Registration.newBuilder() to construct.
   private Registration(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Registration() {
     name_ = "";
     domainName_ = "";
@@ -59,15 +41,16 @@ private Registration() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Registration();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Registration(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -87,194 +70,168 @@ private Registration(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              domainName_ = s;
-              break;
+            domainName_ = s;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (expireTime_ != null) {
-                subBuilder = expireTime_.toBuilder();
-              }
-              expireTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(expireTime_);
-                expireTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (expireTime_ != null) {
+              subBuilder = expireTime_.toBuilder();
+            }
+            expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(expireTime_);
+              expireTime_ = subBuilder.buildPartial();
             }
-          case 56:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 64: {
+            int rawValue = input.readEnum();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              issues_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 64:
-            {
+            issues_.add(rawValue);
+            break;
+          }
+          case 66: {
+            int length = input.readRawVarint32();
+            int oldLimit = input.pushLimit(length);
+            while(input.getBytesUntilLimit() > 0) {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                 issues_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000001;
               }
               issues_.add(rawValue);
-              break;
             }
-          case 66:
-            {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while (input.getBytesUntilLimit() > 0) {
-                int rawValue = input.readEnum();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  issues_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                issues_.add(rawValue);
-              }
-              input.popLimit(oldLimit);
-              break;
+            input.popLimit(oldLimit);
+            break;
+          }
+          case 74: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 74:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 82: {
+            com.google.cloud.domains.v1alpha2.ManagementSettings.Builder subBuilder = null;
+            if (managementSettings_ != null) {
+              subBuilder = managementSettings_.toBuilder();
+            }
+            managementSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.ManagementSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(managementSettings_);
+              managementSettings_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              com.google.cloud.domains.v1alpha2.ManagementSettings.Builder subBuilder = null;
-              if (managementSettings_ != null) {
-                subBuilder = managementSettings_.toBuilder();
-              }
-              managementSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1alpha2.ManagementSettings.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(managementSettings_);
-                managementSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 90: {
+            com.google.cloud.domains.v1alpha2.DnsSettings.Builder subBuilder = null;
+            if (dnsSettings_ != null) {
+              subBuilder = dnsSettings_.toBuilder();
+            }
+            dnsSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(dnsSettings_);
+              dnsSettings_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.cloud.domains.v1alpha2.DnsSettings.Builder subBuilder = null;
-              if (dnsSettings_ != null) {
-                subBuilder = dnsSettings_.toBuilder();
-              }
-              dnsSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1alpha2.DnsSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(dnsSettings_);
-                dnsSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 98: {
+            com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null;
+            if (contactSettings_ != null) {
+              subBuilder = contactSettings_.toBuilder();
+            }
+            contactSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(contactSettings_);
+              contactSettings_ = subBuilder.buildPartial();
             }
-          case 98:
-            {
-              com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null;
-              if (contactSettings_ != null) {
-                subBuilder = contactSettings_.toBuilder();
-              }
-              contactSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1alpha2.ContactSettings.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(contactSettings_);
-                contactSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 106: {
+            com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null;
+            if (pendingContactSettings_ != null) {
+              subBuilder = pendingContactSettings_.toBuilder();
+            }
+            pendingContactSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(pendingContactSettings_);
+              pendingContactSettings_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null;
-              if (pendingContactSettings_ != null) {
-                subBuilder = pendingContactSettings_.toBuilder();
-              }
-              pendingContactSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1alpha2.ContactSettings.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(pendingContactSettings_);
-                pendingContactSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 112: {
+            int rawValue = input.readEnum();
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              supportedPrivacy_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 112:
-            {
+            supportedPrivacy_.add(rawValue);
+            break;
+          }
+          case 114: {
+            int length = input.readRawVarint32();
+            int oldLimit = input.pushLimit(length);
+            while(input.getBytesUntilLimit() > 0) {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                 supportedPrivacy_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000004;
               }
               supportedPrivacy_.add(rawValue);
-              break;
-            }
-          case 114:
-            {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while (input.getBytesUntilLimit() > 0) {
-                int rawValue = input.readEnum();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  supportedPrivacy_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                supportedPrivacy_.add(rawValue);
-              }
-              input.popLimit(oldLimit);
-              break;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            input.popLimit(oldLimit);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -282,7 +239,8 @@ private Registration(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         issues_ = java.util.Collections.unmodifiableList(issues_);
@@ -294,46 +252,41 @@ private Registration(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.domains.v1alpha2.DomainsProto
-        .internal_static_google_cloud_domains_v1alpha2_Registration_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_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 9:
         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.domains.v1alpha2.DomainsProto
-        .internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable
+    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1alpha2.Registration.class,
-            com.google.cloud.domains.v1alpha2.Registration.Builder.class);
+            com.google.cloud.domains.v1alpha2.Registration.class, com.google.cloud.domains.v1alpha2.Registration.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.Registration.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is undefined.
      * 
@@ -342,8 +295,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The domain is being registered.
      * 
@@ -352,8 +303,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ REGISTRATION_PENDING(1), /** - * - * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -363,8 +312,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     REGISTRATION_FAILED(2),
     /**
-     *
-     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -373,8 +320,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_PENDING(3), /** - * - * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -385,8 +330,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     TRANSFER_FAILED(4),
     /**
-     *
-     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -396,8 +339,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ACTIVE(6),
     /**
-     *
-     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -407,8 +348,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUSPENDED(7),
     /**
-     *
-     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -424,8 +363,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state is undefined.
      * 
@@ -434,8 +371,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is being registered.
      * 
@@ -444,8 +379,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REGISTRATION_PENDING_VALUE = 1; /** - * - * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -455,8 +388,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REGISTRATION_FAILED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -465,8 +396,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSFER_PENDING_VALUE = 3; /** - * - * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -477,8 +406,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TRANSFER_FAILED_VALUE = 4;
     /**
-     *
-     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -488,8 +415,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ACTIVE_VALUE = 6;
     /**
-     *
-     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -499,8 +424,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUSPENDED_VALUE = 7;
     /**
-     *
-     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -513,6 +436,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int EXPORTED_VALUE = 8;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -537,59 +461,54 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return REGISTRATION_PENDING;
-        case 2:
-          return REGISTRATION_FAILED;
-        case 3:
-          return TRANSFER_PENDING;
-        case 4:
-          return TRANSFER_FAILED;
-        case 6:
-          return ACTIVE;
-        case 7:
-          return SUSPENDED;
-        case 8:
-          return EXPORTED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return REGISTRATION_PENDING;
+        case 2: return REGISTRATION_FAILED;
+        case 3: return TRANSFER_PENDING;
+        case 4: return TRANSFER_FAILED;
+        case 6: return ACTIVE;
+        case 7: return SUSPENDED;
+        case 8: return EXPORTED;
+        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.domains.v1alpha2.Registration.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;
@@ -607,18 +526,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Possible issues with a `Registration` that require attention.
    * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.Registration.Issue} */ - public enum Issue implements com.google.protobuf.ProtocolMessageEnum { + public enum Issue + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The issue is undefined.
      * 
@@ -627,8 +543,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ ISSUE_UNSPECIFIED(0), /** - * - * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -637,8 +551,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ CONTACT_SUPPORT(1), /** - * - * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -657,8 +569,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The issue is undefined.
      * 
@@ -667,8 +577,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ISSUE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -677,8 +585,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTACT_SUPPORT_VALUE = 1; /** - * - * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -694,6 +600,7 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNVERIFIED_EMAIL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -718,49 +625,49 @@ public static Issue valueOf(int value) {
      */
     public static Issue forNumber(int value) {
       switch (value) {
-        case 0:
-          return ISSUE_UNSPECIFIED;
-        case 1:
-          return CONTACT_SUPPORT;
-        case 2:
-          return UNVERIFIED_EMAIL;
-        default:
-          return null;
+        case 0: return ISSUE_UNSPECIFIED;
+        case 1: return CONTACT_SUPPORT;
+        case 2: return UNVERIFIED_EMAIL;
+        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<
+        Issue> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Issue findValueByNumber(int number) {
+              return Issue.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Issue findValueByNumber(int number) {
-            return Issue.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.domains.v1alpha2.Registration.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Issue[] VALUES = values();
 
-    public static Issue valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Issue 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;
@@ -780,15 +687,12 @@ private Issue(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -797,30 +701,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 `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * 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 { @@ -831,16 +735,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DOMAIN_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object domainName_; /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The domainName. */ @java.lang.Override @@ -849,31 +748,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -884,15 +781,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -900,15 +793,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -916,14 +805,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -933,15 +819,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -949,15 +831,11 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -965,14 +843,11 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -982,92 +857,61 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 7; private int state_; /** - * - * *
    * Output only. The state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.Registration.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 state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.domains.v1alpha2.Registration.State getState() { + @java.lang.Override public com.google.cloud.domains.v1alpha2.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.Registration.State result = - com.google.cloud.domains.v1alpha2.Registration.State.valueOf(state_); - return result == null - ? com.google.cloud.domains.v1alpha2.Registration.State.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.Registration.State result = com.google.cloud.domains.v1alpha2.Registration.State.valueOf(state_); + return result == null ? com.google.cloud.domains.v1alpha2.Registration.State.UNRECOGNIZED : result; } public static final int ISSUES_FIELD_NUMBER = 8; private java.util.List issues_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue> - issues_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue> issues_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue>() { - public com.google.cloud.domains.v1alpha2.Registration.Issue convert( - java.lang.Integer from) { + public com.google.cloud.domains.v1alpha2.Registration.Issue convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.Registration.Issue result = - com.google.cloud.domains.v1alpha2.Registration.Issue.valueOf(from); - return result == null - ? com.google.cloud.domains.v1alpha2.Registration.Issue.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.Registration.Issue result = com.google.cloud.domains.v1alpha2.Registration.Issue.valueOf(from); + return result == null ? com.google.cloud.domains.v1alpha2.Registration.Issue.UNRECOGNIZED : result; } }; /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the issues. */ @java.lang.Override public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue>( - issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue>(issues_, issues_converter_); } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of issues. */ @java.lang.Override @@ -1075,16 +919,11 @@ public int getIssuesCount() { return issues_.size(); } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The issues at the given index. */ @@ -1093,33 +932,24 @@ public com.google.cloud.domains.v1alpha2.Registration.Issue getIssues(int index) return issues_converter_.convert(issues_.get(index)); } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for issues. */ @java.lang.Override - public java.util.List getIssuesValueList() { + public java.util.List + getIssuesValueList() { return issues_; } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -1127,27 +957,27 @@ public java.util.List getIssuesValueList() { public int getIssuesValue(int index) { return issues_.get(index); } - private int issuesMemoizedSerializedSize; public static final int LABELS_FIELD_NUMBER = 9; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1156,30 +986,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ + @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(); } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1187,12 +1015,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1200,16 +1027,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1217,11 +1044,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 9; */ @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(); } @@ -1231,8 +1059,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 10; private com.google.cloud.domains.v1alpha2.ManagementSettings managementSettings_; /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1241,7 +1067,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; - * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -1249,8 +1074,6 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1259,18 +1082,13 @@ public boolean hasManagementSettings() {
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; - * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings() { - return managementSettings_ == null - ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_; } /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1281,16 +1099,13 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSetting
    * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder
-      getManagementSettingsOrBuilder() {
+  public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() {
     return getManagementSettings();
   }
 
   public static final int DNS_SETTINGS_FIELD_NUMBER = 11;
   private com.google.cloud.domains.v1alpha2.DnsSettings dnsSettings_;
   /**
-   *
-   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1298,7 +1113,6 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSetting
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; - * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -1306,8 +1120,6 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1315,18 +1127,13 @@ public boolean hasDnsSettings() {
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; - * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings() { - return dnsSettings_ == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_; } /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1343,18 +1150,13 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
   public static final int CONTACT_SETTINGS_FIELD_NUMBER = 12;
   private com.google.cloud.domains.v1alpha2.ContactSettings contactSettings_;
   /**
-   *
-   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -1362,38 +1164,27 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings() { - return contactSettings_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; } /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSettingsOrBuilder() { @@ -1403,8 +1194,6 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSett public static final int PENDING_CONTACT_SETTINGS_FIELD_NUMBER = 13; private com.google.cloud.domains.v1alpha2.ContactSettings pendingContactSettings_; /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1415,10 +1204,7 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSett
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pendingContactSettings field is set. */ @java.lang.Override @@ -1426,8 +1212,6 @@ public boolean hasPendingContactSettings() { return pendingContactSettings_ != null; } /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1438,21 +1222,14 @@ public boolean hasPendingContactSettings() {
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pendingContactSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings getPendingContactSettings() { - return pendingContactSettings_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() - : pendingContactSettings_; + return pendingContactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : pendingContactSettings_; } /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1463,66 +1240,46 @@ public com.google.cloud.domains.v1alpha2.ContactSettings getPendingContactSettin
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder - getPendingContactSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { return getPendingContactSettings(); } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 14; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> - supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>() { - public com.google.cloud.domains.v1alpha2.ContactPrivacy convert( - java.lang.Integer from) { + public com.google.cloud.domains.v1alpha2.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactPrivacy result = - com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); - return result == null - ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.ContactPrivacy result = com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); + return result == null ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED : result; } }; /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyList() { + public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of supportedPrivacy. */ @java.lang.Override @@ -1530,17 +1287,12 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1549,35 +1301,26 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return supportedPrivacy_; } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1585,11 +1328,9 @@ public java.util.List getSupportedPrivacyValueList() { public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } - private int supportedPrivacyMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1601,7 +1342,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -1615,8 +1357,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (expireTime_ != null) { output.writeMessage(6, getExpireTime()); } - if (state_ - != com.google.cloud.domains.v1alpha2.Registration.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.domains.v1alpha2.Registration.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } if (getIssuesList().size() > 0) { @@ -1626,8 +1367,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < issues_.size(); i++) { output.writeEnumNoTag(issues_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 9); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 9); if (managementSettings_ != null) { output.writeMessage(10, getManagementSettings()); } @@ -1663,62 +1408,66 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domainName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getExpireTime()); } - if (state_ - != com.google.cloud.domains.v1alpha2.Registration.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + if (state_ != com.google.cloud.domains.v1alpha2.Registration.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } { int dataSize = 0; for (int i = 0; i < issues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(issues_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(issues_.get(i)); } size += dataSize; - if (!getIssuesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - issuesMemoizedSerializedSize = dataSize; - } - 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(9, labels__); + if (!getIssuesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }issuesMemoizedSerializedSize = dataSize; + } + 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(9, labels__); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getManagementSettings()); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getDnsSettings()); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getContactSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getContactSettings()); } if (pendingContactSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(13, getPendingContactSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getPendingContactSettings()); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedPrivacyMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1728,42 +1477,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1alpha2.Registration)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.Registration other = - (com.google.cloud.domains.v1alpha2.Registration) obj; + com.google.cloud.domains.v1alpha2.Registration other = (com.google.cloud.domains.v1alpha2.Registration) obj; - if (!getName().equals(other.getName())) return false; - if (!getDomainName().equals(other.getDomainName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDomainName() + .equals(other.getDomainName())) 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 (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (state_ != other.state_) return false; if (!issues_.equals(other.issues_)) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings().equals(other.getManagementSettings())) return false; + if (!getManagementSettings() + .equals(other.getManagementSettings())) return false; } if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings().equals(other.getDnsSettings())) return false; + if (!getDnsSettings() + .equals(other.getDnsSettings())) return false; } if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings().equals(other.getContactSettings())) return false; + if (!getContactSettings() + .equals(other.getContactSettings())) return false; } if (hasPendingContactSettings() != other.hasPendingContactSettings()) return false; if (hasPendingContactSettings()) { - if (!getPendingContactSettings().equals(other.getPendingContactSettings())) return false; + if (!getPendingContactSettings() + .equals(other.getPendingContactSettings())) return false; } if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1824,104 +1581,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1alpha2.Registration parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1alpha2.Registration parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.Registration parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.Registration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.Registration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.Registration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.Registration parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.Registration parseFrom(java.io.InputStream input) 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.domains.v1alpha2.Registration parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.Registration parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.Registration parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.Registration parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.Registration parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.Registration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.Registration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The `Registration` resource facilitates managing and configuring domain name
    * registrations.
@@ -1940,43 +1690,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.Registration}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.Registration)
       com.google.cloud.domains.v1alpha2.RegistrationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_Registration_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 9:
           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 9:
           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.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.Registration.class,
-              com.google.cloud.domains.v1alpha2.Registration.Builder.class);
+              com.google.cloud.domains.v1alpha2.Registration.class, com.google.cloud.domains.v1alpha2.Registration.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1alpha2.Registration.newBuilder()
@@ -1984,15 +1734,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2047,9 +1798,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto
-          .internal_static_google_cloud_domains_v1alpha2_Registration_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_descriptor;
     }
 
     @java.lang.Override
@@ -2068,8 +1819,7 @@ public com.google.cloud.domains.v1alpha2.Registration build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1alpha2.Registration buildPartial() {
-      com.google.cloud.domains.v1alpha2.Registration result =
-          new com.google.cloud.domains.v1alpha2.Registration(this);
+      com.google.cloud.domains.v1alpha2.Registration result = new com.google.cloud.domains.v1alpha2.Registration(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.domainName_ = domainName_;
@@ -2124,39 +1874,38 @@ public com.google.cloud.domains.v1alpha2.Registration buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1alpha2.Registration) {
-        return mergeFrom((com.google.cloud.domains.v1alpha2.Registration) other);
+        return mergeFrom((com.google.cloud.domains.v1alpha2.Registration)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2192,7 +1941,8 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.Registration other) {
         }
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.hasManagementSettings()) {
         mergeManagementSettings(other.getManagementSettings());
       }
@@ -2243,26 +1993,23 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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; @@ -2271,22 +2018,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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 { @@ -2294,64 +2040,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2359,22 +2098,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object domainName_ = ""; /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -2383,23 +2118,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -2407,67 +2139,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -2475,58 +2194,39 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2542,17 +2242,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2562,22 +2259,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } - /** - * - * + /** *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2589,15 +2282,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2611,64 +2300,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2676,58 +2349,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -2743,17 +2397,14 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -2764,21 +2415,17 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -2790,15 +2437,11 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -2812,64 +2455,48 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -2877,75 +2504,51 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.Registration.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 state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.Registration.State result = - com.google.cloud.domains.v1alpha2.Registration.State.valueOf(state_); - return result == null - ? com.google.cloud.domains.v1alpha2.Registration.State.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.Registration.State result = com.google.cloud.domains.v1alpha2.Registration.State.valueOf(state_); + return result == null ? com.google.cloud.domains.v1alpha2.Registration.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2953,33 +2556,28 @@ public Builder setState(com.google.cloud.domains.v1alpha2.Registration.State val if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private java.util.List issues_ = java.util.Collections.emptyList(); - + private java.util.List issues_ = + java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); @@ -2987,50 +2585,34 @@ private void ensureIssuesIsMutable() { } } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the issues. */ public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue>( - issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue>(issues_, issues_converter_); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of issues. */ public int getIssuesCount() { return issues_.size(); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The issues at the given index. */ @@ -3038,16 +2620,11 @@ public com.google.cloud.domains.v1alpha2.Registration.Issue getIssues(int index) return issues_converter_.convert(issues_.get(index)); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The issues to set. * @return This builder for chaining. @@ -3063,16 +2640,11 @@ public Builder setIssues( return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The issues to add. * @return This builder for chaining. */ @@ -3086,16 +2658,11 @@ public Builder addIssues(com.google.cloud.domains.v1alpha2.Registration.Issue va return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The issues to add. * @return This builder for chaining. */ @@ -3109,16 +2676,11 @@ public Builder addAllIssues( return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearIssues() { @@ -3128,32 +2690,23 @@ public Builder clearIssues() { return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for issues. */ - public java.util.List getIssuesValueList() { + public java.util.List + getIssuesValueList() { return java.util.Collections.unmodifiableList(issues_); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -3161,37 +2714,28 @@ public int getIssuesValue(int index) { return issues_.get(index); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. * @return This builder for chaining. */ - public Builder setIssuesValue(int index, int value) { + public Builder setIssuesValue( + int index, int value) { ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for issues to add. * @return This builder for chaining. */ @@ -3202,20 +2746,16 @@ public Builder addIssuesValue(int value) { return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for issues to add. * @return This builder for chaining. */ - public Builder addAllIssuesValue(java.lang.Iterable values) { + public Builder addAllIssuesValue( + java.lang.Iterable values) { ensureIssuesIsMutable(); for (int value : values) { issues_.add(value); @@ -3224,21 +2764,22 @@ public Builder addAllIssuesValue(java.lang.Iterable values) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3250,30 +2791,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ + @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(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3281,12 +2820,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3294,17 +2832,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3312,11 +2849,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 9; */ @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(); } @@ -3324,73 +2862,71 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private com.google.cloud.domains.v1alpha2.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ManagementSettings, - com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, - com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> - managementSettingsBuilder_; + com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> managementSettingsBuilder_; /** - * - * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3399,15 +2935,12 @@ public Builder putAllLabels(java.util.Map va
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; - * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** - * - * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3416,21 +2949,16 @@ public boolean hasManagementSettings() {
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; - * * @return The managementSettings. */ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null - ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** - * - * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3440,8 +2968,7 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSetting
      *
      * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
      */
-    public Builder setManagementSettings(
-        com.google.cloud.domains.v1alpha2.ManagementSettings value) {
+    public Builder setManagementSettings(com.google.cloud.domains.v1alpha2.ManagementSettings value) {
       if (managementSettingsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3455,8 +2982,6 @@ public Builder setManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3478,8 +3003,6 @@ public Builder setManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3489,14 +3012,11 @@ public Builder setManagementSettings(
      *
      * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
      */
-    public Builder mergeManagementSettings(
-        com.google.cloud.domains.v1alpha2.ManagementSettings value) {
+    public Builder mergeManagementSettings(com.google.cloud.domains.v1alpha2.ManagementSettings value) {
       if (managementSettingsBuilder_ == null) {
         if (managementSettings_ != null) {
           managementSettings_ =
-              com.google.cloud.domains.v1alpha2.ManagementSettings.newBuilder(managementSettings_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.domains.v1alpha2.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial();
         } else {
           managementSettings_ = value;
         }
@@ -3508,8 +3028,6 @@ public Builder mergeManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3531,8 +3049,6 @@ public Builder clearManagementSettings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3542,15 +3058,12 @@ public Builder clearManagementSettings() {
      *
      * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
      */
-    public com.google.cloud.domains.v1alpha2.ManagementSettings.Builder
-        getManagementSettingsBuilder() {
-
+    public com.google.cloud.domains.v1alpha2.ManagementSettings.Builder getManagementSettingsBuilder() {
+      
       onChanged();
       return getManagementSettingsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3560,19 +3073,15 @@ public Builder clearManagementSettings() {
      *
      * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
      */
-    public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder
-        getManagementSettingsOrBuilder() {
+    public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() {
       if (managementSettingsBuilder_ != null) {
         return managementSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return managementSettings_ == null
-            ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance()
-            : managementSettings_;
+        return managementSettings_ == null ?
+            com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3583,17 +3092,14 @@ public Builder clearManagementSettings() {
      * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1alpha2.ManagementSettings,
-            com.google.cloud.domains.v1alpha2.ManagementSettings.Builder,
-            com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder>
+        com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> 
         getManagementSettingsFieldBuilder() {
       if (managementSettingsBuilder_ == null) {
-        managementSettingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.domains.v1alpha2.ManagementSettings,
-                com.google.cloud.domains.v1alpha2.ManagementSettings.Builder,
-                com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder>(
-                getManagementSettings(), getParentForChildren(), isClean());
+        managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder>(
+                getManagementSettings(),
+                getParentForChildren(),
+                isClean());
         managementSettings_ = null;
       }
       return managementSettingsBuilder_;
@@ -3601,13 +3107,8 @@ public Builder clearManagementSettings() {
 
     private com.google.cloud.domains.v1alpha2.DnsSettings dnsSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1alpha2.DnsSettings,
-            com.google.cloud.domains.v1alpha2.DnsSettings.Builder,
-            com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>
-        dnsSettingsBuilder_;
+        com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> dnsSettingsBuilder_;
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3615,15 +3116,12 @@ public Builder clearManagementSettings() {
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; - * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** - * - * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3631,21 +3129,16 @@ public boolean hasDnsSettings() {
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; - * * @return The dnsSettings. */ public com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null - ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** - * - * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3668,8 +3161,6 @@ public Builder setDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3690,8 +3181,6 @@ public Builder setDnsSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3704,9 +3193,7 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings va
       if (dnsSettingsBuilder_ == null) {
         if (dnsSettings_ != null) {
           dnsSettings_ =
-              com.google.cloud.domains.v1alpha2.DnsSettings.newBuilder(dnsSettings_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.domains.v1alpha2.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial();
         } else {
           dnsSettings_ = value;
         }
@@ -3718,8 +3205,6 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings va
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3740,8 +3225,6 @@ public Builder clearDnsSettings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3751,13 +3234,11 @@ public Builder clearDnsSettings() {
      * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11;
      */
     public com.google.cloud.domains.v1alpha2.DnsSettings.Builder getDnsSettingsBuilder() {
-
+      
       onChanged();
       return getDnsSettingsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3770,14 +3251,11 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
       if (dnsSettingsBuilder_ != null) {
         return dnsSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return dnsSettings_ == null
-            ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance()
-            : dnsSettings_;
+        return dnsSettings_ == null ?
+            com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3787,17 +3265,14 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
      * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1alpha2.DnsSettings,
-            com.google.cloud.domains.v1alpha2.DnsSettings.Builder,
-            com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>
+        com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> 
         getDnsSettingsFieldBuilder() {
       if (dnsSettingsBuilder_ == null) {
-        dnsSettingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.domains.v1alpha2.DnsSettings,
-                com.google.cloud.domains.v1alpha2.DnsSettings.Builder,
-                com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>(
-                getDnsSettings(), getParentForChildren(), isClean());
+        dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>(
+                getDnsSettings(),
+                getParentForChildren(),
+                isClean());
         dnsSettings_ = null;
       }
       return dnsSettingsBuilder_;
@@ -3805,64 +3280,45 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
 
     private com.google.cloud.domains.v1alpha2.ContactSettings contactSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1alpha2.ContactSettings,
-            com.google.cloud.domains.v1alpha2.ContactSettings.Builder,
-            com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>
-        contactSettingsBuilder_;
+        com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> contactSettingsBuilder_;
     /**
-     *
-     *
      * 
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The contactSettings. */ public com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setContactSettings(com.google.cloud.domains.v1alpha2.ContactSettings value) { if (contactSettingsBuilder_ == null) { @@ -3878,17 +3334,13 @@ public Builder setContactSettings(com.google.cloud.domains.v1alpha2.ContactSetti return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setContactSettings( com.google.cloud.domains.v1alpha2.ContactSettings.Builder builderForValue) { @@ -3902,25 +3354,19 @@ public Builder setContactSettings( return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeContactSettings(com.google.cloud.domains.v1alpha2.ContactSettings value) { if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(contactSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); } else { contactSettings_ = value; } @@ -3932,17 +3378,13 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1alpha2.ContactSet return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearContactSettings() { if (contactSettingsBuilder_ == null) { @@ -3956,71 +3398,54 @@ public Builder clearContactSettings() { return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder - getContactSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSettingsOrBuilder() { if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? + com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; } } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, - com.google.cloud.domains.v1alpha2.ContactSettings.Builder, - com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, - com.google.cloud.domains.v1alpha2.ContactSettings.Builder, - com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( - getContactSettings(), getParentForChildren(), isClean()); + contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( + getContactSettings(), + getParentForChildren(), + isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -4028,13 +3453,8 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getContactSetti private com.google.cloud.domains.v1alpha2.ContactSettings pendingContactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, - com.google.cloud.domains.v1alpha2.ContactSettings.Builder, - com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> - pendingContactSettingsBuilder_; + com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> pendingContactSettingsBuilder_; /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4045,18 +3465,13 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getContactSetti
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pendingContactSettings field is set. */ public boolean hasPendingContactSettings() { return pendingContactSettingsBuilder_ != null || pendingContactSettings_ != null; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4067,24 +3482,17 @@ public boolean hasPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pendingContactSettings. */ public com.google.cloud.domains.v1alpha2.ContactSettings getPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { - return pendingContactSettings_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() - : pendingContactSettings_; + return pendingContactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : pendingContactSettings_; } else { return pendingContactSettingsBuilder_.getMessage(); } } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4095,12 +3503,9 @@ public com.google.cloud.domains.v1alpha2.ContactSettings getPendingContactSettin
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPendingContactSettings( - com.google.cloud.domains.v1alpha2.ContactSettings value) { + public Builder setPendingContactSettings(com.google.cloud.domains.v1alpha2.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4114,8 +3519,6 @@ public Builder setPendingContactSettings( return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4126,9 +3529,7 @@ public Builder setPendingContactSettings(
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPendingContactSettings( com.google.cloud.domains.v1alpha2.ContactSettings.Builder builderForValue) { @@ -4142,8 +3543,6 @@ public Builder setPendingContactSettings( return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4154,18 +3553,13 @@ public Builder setPendingContactSettings(
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergePendingContactSettings( - com.google.cloud.domains.v1alpha2.ContactSettings value) { + public Builder mergePendingContactSettings(com.google.cloud.domains.v1alpha2.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { if (pendingContactSettings_ != null) { pendingContactSettings_ = - com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(pendingContactSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(pendingContactSettings_).mergeFrom(value).buildPartial(); } else { pendingContactSettings_ = value; } @@ -4177,8 +3571,6 @@ public Builder mergePendingContactSettings( return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4189,9 +3581,7 @@ public Builder mergePendingContactSettings(
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { @@ -4205,8 +3595,6 @@ public Builder clearPendingContactSettings() { return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4217,19 +3605,14 @@ public Builder clearPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.domains.v1alpha2.ContactSettings.Builder - getPendingContactSettingsBuilder() { - + public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getPendingContactSettingsBuilder() { + onChanged(); return getPendingContactSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4240,23 +3623,17 @@ public Builder clearPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder - getPendingContactSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { if (pendingContactSettingsBuilder_ != null) { return pendingContactSettingsBuilder_.getMessageOrBuilder(); } else { - return pendingContactSettings_ == null - ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() - : pendingContactSettings_; + return pendingContactSettings_ == null ? + com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : pendingContactSettings_; } } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4267,29 +3644,24 @@ public Builder clearPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, - com.google.cloud.domains.v1alpha2.ContactSettings.Builder, - com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> getPendingContactSettingsFieldBuilder() { if (pendingContactSettingsBuilder_ == null) { - pendingContactSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, - com.google.cloud.domains.v1alpha2.ContactSettings.Builder, - com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( - getPendingContactSettings(), getParentForChildren(), isClean()); + pendingContactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( + getPendingContactSettings(), + getParentForChildren(), + isClean()); pendingContactSettings_ = null; } return pendingContactSettingsBuilder_; } - private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); - + private java.util.List supportedPrivacy_ = + java.util.Collections.emptyList(); private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -4297,54 +3669,37 @@ private void ensureSupportedPrivacyIsMutable() { } } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the supportedPrivacy. */ - public java.util.List - getSupportedPrivacyList() { + public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -4352,17 +3707,12 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -4378,17 +3728,12 @@ public Builder setSupportedPrivacy( return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -4402,17 +3747,12 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1alpha2.ContactPriv return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -4426,17 +3766,12 @@ public Builder addAllSupportedPrivacy( return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -4446,34 +3781,25 @@ public Builder clearSupportedPrivacy() { return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -4481,39 +3807,30 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue(int index, int value) { + public Builder setSupportedPrivacyValue( + int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -4524,21 +3841,17 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue( + java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -4546,9 +3859,9 @@ public Builder addAllSupportedPrivacyValue(java.lang.Iterable onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4558,12 +3871,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.Registration) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.Registration) private static final com.google.cloud.domains.v1alpha2.Registration DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.Registration(); } @@ -4572,16 +3885,16 @@ public static com.google.cloud.domains.v1alpha2.Registration getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Registration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Registration(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Registration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Registration(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4596,4 +3909,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.Registration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationName.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationName.java similarity index 100% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationName.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationName.java diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java similarity index 71% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java index fe6f06bc..420a623b 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java @@ -1,265 +1,177 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RegistrationOrBuilder - extends +public interface RegistrationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.Registration) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Output only. The state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.domains.v1alpha2.Registration.State getState(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the issues. */ java.util.List getIssuesList(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of issues. */ int getIssuesCount(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The issues at the given index. */ com.google.cloud.domains.v1alpha2.Registration.Issue getIssues(int index); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for issues. */ - java.util.List getIssuesValueList(); + java.util.List + getIssuesValueList(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ int getIssuesValue(int index); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -268,31 +180,30 @@ public interface RegistrationOrBuilder */ int getLabelsCount(); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - 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(); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -301,24 +212,22 @@ public interface RegistrationOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -327,13 +236,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; - * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -342,13 +248,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; - * * @return The managementSettings. */ com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings(); /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -361,8 +264,6 @@ java.lang.String getLabelsOrDefault(
   com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -370,13 +271,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; - * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -384,13 +282,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; - * * @return The dnsSettings. */ com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings(); /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -402,55 +297,39 @@ java.lang.String getLabelsOrDefault(
   com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The contactSettings. */ com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings(); /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -461,16 +340,11 @@ java.lang.String getLabelsOrDefault(
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pendingContactSettings field is set. */ boolean hasPendingContactSettings(); /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -481,16 +355,11 @@ java.lang.String getLabelsOrDefault(
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pendingContactSettings. */ com.google.cloud.domains.v1alpha2.ContactSettings getPendingContactSettings(); /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -501,85 +370,59 @@ java.lang.String getLabelsOrDefault(
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int index); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List getSupportedPrivacyValueList(); + java.util.List + getSupportedPrivacyValueList(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java similarity index 63% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java index c2b60926..512ba272 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `ResetAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest} */ -public final class ResetAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResetAuthorizationCodeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) ResetAuthorizationCodeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResetAuthorizationCodeRequest.newBuilder() to construct. private ResetAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResetAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResetAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResetAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResetAuthorizationCodeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registration_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResetAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -205,15 +178,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.domains.v1alpha2.ResetAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest other = - (com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest other = (com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ResetAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.getDefaultInstance(); } @@ -401,8 +364,7 @@ public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest result = - new com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest(this); + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest result = new com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -412,50 +374,46 @@ public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest other) { - if (other - == com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest other) { + if (other == com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -479,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -518,24 +470,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -543,77 +492,64 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -623,32 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) - private static final com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest(); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResetAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,8 +594,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..a8dd01df --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1alpha2/domains.proto + +package com.google.cloud.domains.v1alpha2; + +public interface ResetAuthorizationCodeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The registration. + */ + java.lang.String getRegistration(); + /** + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for registration. + */ + com.google.protobuf.ByteString + getRegistrationBytes(); +} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java similarity index 61% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java index cdf89f5b..45f13252 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `RetrieveAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest} */ -public final class RetrieveAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveAuthorizationCodeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) RetrieveAuthorizationCodeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveAuthorizationCodeRequest.newBuilder() to construct. - private RetrieveAuthorizationCodeRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private RetrieveAuthorizationCodeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registration_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,42 +73,35 @@ private RetrieveAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -136,32 +110,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -206,15 +178,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.domains.v1alpha2.RetrieveAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest other = - (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest other = (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,145 +206,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest - 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.domains.v1alpha2.RetrieveAuthorizationCodeRequest 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.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.Builder.class); } - // Construct using - // com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.newBuilder() + // Construct using com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,16 +343,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest - getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest - .getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.getDefaultInstance(); } @java.lang.Override @@ -405,8 +364,7 @@ public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest build( @java.lang.Override public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest result = - new com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest(this); + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest result = new com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -416,51 +374,46 @@ public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) { - return mergeFrom( - (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest other) { - if (other - == com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest other) { + if (other == com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -484,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -498,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -523,24 +470,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -548,77 +492,64 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -628,32 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) - private static final com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest(); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,8 +594,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..23547f93 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1alpha2/domains.proto + +package com.google.cloud.domains.v1alpha2; + +public interface RetrieveAuthorizationCodeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The registration. + */ + java.lang.String getRegistration(); + /** + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for registration. + */ + com.google.protobuf.ByteString + getRegistrationBytes(); +} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java similarity index 63% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java index 89558c7e..c0487534 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest} */ -public final class RetrieveRegisterParametersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveRegisterParametersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) RetrieveRegisterParametersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersRequest.newBuilder() to construct. - private RetrieveRegisterParametersRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveRegisterParametersRequest() { domainName_ = ""; location_ = ""; @@ -45,15 +26,16 @@ private RetrieveRegisterParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveRegisterParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveRegisterParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,25 @@ private RetrieveRegisterParametersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +80,34 @@ private RetrieveRegisterParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ @java.lang.Override @@ -141,29 +116,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -174,16 +149,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -192,31 +162,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -225,7 +193,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -267,16 +235,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.domains.v1alpha2.RetrieveRegisterParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest other = - (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) obj; + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest other = (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) obj; - if (!getDomainName().equals(other.getDomainName())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,145 +267,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest - 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.domains.v1alpha2.RetrieveRegisterParametersRequest 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.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.Builder.class); } - // Construct using - // com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.newBuilder() + // Construct using com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -448,16 +406,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest - getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest - .getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.getDefaultInstance(); } @java.lang.Override @@ -471,8 +427,7 @@ public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest build @java.lang.Override public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest buildPartial() { - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest result = - new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest(this); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest result = new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -483,51 +438,46 @@ public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) { - return mergeFrom( - (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest other) { - if (other - == com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest other) { + if (other == com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -555,9 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -569,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -591,21 +537,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -613,61 +558,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -675,22 +613,18 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -699,23 +633,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -723,74 +654,61 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -800,32 +718,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) - private static final com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest(); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,8 +753,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java index 7db3f746..67c4ce9c 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RetrieveRegisterParametersRequestOrBuilder - extends +public interface RetrieveRegisterParametersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java similarity index 64% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java index aa5a181a..e350b49d 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Response for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse} */ -public final class RetrieveRegisterParametersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveRegisterParametersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) RetrieveRegisterParametersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersResponse.newBuilder() to construct. - private RetrieveRegisterParametersResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RetrieveRegisterParametersResponse() {} + private RetrieveRegisterParametersResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveRegisterParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveRegisterParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,30 +52,26 @@ private RetrieveRegisterParametersResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.domains.v1alpha2.RegisterParameters.Builder subBuilder = null; - if (registerParameters_ != null) { - subBuilder = registerParameters_.toBuilder(); - } - registerParameters_ = - input.readMessage( - com.google.cloud.domains.v1alpha2.RegisterParameters.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registerParameters_); - registerParameters_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.domains.v1alpha2.RegisterParameters.Builder subBuilder = null; + if (registerParameters_ != null) { + subBuilder = registerParameters_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registerParameters_ = input.readMessage(com.google.cloud.domains.v1alpha2.RegisterParameters.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registerParameters_); + registerParameters_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +79,34 @@ private RetrieveRegisterParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1alpha2.RegisterParameters registerParameters_; /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * * @return Whether the registerParameters field is set. */ @java.lang.Override @@ -140,25 +114,18 @@ public boolean hasRegisterParameters() { return registerParameters_ != null; } /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * * @return The registerParameters. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters() { - return registerParameters_ == null - ? com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() - : registerParameters_; + return registerParameters_ == null ? com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() : registerParameters_; } /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
@@ -166,13 +133,11 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameter * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder - getRegisterParametersOrBuilder() { + public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegisterParametersOrBuilder() { return getRegisterParameters(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (registerParameters_ != null) { output.writeMessage(1, getRegisterParameters()); } @@ -198,7 +164,8 @@ public int getSerializedSize() { size = 0; if (registerParameters_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegisterParameters()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRegisterParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -208,17 +175,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.domains.v1alpha2.RetrieveRegisterParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse other = - (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) obj; + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse other = (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) obj; if (hasRegisterParameters() != other.hasRegisterParameters()) return false; if (hasRegisterParameters()) { - if (!getRegisterParameters().equals(other.getRegisterParameters())) return false; + if (!getRegisterParameters() + .equals(other.getRegisterParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -241,145 +208,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse - 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.domains.v1alpha2.RetrieveRegisterParametersResponse 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.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.Builder.class); } - // Construct using - // com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.newBuilder() + // Construct using com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -393,16 +349,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse - getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse - .getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.getDefaultInstance(); } @java.lang.Override @@ -416,8 +370,7 @@ public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse buil @java.lang.Override public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse buildPartial() { - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse result = - new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse(this); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse result = new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse(this); if (registerParametersBuilder_ == null) { result.registerParameters_ = registerParameters_; } else { @@ -431,51 +384,46 @@ public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) { - return mergeFrom( - (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse other) { - if (other - == com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse other) { + if (other == com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.getDefaultInstance()) return this; if (other.hasRegisterParameters()) { mergeRegisterParameters(other.getRegisterParameters()); } @@ -498,9 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,55 +458,41 @@ public Builder mergeFrom( private com.google.cloud.domains.v1alpha2.RegisterParameters registerParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, - com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, - com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> - registerParametersBuilder_; + com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> registerParametersBuilder_; /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * * @return Whether the registerParameters field is set. */ public boolean hasRegisterParameters() { return registerParametersBuilder_ != null || registerParameters_ != null; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * * @return The registerParameters. */ public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters() { if (registerParametersBuilder_ == null) { - return registerParameters_ == null - ? com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() - : registerParameters_; + return registerParameters_ == null ? com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() : registerParameters_; } else { return registerParametersBuilder_.getMessage(); } } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public Builder setRegisterParameters( - com.google.cloud.domains.v1alpha2.RegisterParameters value) { + public Builder setRegisterParameters(com.google.cloud.domains.v1alpha2.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -574,8 +506,6 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -594,22 +524,17 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public Builder mergeRegisterParameters( - com.google.cloud.domains.v1alpha2.RegisterParameters value) { + public Builder mergeRegisterParameters(com.google.cloud.domains.v1alpha2.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (registerParameters_ != null) { registerParameters_ = - com.google.cloud.domains.v1alpha2.RegisterParameters.newBuilder(registerParameters_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.RegisterParameters.newBuilder(registerParameters_).mergeFrom(value).buildPartial(); } else { registerParameters_ = value; } @@ -621,8 +546,6 @@ public Builder mergeRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -641,42 +564,33 @@ public Builder clearRegisterParameters() { return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder - getRegisterParametersBuilder() { - + public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder getRegisterParametersBuilder() { + onChanged(); return getRegisterParametersFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder - getRegisterParametersOrBuilder() { + public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegisterParametersOrBuilder() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilder(); } else { - return registerParameters_ == null - ? com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() - : registerParameters_; + return registerParameters_ == null ? + com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() : registerParameters_; } } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -684,24 +598,21 @@ public Builder clearRegisterParameters() { * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, - com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, - com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> + com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, - com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, - com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder>( - getRegisterParameters(), getParentForChildren(), isClean()); + registerParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder>( + getRegisterParameters(), + getParentForChildren(), + isClean()); registerParameters_ = null; } return registerParametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -711,32 +622,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) - private static final com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse(); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse - getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -748,8 +657,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java similarity index 63% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java index fafced7b..ecceec31 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RetrieveRegisterParametersResponseOrBuilder - extends +public interface RetrieveRegisterParametersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * * @return Whether the registerParameters field is set. */ boolean hasRegisterParameters(); /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * * @return The registerParameters. */ com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters(); /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java similarity index 63% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java index 17385585..2041e487 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest} */ -public final class RetrieveTransferParametersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveTransferParametersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) RetrieveTransferParametersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersRequest.newBuilder() to construct. - private RetrieveTransferParametersRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveTransferParametersRequest() { domainName_ = ""; location_ = ""; @@ -45,15 +26,16 @@ private RetrieveTransferParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveTransferParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveTransferParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,25 @@ private RetrieveTransferParametersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +80,34 @@ private RetrieveTransferParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ @java.lang.Override @@ -141,29 +116,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -174,16 +149,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -192,31 +162,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -225,7 +193,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -267,16 +235,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.domains.v1alpha2.RetrieveTransferParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest other = - (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) obj; + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest other = (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) obj; - if (!getDomainName().equals(other.getDomainName())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,145 +267,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest - 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.domains.v1alpha2.RetrieveTransferParametersRequest 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.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.Builder.class); } - // Construct using - // com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.newBuilder() + // Construct using com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -448,16 +406,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest - getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest - .getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.getDefaultInstance(); } @java.lang.Override @@ -471,8 +427,7 @@ public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest build @java.lang.Override public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest buildPartial() { - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest result = - new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest(this); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest result = new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -483,51 +438,46 @@ public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) { - return mergeFrom( - (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest other) { - if (other - == com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest other) { + if (other == com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -555,9 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -569,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -591,21 +537,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -613,61 +558,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -675,22 +613,18 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -699,23 +633,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -723,74 +654,61 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -800,32 +718,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) - private static final com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest(); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,8 +753,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java index c5fe266b..42b367c8 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RetrieveTransferParametersRequestOrBuilder - extends +public interface RetrieveTransferParametersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java similarity index 64% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java index 932870b1..1311f00a 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Response for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse} */ -public final class RetrieveTransferParametersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveTransferParametersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) RetrieveTransferParametersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersResponse.newBuilder() to construct. - private RetrieveTransferParametersResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RetrieveTransferParametersResponse() {} + private RetrieveTransferParametersResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveTransferParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveTransferParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,30 +52,26 @@ private RetrieveTransferParametersResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.domains.v1alpha2.TransferParameters.Builder subBuilder = null; - if (transferParameters_ != null) { - subBuilder = transferParameters_.toBuilder(); - } - transferParameters_ = - input.readMessage( - com.google.cloud.domains.v1alpha2.TransferParameters.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferParameters_); - transferParameters_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.domains.v1alpha2.TransferParameters.Builder subBuilder = null; + if (transferParameters_ != null) { + subBuilder = transferParameters_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transferParameters_ = input.readMessage(com.google.cloud.domains.v1alpha2.TransferParameters.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferParameters_); + transferParameters_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +79,34 @@ private RetrieveTransferParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.Builder.class); } public static final int TRANSFER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1alpha2.TransferParameters transferParameters_; /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; - * * @return Whether the transferParameters field is set. */ @java.lang.Override @@ -140,25 +114,18 @@ public boolean hasTransferParameters() { return transferParameters_ != null; } /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; - * * @return The transferParameters. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferParameters getTransferParameters() { - return transferParameters_ == null - ? com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() - : transferParameters_; + return transferParameters_ == null ? com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() : transferParameters_; } /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
@@ -166,13 +133,11 @@ public com.google.cloud.domains.v1alpha2.TransferParameters getTransferParameter * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder - getTransferParametersOrBuilder() { + public com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder getTransferParametersOrBuilder() { return getTransferParameters(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (transferParameters_ != null) { output.writeMessage(1, getTransferParameters()); } @@ -198,7 +164,8 @@ public int getSerializedSize() { size = 0; if (transferParameters_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferParameters()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTransferParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -208,17 +175,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.domains.v1alpha2.RetrieveTransferParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse other = - (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) obj; + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse other = (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) obj; if (hasTransferParameters() != other.hasTransferParameters()) return false; if (hasTransferParameters()) { - if (!getTransferParameters().equals(other.getTransferParameters())) return false; + if (!getTransferParameters() + .equals(other.getTransferParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -241,145 +208,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse - 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.domains.v1alpha2.RetrieveTransferParametersResponse 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.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.Builder.class); } - // Construct using - // com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.newBuilder() + // Construct using com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -393,16 +349,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse - getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse - .getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.getDefaultInstance(); } @java.lang.Override @@ -416,8 +370,7 @@ public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse buil @java.lang.Override public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse buildPartial() { - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse result = - new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse(this); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse result = new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse(this); if (transferParametersBuilder_ == null) { result.transferParameters_ = transferParameters_; } else { @@ -431,51 +384,46 @@ public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) { - return mergeFrom( - (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse other) { - if (other - == com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse other) { + if (other == com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.getDefaultInstance()) return this; if (other.hasTransferParameters()) { mergeTransferParameters(other.getTransferParameters()); } @@ -498,9 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,55 +458,41 @@ public Builder mergeFrom( private com.google.cloud.domains.v1alpha2.TransferParameters transferParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.TransferParameters, - com.google.cloud.domains.v1alpha2.TransferParameters.Builder, - com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder> - transferParametersBuilder_; + com.google.cloud.domains.v1alpha2.TransferParameters, com.google.cloud.domains.v1alpha2.TransferParameters.Builder, com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder> transferParametersBuilder_; /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; - * * @return Whether the transferParameters field is set. */ public boolean hasTransferParameters() { return transferParametersBuilder_ != null || transferParameters_ != null; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; - * * @return The transferParameters. */ public com.google.cloud.domains.v1alpha2.TransferParameters getTransferParameters() { if (transferParametersBuilder_ == null) { - return transferParameters_ == null - ? com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() - : transferParameters_; + return transferParameters_ == null ? com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() : transferParameters_; } else { return transferParametersBuilder_.getMessage(); } } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ - public Builder setTransferParameters( - com.google.cloud.domains.v1alpha2.TransferParameters value) { + public Builder setTransferParameters(com.google.cloud.domains.v1alpha2.TransferParameters value) { if (transferParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -574,8 +506,6 @@ public Builder setTransferParameters( return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -594,22 +524,17 @@ public Builder setTransferParameters( return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ - public Builder mergeTransferParameters( - com.google.cloud.domains.v1alpha2.TransferParameters value) { + public Builder mergeTransferParameters(com.google.cloud.domains.v1alpha2.TransferParameters value) { if (transferParametersBuilder_ == null) { if (transferParameters_ != null) { transferParameters_ = - com.google.cloud.domains.v1alpha2.TransferParameters.newBuilder(transferParameters_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.TransferParameters.newBuilder(transferParameters_).mergeFrom(value).buildPartial(); } else { transferParameters_ = value; } @@ -621,8 +546,6 @@ public Builder mergeTransferParameters( return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -641,42 +564,33 @@ public Builder clearTransferParameters() { return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.TransferParameters.Builder - getTransferParametersBuilder() { - + public com.google.cloud.domains.v1alpha2.TransferParameters.Builder getTransferParametersBuilder() { + onChanged(); return getTransferParametersFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder - getTransferParametersOrBuilder() { + public com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder getTransferParametersOrBuilder() { if (transferParametersBuilder_ != null) { return transferParametersBuilder_.getMessageOrBuilder(); } else { - return transferParameters_ == null - ? com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() - : transferParameters_; + return transferParameters_ == null ? + com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() : transferParameters_; } } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -684,24 +598,21 @@ public Builder clearTransferParameters() { * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.TransferParameters, - com.google.cloud.domains.v1alpha2.TransferParameters.Builder, - com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder> + com.google.cloud.domains.v1alpha2.TransferParameters, com.google.cloud.domains.v1alpha2.TransferParameters.Builder, com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder> getTransferParametersFieldBuilder() { if (transferParametersBuilder_ == null) { - transferParametersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.TransferParameters, - com.google.cloud.domains.v1alpha2.TransferParameters.Builder, - com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder>( - getTransferParameters(), getParentForChildren(), isClean()); + transferParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.TransferParameters, com.google.cloud.domains.v1alpha2.TransferParameters.Builder, com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder>( + getTransferParameters(), + getParentForChildren(), + isClean()); transferParameters_ = null; } return transferParametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -711,32 +622,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) - private static final com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse(); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse - getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -748,8 +657,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse - getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java similarity index 63% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java index b80b8f3c..50be16b9 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RetrieveTransferParametersResponseOrBuilder - extends +public interface RetrieveTransferParametersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; - * * @return Whether the transferParameters field is set. */ boolean hasTransferParameters(); /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; - * * @return The transferParameters. */ com.google.cloud.domains.v1alpha2.TransferParameters getTransferParameters(); /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java similarity index 66% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java index 5018f3a6..a383eb35 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.SearchDomainsRequest} */ -public final class SearchDomainsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchDomainsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.SearchDomainsRequest) SearchDomainsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchDomainsRequest.newBuilder() to construct. private SearchDomainsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchDomainsRequest() { query_ = ""; location_ = ""; @@ -44,15 +26,16 @@ private SearchDomainsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchDomainsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchDomainsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private SearchDomainsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private SearchDomainsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, - com.google.cloud.domains.v1alpha2.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, com.google.cloud.domains.v1alpha2.SearchDomainsRequest.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -173,16 +149,11 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -191,31 +162,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -224,7 +193,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -266,16 +235,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.domains.v1alpha2.SearchDomainsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.SearchDomainsRequest other = - (com.google.cloud.domains.v1alpha2.SearchDomainsRequest) obj; + com.google.cloud.domains.v1alpha2.SearchDomainsRequest other = (com.google.cloud.domains.v1alpha2.SearchDomainsRequest) obj; - if (!getQuery().equals(other.getQuery())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,127 +267,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.SearchDomainsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.SearchDomainsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.SearchDomainsRequest) com.google.cloud.domains.v1alpha2.SearchDomainsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, - com.google.cloud.domains.v1alpha2.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, com.google.cloud.domains.v1alpha2.SearchDomainsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.SearchDomainsRequest.newBuilder() @@ -425,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; } @java.lang.Override @@ -466,8 +427,7 @@ public com.google.cloud.domains.v1alpha2.SearchDomainsRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.SearchDomainsRequest buildPartial() { - com.google.cloud.domains.v1alpha2.SearchDomainsRequest result = - new com.google.cloud.domains.v1alpha2.SearchDomainsRequest(this); + com.google.cloud.domains.v1alpha2.SearchDomainsRequest result = new com.google.cloud.domains.v1alpha2.SearchDomainsRequest(this); result.query_ = query_; result.location_ = location_; onBuilt(); @@ -478,39 +438,38 @@ public com.google.cloud.domains.v1alpha2.SearchDomainsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.SearchDomainsRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.SearchDomainsRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.SearchDomainsRequest)other); } else { super.mergeFrom(other); return this; @@ -518,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.SearchDomainsRequest other) { - if (other == com.google.cloud.domains.v1alpha2.SearchDomainsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.SearchDomainsRequest.getDefaultInstance()) return this; if (!other.getQuery().isEmpty()) { query_ = other.query_; onChanged(); @@ -547,8 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.SearchDomainsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.SearchDomainsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object query_ = ""; /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -582,21 +537,20 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -604,61 +558,54 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -666,22 +613,18 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -690,23 +633,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -714,74 +654,61 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -791,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.SearchDomainsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.SearchDomainsRequest) private static final com.google.cloud.domains.v1alpha2.SearchDomainsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.SearchDomainsRequest(); } @@ -805,16 +732,16 @@ public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.SearchDomainsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java index 1c8fdb6f..1a07283a 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface SearchDomainsRequestOrBuilder - extends +public interface SearchDomainsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.SearchDomainsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java similarity index 70% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java index 59468899..663c1058 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Response for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.SearchDomainsResponse} */ -public final class SearchDomainsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchDomainsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.SearchDomainsResponse) SearchDomainsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchDomainsResponse.newBuilder() to construct. private SearchDomainsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchDomainsResponse() { registerParameters_ = 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 SearchDomainsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchDomainsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,26 +54,22 @@ private SearchDomainsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registerParameters_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - registerParameters_.add( - input.readMessage( - com.google.cloud.domains.v1alpha2.RegisterParameters.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registerParameters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registerParameters_.add( + input.readMessage(com.google.cloud.domains.v1alpha2.RegisterParameters.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,7 +77,8 @@ private SearchDomainsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registerParameters_ = java.util.Collections.unmodifiableList(registerParameters_); @@ -107,100 +87,80 @@ private SearchDomainsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, - com.google.cloud.domains.v1alpha2.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, com.google.cloud.domains.v1alpha2.SearchDomainsResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private java.util.List registerParameters_; /** - * - * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ @java.lang.Override - public java.util.List - getRegisterParametersList() { + public java.util.List getRegisterParametersList() { return registerParameters_; } /** - * - * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegisterParametersOrBuilderList() { return registerParameters_; } /** - * - * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ @java.lang.Override public int getRegisterParametersCount() { return registerParameters_.size(); } /** - * - * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters(int index) { return registerParameters_.get(index); } /** - * - * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder - getRegisterParametersOrBuilder(int index) { + public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegisterParametersOrBuilder( + int index) { return registerParameters_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < registerParameters_.size(); i++) { output.writeMessage(1, registerParameters_.get(i)); } @@ -226,8 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registerParameters_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, registerParameters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, registerParameters_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,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.domains.v1alpha2.SearchDomainsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.SearchDomainsResponse other = - (com.google.cloud.domains.v1alpha2.SearchDomainsResponse) obj; + com.google.cloud.domains.v1alpha2.SearchDomainsResponse other = (com.google.cloud.domains.v1alpha2.SearchDomainsResponse) obj; - if (!getRegisterParametersList().equals(other.getRegisterParametersList())) return false; + if (!getRegisterParametersList() + .equals(other.getRegisterParametersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,127 +228,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.SearchDomainsResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.SearchDomainsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.SearchDomainsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.SearchDomainsResponse) com.google.cloud.domains.v1alpha2.SearchDomainsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, - com.google.cloud.domains.v1alpha2.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, com.google.cloud.domains.v1alpha2.SearchDomainsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.SearchDomainsResponse.newBuilder() @@ -395,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRegisterParametersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; } @java.lang.Override @@ -440,8 +391,7 @@ public com.google.cloud.domains.v1alpha2.SearchDomainsResponse build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.SearchDomainsResponse buildPartial() { - com.google.cloud.domains.v1alpha2.SearchDomainsResponse result = - new com.google.cloud.domains.v1alpha2.SearchDomainsResponse(this); + com.google.cloud.domains.v1alpha2.SearchDomainsResponse result = new com.google.cloud.domains.v1alpha2.SearchDomainsResponse(this); int from_bitField0_ = bitField0_; if (registerParametersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -460,39 +410,38 @@ public com.google.cloud.domains.v1alpha2.SearchDomainsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.SearchDomainsResponse) { - return mergeFrom((com.google.cloud.domains.v1alpha2.SearchDomainsResponse) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.SearchDomainsResponse)other); } else { super.mergeFrom(other); return this; @@ -500,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.SearchDomainsResponse other) { - if (other == com.google.cloud.domains.v1alpha2.SearchDomainsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.SearchDomainsResponse.getDefaultInstance()) return this; if (registerParametersBuilder_ == null) { if (!other.registerParameters_.isEmpty()) { if (registerParameters_.isEmpty()) { @@ -520,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.SearchDomainsResponse registerParametersBuilder_ = null; registerParameters_ = other.registerParameters_; bitField0_ = (bitField0_ & ~0x00000001); - registerParametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRegisterParametersFieldBuilder() - : null; + registerParametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRegisterParametersFieldBuilder() : null; } else { registerParametersBuilder_.addAllMessages(other.registerParameters_); } @@ -548,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.SearchDomainsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.SearchDomainsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -558,39 +504,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - registerParameters_ = java.util.Collections.emptyList(); - + private java.util.List registerParameters_ = + java.util.Collections.emptyList(); private void ensureRegisterParametersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registerParameters_ = - new java.util.ArrayList( - registerParameters_); + registerParameters_ = new java.util.ArrayList(registerParameters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, - com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, - com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> - registerParametersBuilder_; + com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> registerParametersBuilder_; /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersList() { + public java.util.List getRegisterParametersList() { if (registerParametersBuilder_ == null) { return java.util.Collections.unmodifiableList(registerParameters_); } else { @@ -598,14 +533,11 @@ private void ensureRegisterParametersIsMutable() { } } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ public int getRegisterParametersCount() { if (registerParametersBuilder_ == null) { @@ -615,14 +547,11 @@ public int getRegisterParametersCount() { } } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters(int index) { if (registerParametersBuilder_ == null) { @@ -632,14 +561,11 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameter } } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ public Builder setRegisterParameters( int index, com.google.cloud.domains.v1alpha2.RegisterParameters value) { @@ -656,14 +582,11 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ public Builder setRegisterParameters( int index, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder builderForValue) { @@ -677,17 +600,13 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public Builder addRegisterParameters( - com.google.cloud.domains.v1alpha2.RegisterParameters value) { + public Builder addRegisterParameters(com.google.cloud.domains.v1alpha2.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -701,14 +620,11 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ public Builder addRegisterParameters( int index, com.google.cloud.domains.v1alpha2.RegisterParameters value) { @@ -725,14 +641,11 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ public Builder addRegisterParameters( com.google.cloud.domains.v1alpha2.RegisterParameters.Builder builderForValue) { @@ -746,14 +659,11 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ public Builder addRegisterParameters( int index, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder builderForValue) { @@ -767,20 +677,18 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ public Builder addAllRegisterParameters( java.lang.Iterable values) { if (registerParametersBuilder_ == null) { ensureRegisterParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registerParameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, registerParameters_); onChanged(); } else { registerParametersBuilder_.addAllMessages(values); @@ -788,14 +696,11 @@ public Builder addAllRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ public Builder clearRegisterParameters() { if (registerParametersBuilder_ == null) { @@ -808,14 +713,11 @@ public Builder clearRegisterParameters() { return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ public Builder removeRegisterParameters(int index) { if (registerParametersBuilder_ == null) { @@ -828,49 +730,39 @@ public Builder removeRegisterParameters(int index) { return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder - getRegisterParametersBuilder(int index) { + public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder getRegisterParametersBuilder( + int index) { return getRegisterParametersFieldBuilder().getBuilder(index); } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder - getRegisterParametersOrBuilder(int index) { + public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegisterParametersOrBuilder( + int index) { if (registerParametersBuilder_ == null) { - return registerParameters_.get(index); - } else { + return registerParameters_.get(index); } else { return registerParametersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersOrBuilderList() { + public java.util.List + getRegisterParametersOrBuilderList() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilderList(); } else { @@ -878,62 +770,45 @@ public Builder removeRegisterParameters(int index) { } } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder - addRegisterParametersBuilder() { - return getRegisterParametersFieldBuilder() - .addBuilder(com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()); + public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder addRegisterParametersBuilder() { + return getRegisterParametersFieldBuilder().addBuilder( + com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()); } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder - addRegisterParametersBuilder(int index) { - return getRegisterParametersFieldBuilder() - .addBuilder( - index, com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()); + public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder addRegisterParametersBuilder( + int index) { + return getRegisterParametersFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()); } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersBuilderList() { + public java.util.List + getRegisterParametersBuilderList() { return getRegisterParametersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, - com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, - com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> + com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, - com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, - com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder>( + registerParametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder>( registerParameters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -942,9 +817,9 @@ public Builder removeRegisterParameters(int index) { } return registerParametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.SearchDomainsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.SearchDomainsResponse) private static final com.google.cloud.domains.v1alpha2.SearchDomainsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.SearchDomainsResponse(); } @@ -968,16 +843,16 @@ public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.SearchDomainsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java index 4654c018..994a23aa 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java @@ -1,82 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface SearchDomainsResponseOrBuilder - extends +public interface SearchDomainsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.SearchDomainsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - java.util.List getRegisterParametersList(); + java.util.List + getRegisterParametersList(); /** - * - * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters(int index); /** - * - * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ int getRegisterParametersCount(); /** - * - * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - java.util.List + java.util.List getRegisterParametersOrBuilderList(); /** - * - * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegisterParametersOrBuilder( int index); diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java similarity index 74% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java index 00bc42d2..a4a12b5e 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `TransferDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.TransferDomainRequest} */ -public final class TransferDomainRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferDomainRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.TransferDomainRequest) TransferDomainRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferDomainRequest.newBuilder() to construct. private TransferDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferDomainRequest() { parent_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private TransferDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,97 +55,86 @@ private TransferDomainRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = input.readMessage(com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = - input.readMessage( - com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + contactNotices_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - contactNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 34: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 34: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder subBuilder = null; - if (authorizationCode_ != null) { - subBuilder = authorizationCode_.toBuilder(); - } - authorizationCode_ = - input.readMessage( - com.google.cloud.domains.v1alpha2.AuthorizationCode.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authorizationCode_); - authorizationCode_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder subBuilder = null; + if (authorizationCode_ != null) { + subBuilder = authorizationCode_.toBuilder(); } - case 48: - { - validateOnly_ = input.readBool(); - break; + authorizationCode_ = input.readMessage(com.google.cloud.domains.v1alpha2.AuthorizationCode.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authorizationCode_); + authorizationCode_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 48: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -170,7 +142,8 @@ private TransferDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -179,36 +152,28 @@ private TransferDomainRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, - com.google.cloud.domains.v1alpha2.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, com.google.cloud.domains.v1alpha2.TransferDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -217,32 +182,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -253,8 +216,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.Registration registration_; /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -264,10 +225,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ @java.lang.Override @@ -275,8 +233,6 @@ public boolean hasRegistration() { return registration_ != null; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -286,21 +242,14 @@ public boolean hasRegistration() {
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.Registration getRegistration() { - return registration_ == null - ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -310,9 +259,7 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistration() {
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -322,22 +269,16 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr public static final int CONTACT_NOTICES_FIELD_NUMBER = 3; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> - contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>() { public com.google.cloud.domains.v1alpha2.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactNotice result = - com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.ContactNotice result = com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -345,18 +286,14 @@ public com.google.cloud.domains.v1alpha2.ContactNotice convert(java.lang.Integer
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -364,7 +301,6 @@ public java.util.List getContac
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @return The count of contactNotices. */ @java.lang.Override @@ -372,8 +308,6 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -381,7 +315,6 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -390,8 +323,6 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -399,16 +330,14 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return contactNotices_; } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -416,7 +345,6 @@ public java.util.List getContactNoticesValueList() {
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -424,14 +352,11 @@ public java.util.List getContactNoticesValueList() { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } - private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 4; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -439,7 +364,6 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -447,8 +371,6 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -456,7 +378,6 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ @java.lang.Override @@ -464,8 +385,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -482,15 +401,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 5;
   private com.google.cloud.domains.v1alpha2.AuthorizationCode authorizationCode_;
   /**
-   *
-   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; - * * @return Whether the authorizationCode field is set. */ @java.lang.Override @@ -498,26 +414,19 @@ public boolean hasAuthorizationCode() { return authorizationCode_ != null; } /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; - * * @return The authorizationCode. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.AuthorizationCode getAuthorizationCode() { - return authorizationCode_ == null - ? com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance() - : authorizationCode_; + return authorizationCode_ == null ? com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance() : authorizationCode_; } /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -526,22 +435,18 @@ public com.google.cloud.domains.v1alpha2.AuthorizationCode getAuthorizationCode(
    * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder
-      getAuthorizationCodeOrBuilder() {
+  public com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder() {
     return getAuthorizationCode();
   }
 
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
-   *
-   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -550,7 +455,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -562,7 +466,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -599,29 +504,32 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getYearlyPrice()); } if (authorizationCode_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAuthorizationCode()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAuthorizationCode()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -631,29 +539,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1alpha2.TransferDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.TransferDomainRequest other = - (com.google.cloud.domains.v1alpha2.TransferDomainRequest) obj; + com.google.cloud.domains.v1alpha2.TransferDomainRequest other = (com.google.cloud.domains.v1alpha2.TransferDomainRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } if (hasAuthorizationCode() != other.hasAuthorizationCode()) return false; if (hasAuthorizationCode()) { - if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; + if (!getAuthorizationCode() + .equals(other.getAuthorizationCode())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -684,134 +596,125 @@ public int hashCode() { hash = (53 * hash) + getAuthorizationCode().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.TransferDomainRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.TransferDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `TransferDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.TransferDomainRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.TransferDomainRequest) com.google.cloud.domains.v1alpha2.TransferDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, - com.google.cloud.domains.v1alpha2.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, com.google.cloud.domains.v1alpha2.TransferDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.TransferDomainRequest.newBuilder() @@ -819,15 +722,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -859,9 +763,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; } @java.lang.Override @@ -880,8 +784,7 @@ public com.google.cloud.domains.v1alpha2.TransferDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferDomainRequest buildPartial() { - com.google.cloud.domains.v1alpha2.TransferDomainRequest result = - new com.google.cloud.domains.v1alpha2.TransferDomainRequest(this); + com.google.cloud.domains.v1alpha2.TransferDomainRequest result = new com.google.cloud.domains.v1alpha2.TransferDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -913,39 +816,38 @@ public com.google.cloud.domains.v1alpha2.TransferDomainRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.TransferDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.TransferDomainRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.TransferDomainRequest)other); } else { super.mergeFrom(other); return this; @@ -953,8 +855,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.TransferDomainRequest other) { - if (other == com.google.cloud.domains.v1alpha2.TransferDomainRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.TransferDomainRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1000,8 +901,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.TransferDomainRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.TransferDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1010,28 +910,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -1040,24 +935,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -1065,70 +957,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1136,13 +1015,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1alpha2.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> - registrationBuilder_; + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> registrationBuilder_; /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1152,18 +1026,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1173,24 +1042,17 @@ public boolean hasRegistration() {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ public com.google.cloud.domains.v1alpha2.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null - ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; } else { return registrationBuilder_.getMessage(); } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1200,9 +1062,7 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistration() {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration value) { if (registrationBuilder_ == null) { @@ -1218,8 +1078,6 @@ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration va return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1229,9 +1087,7 @@ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration va
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration( com.google.cloud.domains.v1alpha2.Registration.Builder builderForValue) { @@ -1245,8 +1101,6 @@ public Builder setRegistration( return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1256,17 +1110,13 @@ public Builder setRegistration(
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); } else { registration_ = value; } @@ -1278,8 +1128,6 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1289,9 +1137,7 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1305,8 +1151,6 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1316,18 +1160,14 @@ public Builder clearRegistration() {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1337,22 +1177,17 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationBui
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null - ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? + com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1362,29 +1197,24 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( - getRegistration(), getParentForChildren(), isClean()); + registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( + getRegistration(), + getParentForChildren(), + isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List contactNotices_ = java.util.Collections.emptyList(); - + private java.util.List contactNotices_ = + java.util.Collections.emptyList(); private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1392,8 +1222,6 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1401,17 +1229,13 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1419,15 +1243,12 @@ public java.util.List getContac
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1435,7 +1256,6 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1443,8 +1263,6 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1452,7 +1270,6 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1468,8 +1285,6 @@ public Builder setContactNotices( return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1477,7 +1292,6 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1491,8 +1305,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1500,7 +1312,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1514,8 +1325,6 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1523,7 +1332,6 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1533,8 +1341,6 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1542,15 +1348,13 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1558,7 +1362,6 @@ public java.util.List getContactNoticesValueList() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1566,8 +1369,6 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1575,20 +1376,18 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue(int index, int value) { + public Builder setContactNoticesValue( + int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1596,7 +1395,6 @@ public Builder setContactNoticesValue(int index, int value) {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1607,8 +1405,6 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1616,11 +1412,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue(java.lang.Iterable values) { + public Builder addAllContactNoticesValue( + java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1631,11 +1427,8 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1643,15 +1436,12 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1659,7 +1449,6 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1670,8 +1459,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1694,8 +1481,6 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1704,7 +1489,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(
+        com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1715,8 +1501,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1729,7 +1513,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1741,8 +1525,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1763,8 +1545,6 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1774,13 +1554,11 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-
+      
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1793,12 +1571,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ?
+            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1808,15 +1585,14 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Money,
-                com.google.type.Money.Builder,
-                com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(), getParentForChildren(), isClean());
+        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(),
+                getParentForChildren(),
+                isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
@@ -1824,49 +1600,36 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
 
     private com.google.cloud.domains.v1alpha2.AuthorizationCode authorizationCode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1alpha2.AuthorizationCode,
-            com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder,
-            com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder>
-        authorizationCodeBuilder_;
+        com.google.cloud.domains.v1alpha2.AuthorizationCode, com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder, com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder> authorizationCodeBuilder_;
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; - * * @return Whether the authorizationCode field is set. */ public boolean hasAuthorizationCode() { return authorizationCodeBuilder_ != null || authorizationCode_ != null; } /** - * - * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; - * * @return The authorizationCode. */ public com.google.cloud.domains.v1alpha2.AuthorizationCode getAuthorizationCode() { if (authorizationCodeBuilder_ == null) { - return authorizationCode_ == null - ? com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance() - : authorizationCode_; + return authorizationCode_ == null ? com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance() : authorizationCode_; } else { return authorizationCodeBuilder_.getMessage(); } } /** - * - * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1888,8 +1651,6 @@ public Builder setAuthorizationCode(com.google.cloud.domains.v1alpha2.Authorizat
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1909,8 +1670,6 @@ public Builder setAuthorizationCode(
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1918,14 +1677,11 @@ public Builder setAuthorizationCode(
      *
      * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
      */
-    public Builder mergeAuthorizationCode(
-        com.google.cloud.domains.v1alpha2.AuthorizationCode value) {
+    public Builder mergeAuthorizationCode(com.google.cloud.domains.v1alpha2.AuthorizationCode value) {
       if (authorizationCodeBuilder_ == null) {
         if (authorizationCode_ != null) {
           authorizationCode_ =
-              com.google.cloud.domains.v1alpha2.AuthorizationCode.newBuilder(authorizationCode_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.domains.v1alpha2.AuthorizationCode.newBuilder(authorizationCode_).mergeFrom(value).buildPartial();
         } else {
           authorizationCode_ = value;
         }
@@ -1937,8 +1693,6 @@ public Builder mergeAuthorizationCode(
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1958,8 +1712,6 @@ public Builder clearAuthorizationCode() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1967,15 +1719,12 @@ public Builder clearAuthorizationCode() {
      *
      * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
      */
-    public com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder
-        getAuthorizationCodeBuilder() {
-
+    public com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder getAuthorizationCodeBuilder() {
+      
       onChanged();
       return getAuthorizationCodeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1983,19 +1732,15 @@ public Builder clearAuthorizationCode() {
      *
      * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
      */
-    public com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder
-        getAuthorizationCodeOrBuilder() {
+    public com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder() {
       if (authorizationCodeBuilder_ != null) {
         return authorizationCodeBuilder_.getMessageOrBuilder();
       } else {
-        return authorizationCode_ == null
-            ? com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance()
-            : authorizationCode_;
+        return authorizationCode_ == null ?
+            com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance() : authorizationCode_;
       }
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -2004,32 +1749,26 @@ public Builder clearAuthorizationCode() {
      * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1alpha2.AuthorizationCode,
-            com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder,
-            com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder>
+        com.google.cloud.domains.v1alpha2.AuthorizationCode, com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder, com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder> 
         getAuthorizationCodeFieldBuilder() {
       if (authorizationCodeBuilder_ == null) {
-        authorizationCodeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.domains.v1alpha2.AuthorizationCode,
-                com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder,
-                com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder>(
-                getAuthorizationCode(), getParentForChildren(), isClean());
+        authorizationCodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.domains.v1alpha2.AuthorizationCode, com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder, com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder>(
+                getAuthorizationCode(),
+                getParentForChildren(),
+                isClean());
         authorizationCode_ = null;
       }
       return authorizationCodeBuilder_;
     }
 
-    private boolean validateOnly_;
+    private boolean validateOnly_ ;
     /**
-     *
-     *
      * 
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -2037,43 +1776,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2083,12 +1816,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.TransferDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.TransferDomainRequest) private static final com.google.cloud.domains.v1alpha2.TransferDomainRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.TransferDomainRequest(); } @@ -2097,16 +1830,16 @@ public static com.google.cloud.domains.v1alpha2.TransferDomainRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2121,4 +1854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.TransferDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java similarity index 80% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java index ba973d8a..0bce06e0 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface TransferDomainRequestOrBuilder - extends +public interface TransferDomainRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.TransferDomainRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -66,16 +39,11 @@ public interface TransferDomainRequestOrBuilder
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ boolean hasRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -85,16 +53,11 @@ public interface TransferDomainRequestOrBuilder
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ com.google.cloud.domains.v1alpha2.Registration getRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -104,15 +67,11 @@ public interface TransferDomainRequestOrBuilder
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -120,13 +79,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -134,13 +90,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @return The count of contactNotices. */ int getContactNoticesCount(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -148,14 +101,11 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int index); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -163,13 +113,11 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List getContactNoticesValueList(); + java.util.List + getContactNoticesValueList(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -177,15 +125,12 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -193,13 +138,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -207,13 +149,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -225,34 +164,26 @@ public interface TransferDomainRequestOrBuilder
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
-   *
-   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; - * * @return Whether the authorizationCode field is set. */ boolean hasAuthorizationCode(); /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; - * * @return The authorizationCode. */ com.google.cloud.domains.v1alpha2.AuthorizationCode getAuthorizationCode(); /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -263,14 +194,11 @@ public interface TransferDomainRequestOrBuilder
   com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java similarity index 69% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java index c23537c7..063bfe04 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Possible states of a `Registration`'s transfer lock.
  * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.TransferLockState} */ -public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum { +public enum TransferLockState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The state is unspecified.
    * 
@@ -39,8 +21,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ TRANSFER_LOCK_STATE_UNSPECIFIED(0), /** - * - * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -49,8 +29,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ UNLOCKED(1), /** - * - * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -62,8 +40,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * The state is unspecified.
    * 
@@ -72,8 +48,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ public static final int TRANSFER_LOCK_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -82,8 +56,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ public static final int UNLOCKED_VALUE = 1; /** - * - * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -92,6 +64,7 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOCKED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,42 +89,39 @@ public static TransferLockState valueOf(int value) { */ public static TransferLockState forNumber(int value) { switch (value) { - case 0: - return TRANSFER_LOCK_STATE_UNSPECIFIED; - case 1: - return UNLOCKED; - case 2: - return LOCKED; - default: - return null; + case 0: return TRANSFER_LOCK_STATE_UNSPECIFIED; + case 1: return UNLOCKED; + case 2: return LOCKED; + 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 TransferLockState findValueByNumber(int number) { - return TransferLockState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + TransferLockState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransferLockState findValueByNumber(int number) { + return TransferLockState.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.domains.v1alpha2.DomainsProto.getDescriptor().getEnumTypes().get(3); } @@ -160,7 +130,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TransferLockState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -176,3 +147,4 @@ private TransferLockState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1alpha2.TransferLockState) } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java similarity index 75% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java index 64f7d848..f6317fc2 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Parameters required to transfer a domain from another registrar.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.TransferParameters} */ -public final class TransferParameters extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferParameters extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.TransferParameters) TransferParametersOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferParameters.newBuilder() to construct. private TransferParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferParameters() { domainName_ = ""; currentRegistrar_ = ""; @@ -47,15 +29,16 @@ private TransferParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,83 +58,76 @@ private TransferParameters( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - currentRegistrar_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nameServers_.add(s); - break; + currentRegistrar_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - int rawValue = input.readEnum(); + nameServers_.add(s); + break; + } + case 32: { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; + transferLockState_ = rawValue; + break; + } + case 40: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 40: - { + supportedPrivacy_.add(rawValue); + break; + } + case 42: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } supportedPrivacy_.add(rawValue); - break; } - case 42: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - supportedPrivacy_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 50: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 50: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -159,7 +135,8 @@ private TransferParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -171,33 +148,27 @@ private TransferParameters( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.TransferParameters.class, - com.google.cloud.domains.v1alpha2.TransferParameters.Builder.class); + com.google.cloud.domains.v1alpha2.TransferParameters.class, com.google.cloud.domains.v1alpha2.TransferParameters.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ @java.lang.Override @@ -206,29 +177,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -239,14 +210,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int CURRENT_REGISTRAR_FIELD_NUMBER = 2; private volatile java.lang.Object currentRegistrar_; /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The currentRegistrar. */ @java.lang.Override @@ -255,29 +223,29 @@ public java.lang.String getCurrentRegistrar() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; } } /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The bytes for currentRegistrar. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString + getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -288,42 +256,34 @@ public com.google.protobuf.ByteString getCurrentRegistrarBytes() { public static final int NAME_SERVERS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList nameServers_; /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_; } /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -331,26 +291,22 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -358,16 +314,12 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -375,63 +327,45 @@ public int getTransferLockStateValue() {
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ - @java.lang.Override - public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { + @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.TransferLockState result = - com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); - return result == null - ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.TransferLockState result = com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); + return result == null ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 5; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> - supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>() { - public com.google.cloud.domains.v1alpha2.ContactPrivacy convert( - java.lang.Integer from) { + public com.google.cloud.domains.v1alpha2.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactPrivacy result = - com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); - return result == null - ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.ContactPrivacy result = com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); + return result == null ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED : result; } }; /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @return A list containing the supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyList() { + public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -439,14 +373,11 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -455,29 +386,24 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return supportedPrivacy_; } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -485,20 +411,16 @@ public java.util.List getSupportedPrivacyValueList() { public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } - private int supportedPrivacyMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 6; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -506,14 +428,11 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return The yearlyPrice. */ @java.lang.Override @@ -521,8 +440,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
@@ -535,7 +452,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -547,7 +463,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); @@ -558,9 +475,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nameServers_.getRaw(i)); } - if (transferLockState_ - != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { + if (transferLockState_ != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, transferLockState_); } if (getSupportedPrivacyList().size() > 0) { @@ -596,26 +511,25 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (transferLockState_ - != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); + if (transferLockState_ != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, transferLockState_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedPrivacyMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -625,22 +539,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.domains.v1alpha2.TransferParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.TransferParameters other = - (com.google.cloud.domains.v1alpha2.TransferParameters) obj; + com.google.cloud.domains.v1alpha2.TransferParameters other = (com.google.cloud.domains.v1alpha2.TransferParameters) obj; - if (!getDomainName().equals(other.getDomainName())) return false; - if (!getCurrentRegistrar().equals(other.getCurrentRegistrar())) return false; - if (!getNameServersList().equals(other.getNameServersList())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; + if (!getCurrentRegistrar() + .equals(other.getCurrentRegistrar())) return false; + if (!getNameServersList() + .equals(other.getNameServersList())) return false; if (transferLockState_ != other.transferLockState_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -677,126 +594,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.TransferParameters parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.TransferParameters parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.TransferParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters required to transfer a domain from another registrar.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.TransferParameters} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.TransferParameters) com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.TransferParameters.class, - com.google.cloud.domains.v1alpha2.TransferParameters.Builder.class); + com.google.cloud.domains.v1alpha2.TransferParameters.class, com.google.cloud.domains.v1alpha2.TransferParameters.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.TransferParameters.newBuilder() @@ -804,15 +712,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -836,9 +745,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; } @java.lang.Override @@ -857,8 +766,7 @@ public com.google.cloud.domains.v1alpha2.TransferParameters build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferParameters buildPartial() { - com.google.cloud.domains.v1alpha2.TransferParameters result = - new com.google.cloud.domains.v1alpha2.TransferParameters(this); + com.google.cloud.domains.v1alpha2.TransferParameters result = new com.google.cloud.domains.v1alpha2.TransferParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.currentRegistrar_ = currentRegistrar_; @@ -886,39 +794,38 @@ public com.google.cloud.domains.v1alpha2.TransferParameters buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.TransferParameters) { - return mergeFrom((com.google.cloud.domains.v1alpha2.TransferParameters) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.TransferParameters)other); } else { super.mergeFrom(other); return this; @@ -926,8 +833,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.TransferParameters other) { - if (other == com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -981,8 +887,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.TransferParameters) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.TransferParameters) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -991,25 +896,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object domainName_ = ""; /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -1018,21 +920,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -1040,61 +941,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -1102,20 +996,18 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object currentRegistrar_ = ""; /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @return The currentRegistrar. */ public java.lang.String getCurrentRegistrar() { java.lang.Object ref = currentRegistrar_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; @@ -1124,21 +1016,20 @@ public java.lang.String getCurrentRegistrar() { } } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @return The bytes for currentRegistrar. */ - public com.google.protobuf.ByteString getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString + getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -1146,112 +1037,95 @@ public com.google.protobuf.ByteString getCurrentRegistrarBytes() { } } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @param value The currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrar(java.lang.String value) { + public Builder setCurrentRegistrar( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentRegistrar_ = value; onChanged(); return this; } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @return This builder for chaining. */ public Builder clearCurrentRegistrar() { - + currentRegistrar_ = getDefaultInstance().getCurrentRegistrar(); onChanged(); return this; } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @param value The bytes for currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrarBytes(com.google.protobuf.ByteString value) { + public Builder setCurrentRegistrarBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentRegistrar_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList nameServers_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_.getUnmodifiableView(); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1259,90 +1133,80 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers(int index, java.lang.String value) { + public Builder setNameServers( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers(java.lang.String value) { + public Builder addNameServers( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers(java.lang.Iterable values) { + public Builder addAllNameServers( + java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nameServers_); onChanged(); return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1352,22 +1216,20 @@ public Builder clearNameServers() { return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes(com.google.protobuf.ByteString value) { + public Builder addNameServersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1376,8 +1238,6 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) { private int transferLockState_ = 0; /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1385,16 +1245,12 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1402,19 +1258,16 @@ public int getTransferLockStateValue() {
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1422,21 +1275,15 @@ public Builder setTransferLockStateValue(int value) {
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.TransferLockState result = - com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); - return result == null - ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1alpha2.TransferLockState result = com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); + return result == null ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1444,7 +1291,6 @@ public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState(
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -1452,14 +1298,12 @@ public Builder setTransferLockState(com.google.cloud.domains.v1alpha2.TransferLo if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1467,18 +1311,17 @@ public Builder setTransferLockState(com.google.cloud.domains.v1alpha2.TransferLo
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); - + private java.util.List supportedPrivacy_ = + java.util.Collections.emptyList(); private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1486,45 +1329,34 @@ private void ensureSupportedPrivacyIsMutable() { } } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @return A list containing the supportedPrivacy. */ - public java.util.List - getSupportedPrivacyList() { + public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1532,14 +1364,11 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1555,14 +1384,11 @@ public Builder setSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1576,14 +1402,11 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1alpha2.ContactPriv return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1597,14 +1420,11 @@ public Builder addAllSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1614,28 +1434,23 @@ public Builder clearSupportedPrivacy() { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1643,33 +1458,28 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue(int index, int value) { + public Builder setSupportedPrivacyValue( + int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1680,18 +1490,16 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue( + java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1702,31 +1510,24 @@ public Builder addAllSupportedPrivacyValue(java.lang.Iterable private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1737,8 +1538,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1759,15 +1558,14 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; */ - public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice( + com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1778,8 +1576,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1790,7 +1586,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1802,8 +1598,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1822,8 +1616,6 @@ public Builder clearYearlyPrice() { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1831,13 +1623,11 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 6; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1848,12 +1638,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? + com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1861,22 +1650,21 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - getYearlyPrice(), getParentForChildren(), isClean()); + yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + getYearlyPrice(), + getParentForChildren(), + isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1886,12 +1674,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.TransferParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.TransferParameters) private static final com.google.cloud.domains.v1alpha2.TransferParameters DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.TransferParameters(); } @@ -1900,16 +1688,16 @@ public static com.google.cloud.domains.v1alpha2.TransferParameters getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1924,4 +1712,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.TransferParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java similarity index 81% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java index 05a9ce87..65297464 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java @@ -1,132 +1,94 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface TransferParametersOrBuilder - extends +public interface TransferParametersOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.TransferParameters) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The currentRegistrar. */ java.lang.String getCurrentRegistrar(); /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The bytes for currentRegistrar. */ - com.google.protobuf.ByteString getCurrentRegistrarBytes(); + com.google.protobuf.ByteString + getCurrentRegistrarBytes(); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return A list containing the nameServers. */ - java.util.List getNameServersList(); + java.util.List + getNameServersList(); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return The count of nameServers. */ int getNameServersCount(); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString getNameServersBytes(int index); + com.google.protobuf.ByteString + getNameServersBytes(int index); /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -134,13 +96,10 @@ public interface TransferParametersOrBuilder
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -148,101 +107,78 @@ public interface TransferParametersOrBuilder
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int index); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List getSupportedPrivacyValueList(); + java.util.List + getSupportedPrivacyValueList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java similarity index 69% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java index 448c0fb1..1c1f2af0 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** - * - * *
  * Request for the `UpdateRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.UpdateRegistrationRequest} */ -public final class UpdateRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.UpdateRegistrationRequest) UpdateRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRegistrationRequest.newBuilder() to construct. private UpdateRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRegistrationRequest() {} + private UpdateRegistrationRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateRegistrationRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = - input.readMessage( - com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = input.readMessage(com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private com.google.cloud.domains.v1alpha2.Registration registration_; /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; - * * @return Whether the registration field is set. */ @java.lang.Override @@ -153,25 +127,18 @@ public boolean hasRegistration() { return registration_ != null; } /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; - * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.Registration getRegistration() { - return registration_ == null - ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; } /** - * - * *
    * Fields of the `Registration` to update.
    * 
@@ -186,17 +153,13 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,17 +167,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -222,16 +181,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -239,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (registration_ != null) { output.writeMessage(1, getRegistration()); } @@ -268,10 +224,12 @@ public int getSerializedSize() { size = 0; if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegistration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRegistration()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -281,21 +239,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.domains.v1alpha2.UpdateRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest other = - (com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) obj; + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest other = (com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) obj; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,127 +281,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `UpdateRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.UpdateRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.UpdateRegistrationRequest) com.google.cloud.domains.v1alpha2.UpdateRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.newBuilder() @@ -450,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto - .internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; } @java.lang.Override @@ -499,8 +449,7 @@ public com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest buildPartial() { - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest result = - new com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest(this); + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest result = new com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest(this); if (registrationBuilder_ == null) { result.registration_ = registration_; } else { @@ -519,39 +468,38 @@ public com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -559,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest other) { - if (other == com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.getDefaultInstance()) return this; if (other.hasRegistration()) { mergeRegistration(other.getRegistration()); } @@ -586,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,47 +545,34 @@ public Builder mergeFrom( private com.google.cloud.domains.v1alpha2.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> - registrationBuilder_; + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> registrationBuilder_; /** - * - * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; - * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; - * * @return The registration. */ public com.google.cloud.domains.v1alpha2.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null - ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; } else { return registrationBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -660,8 +593,6 @@ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration va return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -680,8 +611,6 @@ public Builder setRegistration( return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -692,9 +621,7 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); } else { registration_ = value; } @@ -706,8 +633,6 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -726,8 +651,6 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -735,13 +658,11 @@ public Builder clearRegistration() { * .google.cloud.domains.v1alpha2.Registration registration = 1; */ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -752,14 +673,11 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null - ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? + com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; } } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -767,17 +685,14 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr * .google.cloud.domains.v1alpha2.Registration registration = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, - com.google.cloud.domains.v1alpha2.Registration.Builder, - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( - getRegistration(), getParentForChildren(), isClean()); + registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( + getRegistration(), + getParentForChildren(), + isClean()); registration_ = null; } return registrationBuilder_; @@ -785,61 +700,45 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -855,18 +754,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -877,22 +774,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -904,16 +798,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -927,74 +818,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.UpdateRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.UpdateRegistrationRequest) private static final com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest(); } @@ -1018,16 +896,16 @@ public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java index 76dfe806..9b569077 100644 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface UpdateRegistrationRequestOrBuilder - extends +public interface UpdateRegistrationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.UpdateRegistrationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; - * * @return Whether the registration field is set. */ boolean hasRegistration(); /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; - * * @return The registration. */ com.google.cloud.domains.v1alpha2.Registration getRegistration(); /** - * - * *
    * Fields of the `Registration` to update.
    * 
@@ -59,46 +35,35 @@ public interface UpdateRegistrationRequestOrBuilder com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto similarity index 100% rename from proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto rename to owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java index 47cff401..86fe2a21 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] +// [START domains_v1alpha2_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] import com.google.cloud.domains.v1alpha2.ContactSettings; import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.Registration; @@ -46,5 +45,4 @@ public static void syncConfigureContactSettingsRegistrationnameContactsettingsFi } } } -// [END -// domains_v1alpha2_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] +// [END domains_v1alpha2_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java similarity index 89% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java index 528aa19d..d328f985 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] +// [START domains_v1alpha2_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] import com.google.cloud.domains.v1alpha2.ContactSettings; import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.Registration; @@ -45,5 +44,4 @@ public static void syncConfigureContactSettingsStringContactsettingsFieldmask() } } } -// [END -// domains_v1alpha2_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] +// [END domains_v1alpha2_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettings.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettings.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java index f6d76049..818fbda1 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] +// [START domains_v1alpha2_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] import com.google.cloud.domains.v1alpha2.DnsSettings; import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.Registration; @@ -44,5 +43,4 @@ public static void syncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask( } } } -// [END -// domains_v1alpha2_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] +// [END domains_v1alpha2_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java similarity index 89% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java index 76175c99..02230f4e 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync] +// [START domains_v1alpha2_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync] import com.google.cloud.domains.v1alpha2.DnsSettings; import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.Registration; @@ -43,5 +42,4 @@ public static void syncConfigureDnsSettingsStringDnssettingsFieldmask() throws E } } } -// [END -// domains_v1alpha2_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync] +// [END domains_v1alpha2_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java index a8e5c3e8..94626bf0 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] +// [START domains_v1alpha2_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.ManagementSettings; import com.google.cloud.domains.v1alpha2.Registration; @@ -46,5 +45,4 @@ public static void syncConfigureManagementSettingsRegistrationnameManagementsett } } } -// [END -// domains_v1alpha2_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] +// [END domains_v1alpha2_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java index ad5a6047..db9a4951 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] +// [START domains_v1alpha2_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.ManagementSettings; import com.google.cloud.domains.v1alpha2.Registration; @@ -46,5 +45,4 @@ public static void syncConfigureManagementSettingsStringManagementsettingsFieldm } } } -// [END -// domains_v1alpha2_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] +// [END domains_v1alpha2_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistration.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistration.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java index 606410b1..c909e2b6 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java @@ -20,6 +20,7 @@ import com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest; import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.RegistrationName; +import com.google.protobuf.Empty; public class SyncDeleteRegistration { diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java index e203addf..36e372d5 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java @@ -19,6 +19,7 @@ // [START domains_v1alpha2_generated_domainsclient_deleteregistration_registrationname_sync] import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.RegistrationName; +import com.google.protobuf.Empty; public class SyncDeleteRegistrationRegistrationname { diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java index c98b6e15..ed5d5908 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java @@ -19,6 +19,7 @@ // [START domains_v1alpha2_generated_domainsclient_deleteregistration_string_sync] import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.RegistrationName; +import com.google.protobuf.Empty; public class SyncDeleteRegistrationString { diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistration.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistration.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistrationLRO.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistrationLRO.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistration.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistration.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/AsyncGetRegistration.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/AsyncGetRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/AsyncGetRegistration.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/AsyncGetRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistration.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistration.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrations.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrations.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrations.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrationsPaged.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrationsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrationsPaged.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrationsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrations.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrations.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrations.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsLocationname.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsLocationname.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomain.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomain.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomainLRO.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomainLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomainLRO.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomainLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomain.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomain.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java index fd5725a9..195fefdf 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_registerdomain_locationnameregistrationmoney_sync] +// [START domains_v1alpha2_generated_domainsclient_registerdomain_locationnameregistrationmoney_sync] import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.LocationName; import com.google.cloud.domains.v1alpha2.Registration; diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java index 8d524f77..1fe68534 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_retrieveregisterparameters_locationnamestring_sync] +// [START domains_v1alpha2_generated_domainsclient_retrieveregisterparameters_locationnamestring_sync] import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.LocationName; import com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse; diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java index 1b38d199..3c56d2be 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_retrievetransferparameters_locationnamestring_sync] +// [START domains_v1alpha2_generated_domainsclient_retrievetransferparameters_locationnamestring_sync] import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.LocationName; import com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse; diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/AsyncSearchDomains.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/AsyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/AsyncSearchDomains.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/AsyncSearchDomains.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomains.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomains.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomains.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsStringString.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsStringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsStringString.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsStringString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomain.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomain.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomainLRO.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomainLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomainLRO.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomainLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomain.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomain.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java index abcf7463..b7270b24 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] +// [START domains_v1alpha2_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] import com.google.cloud.domains.v1alpha2.AuthorizationCode; import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.LocationName; @@ -46,5 +45,4 @@ public static void syncTransferDomainLocationnameRegistrationMoneyAuthorizationc } } } -// [END -// domains_v1alpha2_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] +// [END domains_v1alpha2_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java similarity index 89% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java index 198646a4..82f50897 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java +++ b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1alpha2.samples; -// [START -// domains_v1alpha2_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] +// [START domains_v1alpha2_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] import com.google.cloud.domains.v1alpha2.AuthorizationCode; import com.google.cloud.domains.v1alpha2.DomainsClient; import com.google.cloud.domains.v1alpha2.LocationName; @@ -45,5 +44,4 @@ public static void syncTransferDomainStringRegistrationMoneyAuthorizationcode() } } } -// [END -// domains_v1alpha2_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] +// [END domains_v1alpha2_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistration.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistration.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistration.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistration.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainssettings/searchdomains/SyncSearchDomains.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainssettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainssettings/searchdomains/SyncSearchDomains.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainssettings/searchdomains/SyncSearchDomains.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1alpha2/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java b/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1alpha2/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java rename to owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java similarity index 98% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java index a0c5bc2c..3cde14c3 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java +++ b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java @@ -64,13 +64,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -189,6 +189,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -1304,9 +1305,9 @@ public final UnaryCallable getRegistration * use the appropriate custom update method: * *
    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1343,9 +1344,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1377,9 +1378,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1411,9 +1412,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -2127,9 +2128,9 @@ public final UnaryCallable exportRegistrat * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2174,9 +2175,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2218,9 +2219,9 @@ public final OperationFuture deleteRegistrationAsync(S * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2263,9 +2264,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2308,9 +2309,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2614,10 +2615,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRegistrationsPagedResponse extends AbstractPagedListResponse< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, - ListRegistrationsPage, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2638,9 +2636,7 @@ private ListRegistrationsPagedResponse(ListRegistrationsPage page) { public static class ListRegistrationsPage extends AbstractPage< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage> { private ListRegistrationsPage( @@ -2670,10 +2666,7 @@ public ApiFuture createPageAsync( public static class ListRegistrationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, - ListRegistrationsPage, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { private ListRegistrationsFixedSizeCollection( diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java similarity index 98% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java index a3e4dad6..eb5ec376 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java @@ -29,6 +29,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.domains.v1beta1.stub.DomainsStubSettings; @@ -45,9 +46,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/gapic_metadata.json b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/gapic_metadata.json similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/gapic_metadata.json rename to owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/gapic_metadata.json diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/package-info.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/package-info.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/package-info.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/package-info.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStub.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStub.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStub.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStub.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java similarity index 99% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java index 46d9bb33..940e55f1 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java @@ -87,9 +87,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -210,8 +210,7 @@ public Iterable extractResources(ListRegistrationsResponse payload ListRegistrationsRequest, ListRegistrationsResponse, ListRegistrationsPagedResponse> LIST_REGISTRATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListRegistrationsRequest, - ListRegistrationsResponse, + ListRegistrationsRequest, ListRegistrationsResponse, ListRegistrationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsCallableFactory.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsCallableFactory.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsCallableFactory.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java similarity index 99% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java index 0f88e7d0..ce59fac9 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java +++ b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java @@ -55,6 +55,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsCallableFactory.java similarity index 100% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsCallableFactory.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsCallableFactory.java diff --git a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java similarity index 99% rename from google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java index 4f68aa95..4f473573 100644 --- a/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java +++ b/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java @@ -30,6 +30,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientHttpJsonTest.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientHttpJsonTest.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientHttpJsonTest.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientHttpJsonTest.java diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientTest.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientTest.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientTest.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientTest.java diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomains.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomains.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomains.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomains.java diff --git a/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomainsImpl.java b/owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomainsImpl.java similarity index 100% rename from google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomainsImpl.java rename to owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomainsImpl.java diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java new file mode 100644 index 00000000..e0362311 --- /dev/null +++ b/owl-bot-staging/v1beta1/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java @@ -0,0 +1,1763 @@ +package com.google.cloud.domains.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Cloud Domains API enables management and configuration of domain names.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/domains/v1beta1/domains.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DomainsGrpc { + + private DomainsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.domains.v1beta1.Domains"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getSearchDomainsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchDomains", + requestType = com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, + responseType = com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchDomainsMethod() { + io.grpc.MethodDescriptor getSearchDomainsMethod; + if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { + DomainsGrpc.getSearchDomainsMethod = getSearchDomainsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.SearchDomainsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.SearchDomainsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) + .build(); + } + } + } + return getSearchDomainsMethod; + } + + private static volatile io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveRegisterParameters", + requestType = com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, + responseType = com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod() { + io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { + DomainsGrpc.getRetrieveRegisterParametersMethod = getRetrieveRegisterParametersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) + .build(); + } + } + } + return getRetrieveRegisterParametersMethod; + } + + private static volatile io.grpc.MethodDescriptor getRegisterDomainMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RegisterDomain", + requestType = com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRegisterDomainMethod() { + io.grpc.MethodDescriptor getRegisterDomainMethod; + if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { + DomainsGrpc.getRegisterDomainMethod = getRegisterDomainMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RegisterDomainRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) + .build(); + } + } + } + return getRegisterDomainMethod; + } + + private static volatile io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveTransferParameters", + requestType = com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, + responseType = com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRetrieveTransferParametersMethod() { + io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { + DomainsGrpc.getRetrieveTransferParametersMethod = getRetrieveTransferParametersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) + .build(); + } + } + } + return getRetrieveTransferParametersMethod; + } + + private static volatile io.grpc.MethodDescriptor getTransferDomainMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TransferDomain", + requestType = com.google.cloud.domains.v1beta1.TransferDomainRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTransferDomainMethod() { + io.grpc.MethodDescriptor getTransferDomainMethod; + if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { + DomainsGrpc.getTransferDomainMethod = getTransferDomainMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.TransferDomainRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) + .build(); + } + } + } + return getTransferDomainMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRegistrationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRegistrations", + requestType = com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, + responseType = com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRegistrationsMethod() { + io.grpc.MethodDescriptor getListRegistrationsMethod; + if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { + DomainsGrpc.getListRegistrationsMethod = getListRegistrationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ListRegistrationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ListRegistrationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) + .build(); + } + } + } + return getListRegistrationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRegistration", + requestType = com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, + responseType = com.google.cloud.domains.v1beta1.Registration.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRegistrationMethod() { + io.grpc.MethodDescriptor getGetRegistrationMethod; + if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { + DomainsGrpc.getGetRegistrationMethod = getGetRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.GetRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.Registration.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) + .build(); + } + } + } + return getGetRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRegistration", + requestType = com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRegistrationMethod() { + io.grpc.MethodDescriptor getUpdateRegistrationMethod; + if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { + DomainsGrpc.getUpdateRegistrationMethod = getUpdateRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("UpdateRegistration")) + .build(); + } + } + } + return getUpdateRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureManagementSettings", + requestType = com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getConfigureManagementSettingsMethod() { + io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; + if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { + DomainsGrpc.getConfigureManagementSettingsMethod = getConfigureManagementSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) + .build(); + } + } + } + return getConfigureManagementSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureDnsSettings", + requestType = com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getConfigureDnsSettingsMethod() { + io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; + if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { + DomainsGrpc.getConfigureDnsSettingsMethod = getConfigureDnsSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) + .build(); + } + } + } + return getConfigureDnsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getConfigureContactSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureContactSettings", + requestType = com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getConfigureContactSettingsMethod() { + io.grpc.MethodDescriptor getConfigureContactSettingsMethod; + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { + DomainsGrpc.getConfigureContactSettingsMethod = getConfigureContactSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) + .build(); + } + } + } + return getConfigureContactSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getExportRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportRegistration", + requestType = com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getExportRegistrationMethod() { + io.grpc.MethodDescriptor getExportRegistrationMethod; + if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { + DomainsGrpc.getExportRegistrationMethod = getExportRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ExportRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ExportRegistration")) + .build(); + } + } + } + return getExportRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRegistration", + requestType = com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRegistrationMethod() { + io.grpc.MethodDescriptor getDeleteRegistrationMethod; + if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { + DomainsGrpc.getDeleteRegistrationMethod = getDeleteRegistrationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("DeleteRegistration")) + .build(); + } + } + } + return getDeleteRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveAuthorizationCode", + requestType = com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, + responseType = com.google.cloud.domains.v1beta1.AuthorizationCode.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod() { + io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { + DomainsGrpc.getRetrieveAuthorizationCodeMethod = getRetrieveAuthorizationCodeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) + .build(); + } + } + } + return getRetrieveAuthorizationCodeMethod; + } + + private static volatile io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResetAuthorizationCode", + requestType = com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, + responseType = com.google.cloud.domains.v1beta1.AuthorizationCode.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getResetAuthorizationCodeMethod() { + io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; + if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { + DomainsGrpc.getResetAuthorizationCodeMethod = getResetAuthorizationCodeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) + .build(); + } + } + } + return getResetAuthorizationCodeMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DomainsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsStub(channel, callOptions); + } + }; + return DomainsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DomainsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsBlockingStub(channel, callOptions); + } + }; + return DomainsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DomainsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsFutureStub(channel, callOptions); + } + }; + return DomainsFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static abstract class DomainsImplBase implements io.grpc.BindableService { + + /** + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public void searchDomains(com.google.cloud.domains.v1beta1.SearchDomainsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchDomainsMethod(), responseObserver); + } + + /** + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public void retrieveRegisterParameters(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveRegisterParametersMethod(), responseObserver); + } + + /** + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public void registerDomain(com.google.cloud.domains.v1beta1.RegisterDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterDomainMethod(), responseObserver); + } + + /** + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public void retrieveTransferParameters(com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveTransferParametersMethod(), responseObserver); + } + + /** + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public void transferDomain(com.google.cloud.domains.v1beta1.TransferDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTransferDomainMethod(), responseObserver); + } + + /** + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public void listRegistrations(com.google.cloud.domains.v1beta1.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRegistrationsMethod(), responseObserver); + } + + /** + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public void getRegistration(com.google.cloud.domains.v1beta1.GetRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRegistrationMethod(), responseObserver); + } + + /** + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public void updateRegistration(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRegistrationMethod(), responseObserver); + } + + /** + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public void configureManagementSettings(com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureManagementSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public void configureDnsSettings(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureDnsSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public void configureContactSettings(com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureContactSettingsMethod(), responseObserver); + } + + /** + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public void exportRegistration(com.google.cloud.domains.v1beta1.ExportRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportRegistrationMethod(), responseObserver); + } + + /** + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public void deleteRegistration(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRegistrationMethod(), responseObserver); + } + + /** + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void retrieveAuthorizationCode(com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveAuthorizationCodeMethod(), responseObserver); + } + + /** + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void resetAuthorizationCode(com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetAuthorizationCodeMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getSearchDomainsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.SearchDomainsRequest, + com.google.cloud.domains.v1beta1.SearchDomainsResponse>( + this, METHODID_SEARCH_DOMAINS))) + .addMethod( + getRetrieveRegisterParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse>( + this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) + .addMethod( + getRegisterDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.RegisterDomainRequest, + com.google.longrunning.Operation>( + this, METHODID_REGISTER_DOMAIN))) + .addMethod( + getRetrieveTransferParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse>( + this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) + .addMethod( + getTransferDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.TransferDomainRequest, + com.google.longrunning.Operation>( + this, METHODID_TRANSFER_DOMAIN))) + .addMethod( + getListRegistrationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ListRegistrationsRequest, + com.google.cloud.domains.v1beta1.ListRegistrationsResponse>( + this, METHODID_LIST_REGISTRATIONS))) + .addMethod( + getGetRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.GetRegistrationRequest, + com.google.cloud.domains.v1beta1.Registration>( + this, METHODID_GET_REGISTRATION))) + .addMethod( + getUpdateRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_REGISTRATION))) + .addMethod( + getConfigureManagementSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) + .addMethod( + getConfigureDnsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_DNS_SETTINGS))) + .addMethod( + getConfigureContactSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_CONTACT_SETTINGS))) + .addMethod( + getExportRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ExportRegistrationRequest, + com.google.longrunning.Operation>( + this, METHODID_EXPORT_REGISTRATION))) + .addMethod( + getDeleteRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REGISTRATION))) + .addMethod( + getRetrieveAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1beta1.AuthorizationCode>( + this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) + .addMethod( + getResetAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1beta1.AuthorizationCode>( + this, METHODID_RESET_AUTHORIZATION_CODE))) + .build(); + } + } + + /** + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsStub extends io.grpc.stub.AbstractAsyncStub { + private DomainsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsStub(channel, callOptions); + } + + /** + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public void searchDomains(com.google.cloud.domains.v1beta1.SearchDomainsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public void retrieveRegisterParameters(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public void registerDomain(com.google.cloud.domains.v1beta1.RegisterDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public void retrieveTransferParameters(com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public void transferDomain(com.google.cloud.domains.v1beta1.TransferDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public void listRegistrations(com.google.cloud.domains.v1beta1.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public void getRegistration(com.google.cloud.domains.v1beta1.GetRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public void updateRegistration(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public void configureManagementSettings(com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public void configureDnsSettings(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public void configureContactSettings(com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public void exportRegistration(com.google.cloud.domains.v1beta1.ExportRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public void deleteRegistration(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void retrieveAuthorizationCode(com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void resetAuthorizationCode(com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DomainsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsBlockingStub(channel, callOptions); + } + + /** + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.SearchDomainsResponse searchDomains(com.google.cloud.domains.v1beta1.SearchDomainsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchDomainsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse retrieveRegisterParameters(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveRegisterParametersMethod(), getCallOptions(), request); + } + + /** + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public com.google.longrunning.Operation registerDomain(com.google.cloud.domains.v1beta1.RegisterDomainRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRegisterDomainMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse retrieveTransferParameters(com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveTransferParametersMethod(), getCallOptions(), request); + } + + /** + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public com.google.longrunning.Operation transferDomain(com.google.cloud.domains.v1beta1.TransferDomainRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTransferDomainMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.ListRegistrationsResponse listRegistrations(com.google.cloud.domains.v1beta1.ListRegistrationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRegistrationsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.Registration getRegistration(com.google.cloud.domains.v1beta1.GetRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRegistrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public com.google.longrunning.Operation updateRegistration(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRegistrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public com.google.longrunning.Operation configureManagementSettings(com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureManagementSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public com.google.longrunning.Operation configureDnsSettings(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureDnsSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public com.google.longrunning.Operation configureContactSettings(com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureContactSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public com.google.longrunning.Operation exportRegistration(com.google.cloud.domains.v1beta1.ExportRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportRegistrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public com.google.longrunning.Operation deleteRegistration(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRegistrationMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.AuthorizationCode retrieveAuthorizationCode(com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveAuthorizationCodeMethod(), getCallOptions(), request); + } + + /** + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.AuthorizationCode resetAuthorizationCode(com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResetAuthorizationCodeMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsFutureStub extends io.grpc.stub.AbstractFutureStub { + private DomainsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsFutureStub(channel, callOptions); + } + + /** + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchDomains( + com.google.cloud.domains.v1beta1.SearchDomainsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture retrieveRegisterParameters( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request); + } + + /** + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture registerDomain( + com.google.cloud.domains.v1beta1.RegisterDomainRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture retrieveTransferParameters( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request); + } + + /** + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture transferDomain( + com.google.cloud.domains.v1beta1.TransferDomainRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRegistrations( + com.google.cloud.domains.v1beta1.ListRegistrationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRegistration( + com.google.cloud.domains.v1beta1.GetRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRegistration( + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture configureManagementSettings( + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture configureDnsSettings( + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture configureContactSettings( + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture exportRegistration( + com.google.cloud.domains.v1beta1.ExportRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRegistration( + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture retrieveAuthorizationCode( + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request); + } + + /** + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture resetAuthorizationCode( + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_SEARCH_DOMAINS = 0; + private static final int METHODID_RETRIEVE_REGISTER_PARAMETERS = 1; + private static final int METHODID_REGISTER_DOMAIN = 2; + private static final int METHODID_RETRIEVE_TRANSFER_PARAMETERS = 3; + private static final int METHODID_TRANSFER_DOMAIN = 4; + private static final int METHODID_LIST_REGISTRATIONS = 5; + private static final int METHODID_GET_REGISTRATION = 6; + private static final int METHODID_UPDATE_REGISTRATION = 7; + private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 8; + private static final int METHODID_CONFIGURE_DNS_SETTINGS = 9; + private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 10; + private static final int METHODID_EXPORT_REGISTRATION = 11; + private static final int METHODID_DELETE_REGISTRATION = 12; + private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 13; + private static final int METHODID_RESET_AUTHORIZATION_CODE = 14; + + 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 DomainsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DomainsImplBase 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_SEARCH_DOMAINS: + serviceImpl.searchDomains((com.google.cloud.domains.v1beta1.SearchDomainsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RETRIEVE_REGISTER_PARAMETERS: + serviceImpl.retrieveRegisterParameters((com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REGISTER_DOMAIN: + serviceImpl.registerDomain((com.google.cloud.domains.v1beta1.RegisterDomainRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RETRIEVE_TRANSFER_PARAMETERS: + serviceImpl.retrieveTransferParameters((com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TRANSFER_DOMAIN: + serviceImpl.transferDomain((com.google.cloud.domains.v1beta1.TransferDomainRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REGISTRATIONS: + serviceImpl.listRegistrations((com.google.cloud.domains.v1beta1.ListRegistrationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REGISTRATION: + serviceImpl.getRegistration((com.google.cloud.domains.v1beta1.GetRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REGISTRATION: + serviceImpl.updateRegistration((com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_MANAGEMENT_SETTINGS: + serviceImpl.configureManagementSettings((com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_DNS_SETTINGS: + serviceImpl.configureDnsSettings((com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_CONTACT_SETTINGS: + serviceImpl.configureContactSettings((com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_REGISTRATION: + serviceImpl.exportRegistration((com.google.cloud.domains.v1beta1.ExportRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REGISTRATION: + serviceImpl.deleteRegistration((com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RETRIEVE_AUTHORIZATION_CODE: + serviceImpl.retrieveAuthorizationCode((com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESET_AUTHORIZATION_CODE: + serviceImpl.resetAuthorizationCode((com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class DomainsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DomainsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Domains"); + } + } + + private static final class DomainsFileDescriptorSupplier + extends DomainsBaseDescriptorSupplier { + DomainsFileDescriptorSupplier() {} + } + + private static final class DomainsMethodDescriptorSupplier + extends DomainsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DomainsMethodDescriptorSupplier(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 (DomainsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) + .addMethod(getSearchDomainsMethod()) + .addMethod(getRetrieveRegisterParametersMethod()) + .addMethod(getRegisterDomainMethod()) + .addMethod(getRetrieveTransferParametersMethod()) + .addMethod(getTransferDomainMethod()) + .addMethod(getListRegistrationsMethod()) + .addMethod(getGetRegistrationMethod()) + .addMethod(getUpdateRegistrationMethod()) + .addMethod(getConfigureManagementSettingsMethod()) + .addMethod(getConfigureDnsSettingsMethod()) + .addMethod(getConfigureContactSettingsMethod()) + .addMethod(getExportRegistrationMethod()) + .addMethod(getDeleteRegistrationMethod()) + .addMethod(getRetrieveAuthorizationCodeMethod()) + .addMethod(getResetAuthorizationCodeMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java similarity index 68% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java index ba31b9c7..496d66c7 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Defines an authorization code.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.AuthorizationCode} */ -public final class AuthorizationCode extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuthorizationCode extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.AuthorizationCode) AuthorizationCodeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuthorizationCode.newBuilder() to construct. private AuthorizationCode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuthorizationCode() { code_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuthorizationCode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AuthorizationCode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AuthorizationCode( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + code_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,40 +73,35 @@ private AuthorizationCode( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.AuthorizationCode.class, - com.google.cloud.domains.v1beta1.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1beta1.AuthorizationCode.class, com.google.cloud.domains.v1beta1.AuthorizationCode.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private volatile java.lang.Object code_; /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The code. */ @java.lang.Override @@ -133,30 +110,30 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } @@ -201,15 +178,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.domains.v1beta1.AuthorizationCode)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.AuthorizationCode other = - (com.google.cloud.domains.v1beta1.AuthorizationCode) obj; + com.google.cloud.domains.v1beta1.AuthorizationCode other = (com.google.cloud.domains.v1beta1.AuthorizationCode) obj; - if (!getCode().equals(other.getCode())) return false; + if (!getCode() + .equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.AuthorizationCode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines an authorization code.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.AuthorizationCode} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.AuthorizationCode) com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.AuthorizationCode.class, - com.google.cloud.domains.v1beta1.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1beta1.AuthorizationCode.class, com.google.cloud.domains.v1beta1.AuthorizationCode.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.AuthorizationCode.newBuilder() @@ -356,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; } @java.lang.Override @@ -395,8 +364,7 @@ public com.google.cloud.domains.v1beta1.AuthorizationCode build() { @java.lang.Override public com.google.cloud.domains.v1beta1.AuthorizationCode buildPartial() { - com.google.cloud.domains.v1beta1.AuthorizationCode result = - new com.google.cloud.domains.v1beta1.AuthorizationCode(this); + com.google.cloud.domains.v1beta1.AuthorizationCode result = new com.google.cloud.domains.v1beta1.AuthorizationCode(this); result.code_ = code_; onBuilt(); return result; @@ -406,39 +374,38 @@ public com.google.cloud.domains.v1beta1.AuthorizationCode buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.AuthorizationCode) { - return mergeFrom((com.google.cloud.domains.v1beta1.AuthorizationCode) other); + return mergeFrom((com.google.cloud.domains.v1beta1.AuthorizationCode)other); } else { super.mergeFrom(other); return this; @@ -446,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.AuthorizationCode other) { - if (other == com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance()) return this; if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); @@ -471,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.AuthorizationCode) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.AuthorizationCode) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -484,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object code_ = ""; /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -507,22 +470,21 @@ public java.lang.String getCode() { } } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @return The bytes for code. */ - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -530,71 +492,64 @@ public com.google.protobuf.ByteString getCodeBytes() { } } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(java.lang.String value) { + public Builder setCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** - * - * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; - * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -604,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.AuthorizationCode) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.AuthorizationCode) private static final com.google.cloud.domains.v1beta1.AuthorizationCode DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.AuthorizationCode(); } @@ -618,16 +573,16 @@ public static com.google.cloud.domains.v1beta1.AuthorizationCode getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthorizationCode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuthorizationCode(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthorizationCode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthorizationCode(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.AuthorizationCode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java similarity index 51% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java index 07767451..7c83b8f5 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface AuthorizationCodeOrBuilder - extends +public interface AuthorizationCodeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.AuthorizationCode) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The code. */ java.lang.String getCode(); /** - * - * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; - * * @return The bytes for code. */ - com.google.protobuf.ByteString getCodeBytes(); + com.google.protobuf.ByteString + getCodeBytes(); } diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java similarity index 72% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java index 45ae5ddf..e0575561 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `ConfigureContactSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureContactSettingsRequest} */ -public final class ConfigureContactSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigureContactSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) ConfigureContactSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigureContactSettingsRequest.newBuilder() to construct. - private ConfigureContactSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureContactSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigureContactSettingsRequest() { registration_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -45,15 +26,16 @@ private ConfigureContactSettingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigureContactSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConfigureContactSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,81 +55,73 @@ private ConfigureContactSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; + registration_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null; + if (contactSettings_ != null) { + subBuilder = contactSettings_.toBuilder(); + } + contactSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(contactSettings_); + contactSettings_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null; - if (contactSettings_ != null) { - subBuilder = contactSettings_.toBuilder(); - } - contactSettings_ = - input.readMessage( - com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(contactSettings_); - contactSettings_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 32: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { + contactNotices_.add(rawValue); + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); - break; } - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - contactNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 40: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(oldLimit); + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -155,7 +129,8 @@ private ConfigureContactSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -164,36 +139,28 @@ private ConfigureContactSettingsRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -202,32 +169,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -238,14 +203,11 @@ public com.google.protobuf.ByteString getRegistrationBytes() { public static final int CONTACT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.ContactSettings contactSettings_; /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; - * * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -253,25 +215,18 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; - * * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings getContactSettings() { - return contactSettings_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; } /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -286,17 +241,13 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -304,17 +255,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -322,16 +269,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -341,47 +285,36 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> - contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>() { public com.google.cloud.domains.v1beta1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactNotice result = - com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.ContactNotice result = com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ @java.lang.Override @@ -389,15 +322,12 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -406,31 +336,26 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return contactNotices_; } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -438,20 +363,16 @@ public java.util.List getContactNoticesValueList() { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } - private int contactNoticesMemoizedSerializedSize; public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_; /** - * - * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; - * * @return The validateOnly. */ @java.lang.Override @@ -460,7 +381,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -472,7 +392,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); @@ -506,26 +427,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContactSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getContactSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }contactNoticesMemoizedSerializedSize = dataSize; } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -535,25 +458,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.domains.v1beta1.ConfigureContactSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest other = - (com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) obj; + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest other = (com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings().equals(other.getContactSettings())) return false; + if (!getContactSettings() + .equals(other.getContactSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -580,134 +506,125 @@ public int hashCode() { hash = (53 * hash) + contactNotices_.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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureContactSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureContactSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.newBuilder() @@ -715,15 +632,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -749,14 +667,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.getDefaultInstance(); } @@ -771,8 +688,7 @@ public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest build() @java.lang.Override public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest buildPartial() { - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest result = - new com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest(this); + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest result = new com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest(this); int from_bitField0_ = bitField0_; result.registration_ = registration_; if (contactSettingsBuilder_ == null) { @@ -799,50 +715,46 @@ public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest other) { - if (other - == com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest other) { + if (other == com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -885,9 +797,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -896,28 +806,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -926,24 +831,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -951,70 +853,57 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -1022,47 +911,34 @@ public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1beta1.ContactSettings contactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, - com.google.cloud.domains.v1beta1.ContactSettings.Builder, - com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> - contactSettingsBuilder_; + com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> contactSettingsBuilder_; /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; - * * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; - * * @return The contactSettings. */ public com.google.cloud.domains.v1beta1.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1083,8 +959,6 @@ public Builder setContactSettings(com.google.cloud.domains.v1beta1.ContactSettin return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1103,8 +977,6 @@ public Builder setContactSettings( return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1115,9 +987,7 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1beta1.ContactSett if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(contactSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); } else { contactSettings_ = value; } @@ -1129,8 +999,6 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1beta1.ContactSett return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1149,8 +1017,6 @@ public Builder clearContactSettings() { return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1158,13 +1024,11 @@ public Builder clearContactSettings() { * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; */ public com.google.cloud.domains.v1beta1.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1175,14 +1039,11 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? + com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; } } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1190,17 +1051,14 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, - com.google.cloud.domains.v1beta1.ContactSettings.Builder, - com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, - com.google.cloud.domains.v1beta1.ContactSettings.Builder, - com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( - getContactSettings(), getParentForChildren(), isClean()); + contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( + getContactSettings(), + getParentForChildren(), + isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -1208,61 +1066,45 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1278,18 +1120,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1300,22 +1140,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1327,16 +1164,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1350,74 +1184,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private java.util.List contactNotices_ = java.util.Collections.emptyList(); - + private java.util.List contactNotices_ = + java.util.Collections.emptyList(); private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1425,47 +1246,37 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1473,15 +1284,12 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1497,15 +1305,12 @@ public Builder setContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1519,15 +1324,12 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1541,15 +1343,12 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1559,30 +1358,25 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1590,35 +1384,30 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue(int index, int value) { + public Builder setContactNoticesValue( + int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1629,19 +1418,17 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue(java.lang.Iterable values) { + public Builder addAllContactNoticesValue( + java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1650,16 +1437,13 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; - * * @return The validateOnly. */ @java.lang.Override @@ -1667,43 +1451,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1713,32 +1491,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) - private static final com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest(); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureContactSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureContactSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureContactSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureContactSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1750,8 +1526,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java index 00b0a0fc..d545d5a2 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ConfigureContactSettingsRequestOrBuilder - extends +public interface ConfigureContactSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ java.lang.String getRegistration(); /** - * - * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - com.google.protobuf.ByteString getRegistrationBytes(); + com.google.protobuf.ByteString + getRegistrationBytes(); /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; - * * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; - * * @return The contactSettings. */ com.google.cloud.domains.v1beta1.ContactSettings getContactSettings(); /** - * - * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -90,126 +57,98 @@ public interface ConfigureContactSettingsRequestOrBuilder com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ int getContactNoticesCount(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int index); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List getContactNoticesValueList(); + java.util.List + getContactNoticesValueList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** - * - * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java similarity index 72% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java index 1f6e28da..0e47b44d 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `ConfigureDnsSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest} */ -public final class ConfigureDnsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigureDnsSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) ConfigureDnsSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigureDnsSettingsRequest.newBuilder() to construct. private ConfigureDnsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigureDnsSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigureDnsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConfigureDnsSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,56 +53,50 @@ private ConfigureDnsSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; + registration_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1beta1.DnsSettings.Builder subBuilder = null; + if (dnsSettings_ != null) { + subBuilder = dnsSettings_.toBuilder(); } - case 18: - { - com.google.cloud.domains.v1beta1.DnsSettings.Builder subBuilder = null; - if (dnsSettings_ != null) { - subBuilder = dnsSettings_.toBuilder(); - } - dnsSettings_ = - input.readMessage( - com.google.cloud.domains.v1beta1.DnsSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsSettings_); - dnsSettings_ = subBuilder.buildPartial(); - } - - break; + dnsSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsSettings_); + dnsSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 32: - { - validateOnly_ = input.readBool(); - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +104,35 @@ private ConfigureDnsSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -171,32 +141,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -207,14 +175,11 @@ public com.google.protobuf.ByteString getRegistrationBytes() { public static final int DNS_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.DnsSettings dnsSettings_; /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; - * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -222,25 +187,18 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; - * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings() { - return dnsSettings_ == null - ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_; } /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -255,8 +213,6 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -268,9 +224,7 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -278,8 +232,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -291,9 +243,7 @@ public boolean hasUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -301,8 +251,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -314,8 +262,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -325,14 +272,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** - * - * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -341,7 +285,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -353,7 +296,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -379,13 +323,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDnsSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -395,24 +342,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.domains.v1beta1.ConfigureDnsSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest other = - (com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) obj; + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest other = (com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings().equals(other.getDnsSettings())) return false; + if (!getDnsSettings() + .equals(other.getDnsSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -435,134 +385,125 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureDnsSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.newBuilder() @@ -570,15 +511,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -602,14 +544,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.getDefaultInstance(); } @@ -624,8 +565,7 @@ public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest buildPartial() { - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest result = - new com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest(this); + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest result = new com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest(this); result.registration_ = registration_; if (dnsSettingsBuilder_ == null) { result.dnsSettings_ = dnsSettings_; @@ -646,39 +586,38 @@ public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest)other); } else { super.mergeFrom(other); return this; @@ -686,9 +625,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest other) { - if (other - == com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -721,8 +658,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -734,23 +670,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -759,24 +691,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -784,70 +713,57 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -855,47 +771,34 @@ public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1beta1.DnsSettings dnsSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings, - com.google.cloud.domains.v1beta1.DnsSettings.Builder, - com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> - dnsSettingsBuilder_; + com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> dnsSettingsBuilder_; /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; - * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; - * * @return The dnsSettings. */ public com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null - ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -916,8 +819,6 @@ public Builder setDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings value return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -936,8 +837,6 @@ public Builder setDnsSettings( return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -948,9 +847,7 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings val if (dnsSettingsBuilder_ == null) { if (dnsSettings_ != null) { dnsSettings_ = - com.google.cloud.domains.v1beta1.DnsSettings.newBuilder(dnsSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial(); } else { dnsSettings_ = value; } @@ -962,8 +859,6 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings val return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -982,8 +877,6 @@ public Builder clearDnsSettings() { return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -991,13 +884,11 @@ public Builder clearDnsSettings() { * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; */ public com.google.cloud.domains.v1beta1.DnsSettings.Builder getDnsSettingsBuilder() { - + onChanged(); return getDnsSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -1008,14 +899,11 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui if (dnsSettingsBuilder_ != null) { return dnsSettingsBuilder_.getMessageOrBuilder(); } else { - return dnsSettings_ == null - ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? + com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_; } } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -1023,17 +911,14 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings, - com.google.cloud.domains.v1beta1.DnsSettings.Builder, - com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> + com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> getDnsSettingsFieldBuilder() { if (dnsSettingsBuilder_ == null) { - dnsSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings, - com.google.cloud.domains.v1beta1.DnsSettings.Builder, - com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>( - getDnsSettings(), getParentForChildren(), isClean()); + dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>( + getDnsSettings(), + getParentForChildren(), + isClean()); dnsSettings_ = null; } return dnsSettingsBuilder_; @@ -1041,13 +926,8 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1059,17 +939,13 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1081,23 +957,17 @@ public boolean hasUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1109,8 +979,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1126,8 +995,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1139,10 +1006,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1153,8 +1020,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1166,14 +1031,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1185,8 +1049,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1198,8 +1060,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1213,8 +1074,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1226,17 +1085,14 @@ public Builder clearUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1248,21 +1104,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1274,36 +1126,29 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1311,43 +1156,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1357,13 +1196,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) - private static final com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest(); } @@ -1372,16 +1210,16 @@ public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureDnsSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureDnsSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureDnsSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureDnsSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,4 +1234,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java index d350792c..d05776ba 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ConfigureDnsSettingsRequestOrBuilder - extends +public interface ConfigureDnsSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ java.lang.String getRegistration(); /** - * - * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - com.google.protobuf.ByteString getRegistrationBytes(); + com.google.protobuf.ByteString + getRegistrationBytes(); /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; - * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; - * * @return The dnsSettings. */ com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings(); /** - * - * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -90,8 +57,6 @@ public interface ConfigureDnsSettingsRequestOrBuilder com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -103,15 +68,11 @@ public interface ConfigureDnsSettingsRequestOrBuilder
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -123,15 +84,11 @@ public interface ConfigureDnsSettingsRequestOrBuilder
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -143,20 +100,16 @@ public interface ConfigureDnsSettingsRequestOrBuilder
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java similarity index 66% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java index 28a6aaf3..903bbfdb 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `ConfigureManagementSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest} */ -public final class ConfigureManagementSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigureManagementSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) ConfigureManagementSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigureManagementSettingsRequest.newBuilder() to construct. - private ConfigureManagementSettingsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureManagementSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigureManagementSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigureManagementSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConfigureManagementSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,52 +53,45 @@ private ConfigureManagementSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; + registration_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1beta1.ManagementSettings.Builder subBuilder = null; + if (managementSettings_ != null) { + subBuilder = managementSettings_.toBuilder(); } - case 18: - { - com.google.cloud.domains.v1beta1.ManagementSettings.Builder subBuilder = null; - if (managementSettings_ != null) { - subBuilder = managementSettings_.toBuilder(); - } - managementSettings_ = - input.readMessage( - com.google.cloud.domains.v1beta1.ManagementSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(managementSettings_); - managementSettings_ = subBuilder.buildPartial(); - } - - break; + managementSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.ManagementSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(managementSettings_); + managementSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -124,42 +99,35 @@ private ConfigureManagementSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -168,32 +136,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -204,14 +170,11 @@ public com.google.protobuf.ByteString getRegistrationBytes() { public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.ManagementSettings managementSettings_; /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; - * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -219,25 +182,18 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; - * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings() { - return managementSettings_ == null - ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_; } /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -245,25 +201,20 @@ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder - getManagementSettingsOrBuilder() { + public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() { return getManagementSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -271,17 +222,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -289,16 +236,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -306,7 +250,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,7 +261,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -341,10 +285,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getManagementSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -354,22 +300,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.domains.v1beta1.ConfigureManagementSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest other = - (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) obj; + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest other = (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings().equals(other.getManagementSettings())) return false; + if (!getManagementSettings() + .equals(other.getManagementSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -398,145 +346,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest - 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.domains.v1beta1.ConfigureManagementSettingsRequest 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.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureManagementSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.Builder.class); } - // Construct using - // com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.newBuilder() + // Construct using com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -558,16 +495,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest - getDefaultInstanceForType() { - return com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest - .getDefaultInstance(); + public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest getDefaultInstanceForType() { + return com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -581,8 +516,7 @@ public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest build @java.lang.Override public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest buildPartial() { - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest result = - new com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest(this); + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest result = new com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest(this); result.registration_ = registration_; if (managementSettingsBuilder_ == null) { result.managementSettings_ = managementSettings_; @@ -602,51 +536,46 @@ public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) { - return mergeFrom( - (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest other) { - if (other - == com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest other) { + if (other == com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -676,9 +605,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -690,23 +617,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -715,24 +638,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -740,70 +660,57 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -811,55 +718,41 @@ public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1beta1.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ManagementSettings, - com.google.cloud.domains.v1beta1.ManagementSettings.Builder, - com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> - managementSettingsBuilder_; + com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> managementSettingsBuilder_; /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; - * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; - * * @return The managementSettings. */ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null - ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ - public Builder setManagementSettings( - com.google.cloud.domains.v1beta1.ManagementSettings value) { + public Builder setManagementSettings(com.google.cloud.domains.v1beta1.ManagementSettings value) { if (managementSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -873,8 +766,6 @@ public Builder setManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -893,22 +784,17 @@ public Builder setManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ - public Builder mergeManagementSettings( - com.google.cloud.domains.v1beta1.ManagementSettings value) { + public Builder mergeManagementSettings(com.google.cloud.domains.v1beta1.ManagementSettings value) { if (managementSettingsBuilder_ == null) { if (managementSettings_ != null) { managementSettings_ = - com.google.cloud.domains.v1beta1.ManagementSettings.newBuilder(managementSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial(); } else { managementSettings_ = value; } @@ -920,8 +806,6 @@ public Builder mergeManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -940,42 +824,33 @@ public Builder clearManagementSettings() { return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ - public com.google.cloud.domains.v1beta1.ManagementSettings.Builder - getManagementSettingsBuilder() { - + public com.google.cloud.domains.v1beta1.ManagementSettings.Builder getManagementSettingsBuilder() { + onChanged(); return getManagementSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ - public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder - getManagementSettingsOrBuilder() { + public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() { if (managementSettingsBuilder_ != null) { return managementSettingsBuilder_.getMessageOrBuilder(); } else { - return managementSettings_ == null - ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? + com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_; } } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -983,17 +858,14 @@ public Builder clearManagementSettings() { * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ManagementSettings, - com.google.cloud.domains.v1beta1.ManagementSettings.Builder, - com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> + com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> getManagementSettingsFieldBuilder() { if (managementSettingsBuilder_ == null) { - managementSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ManagementSettings, - com.google.cloud.domains.v1beta1.ManagementSettings.Builder, - com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder>( - getManagementSettings(), getParentForChildren(), isClean()); + managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder>( + getManagementSettings(), + getParentForChildren(), + isClean()); managementSettings_ = null; } return managementSettingsBuilder_; @@ -1001,61 +873,45 @@ public Builder clearManagementSettings() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1071,18 +927,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1093,22 +947,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1120,16 +971,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1143,74 +991,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1220,32 +1055,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) - private static final com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest(); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureManagementSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureManagementSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureManagementSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureManagementSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1257,8 +1090,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java index 67e5c055..bfb71d70 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ConfigureManagementSettingsRequestOrBuilder - extends +public interface ConfigureManagementSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ java.lang.String getRegistration(); /** - * - * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - com.google.protobuf.ByteString getRegistrationBytes(); + com.google.protobuf.ByteString + getRegistrationBytes(); /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; - * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; - * * @return The managementSettings. */ com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings(); /** - * - * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -90,46 +57,35 @@ public interface ConfigureManagementSettingsRequestOrBuilder com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java similarity index 67% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java index fc252847..494222df 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Notices related to contact information.
  * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.ContactNotice} */ -public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { +public enum ContactNotice + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The notice is undefined.
    * 
@@ -39,8 +21,6 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { */ CONTACT_NOTICE_UNSPECIFIED(0), /** - * - * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -53,8 +33,6 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * The notice is undefined.
    * 
@@ -63,8 +41,6 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTACT_NOTICE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -74,6 +50,7 @@ public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT_VALUE = 1;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -98,47 +75,48 @@ public static ContactNotice valueOf(int value) {
    */
   public static ContactNotice forNumber(int value) {
     switch (value) {
-      case 0:
-        return CONTACT_NOTICE_UNSPECIFIED;
-      case 1:
-        return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
-      default:
-        return null;
+      case 0: return CONTACT_NOTICE_UNSPECIFIED;
+      case 1: return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
+      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 ContactNotice findValueByNumber(int number) {
-          return ContactNotice.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ContactNotice> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ContactNotice findValueByNumber(int number) {
+            return ContactNotice.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.domains.v1beta1.DomainsProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final ContactNotice[] VALUES = values();
 
-  public static ContactNotice valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactNotice valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -154,3 +132,4 @@ private ContactNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1beta1.ContactNotice)
 }
+
diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java
similarity index 75%
rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java
index d9e6a204..2674f6a6 100644
--- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1beta1/domains.proto
 
 package com.google.cloud.domains.v1beta1;
 
 /**
- *
- *
  * 
  * Defines a set of possible contact privacy settings for a `Registration`.
  * [ICANN](https://icann.org/) maintains the WHOIS database, a publicly
@@ -31,10 +14,9 @@
  *
  * Protobuf enum {@code google.cloud.domains.v1beta1.ContactPrivacy}
  */
-public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
+public enum ContactPrivacy
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -43,8 +25,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum { */ CONTACT_PRIVACY_UNSPECIFIED(0), /** - * - * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -56,8 +36,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   PUBLIC_CONTACT_DATA(1),
   /**
-   *
-   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -69,8 +47,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   PRIVATE_CONTACT_DATA(2),
   /**
-   *
-   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -85,8 +61,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -95,8 +69,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTACT_PRIVACY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -108,8 +80,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PUBLIC_CONTACT_DATA_VALUE = 1;
   /**
-   *
-   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -121,8 +91,6 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PRIVATE_CONTACT_DATA_VALUE = 2;
   /**
-   *
-   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -134,6 +102,7 @@ public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int REDACTED_CONTACT_DATA_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -158,51 +127,50 @@ public static ContactPrivacy valueOf(int value) {
    */
   public static ContactPrivacy forNumber(int value) {
     switch (value) {
-      case 0:
-        return CONTACT_PRIVACY_UNSPECIFIED;
-      case 1:
-        return PUBLIC_CONTACT_DATA;
-      case 2:
-        return PRIVATE_CONTACT_DATA;
-      case 3:
-        return REDACTED_CONTACT_DATA;
-      default:
-        return null;
+      case 0: return CONTACT_PRIVACY_UNSPECIFIED;
+      case 1: return PUBLIC_CONTACT_DATA;
+      case 2: return PRIVATE_CONTACT_DATA;
+      case 3: return REDACTED_CONTACT_DATA;
+      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 ContactPrivacy findValueByNumber(int number) {
-          return ContactPrivacy.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ContactPrivacy> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ContactPrivacy findValueByNumber(int number) {
+            return ContactPrivacy.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.domains.v1beta1.DomainsProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final ContactPrivacy[] VALUES = values();
 
-  public static ContactPrivacy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactPrivacy valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -218,3 +186,4 @@ private ContactPrivacy(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1beta1.ContactPrivacy)
 }
+
diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java
similarity index 66%
rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java
index 4adae71f..c2c5cb14 100644
--- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1beta1/domains.proto
 
 package com.google.cloud.domains.v1beta1;
 
 /**
- *
- *
  * 
  * Defines the contact information associated with a `Registration`.
  * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -30,31 +13,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1beta1.ContactSettings}
  */
-public final class ContactSettings extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContactSettings extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ContactSettings)
     ContactSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContactSettings.newBuilder() to construct.
   private ContactSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ContactSettings() {
     privacy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ContactSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ContactSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,71 +56,58 @@ private ContactSettings(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              privacy_ = rawValue;
-              break;
+            privacy_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
+            if (registrantContact_ != null) {
+              subBuilder = registrantContact_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
-              if (registrantContact_ != null) {
-                subBuilder = registrantContact_.toBuilder();
-              }
-              registrantContact_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(registrantContact_);
-                registrantContact_ = subBuilder.buildPartial();
-              }
-
-              break;
+            registrantContact_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(registrantContact_);
+              registrantContact_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
-              if (adminContact_ != null) {
-                subBuilder = adminContact_.toBuilder();
-              }
-              adminContact_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(adminContact_);
-                adminContact_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
+            if (adminContact_ != null) {
+              subBuilder = adminContact_.toBuilder();
+            }
+            adminContact_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(adminContact_);
+              adminContact_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
-              if (technicalContact_ != null) {
-                subBuilder = technicalContact_.toBuilder();
-              }
-              technicalContact_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(technicalContact_);
-                technicalContact_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 34: {
+            com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
+            if (technicalContact_ != null) {
+              subBuilder = technicalContact_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            technicalContact_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(technicalContact_);
+              technicalContact_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -145,172 +115,137 @@ private ContactSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.domains.v1beta1.DomainsProto
-        .internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1beta1.DomainsProto
-        .internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1beta1.ContactSettings.class,
-            com.google.cloud.domains.v1beta1.ContactSettings.Builder.class);
+            com.google.cloud.domains.v1beta1.ContactSettings.class, com.google.cloud.domains.v1beta1.ContactSettings.Builder.class);
   }
 
-  public interface ContactOrBuilder
-      extends
+  public interface ContactOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ContactSettings.Contact)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder(); /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The email. */ java.lang.String getEmail(); /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for email. */ - com.google.protobuf.ByteString getEmailBytes(); + com.google.protobuf.ByteString + getEmailBytes(); /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The phoneNumber. */ java.lang.String getPhoneNumber(); /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for phoneNumber. */ - com.google.protobuf.ByteString getPhoneNumberBytes(); + com.google.protobuf.ByteString + getPhoneNumberBytes(); /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The faxNumber. */ java.lang.String getFaxNumber(); /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The bytes for faxNumber. */ - com.google.protobuf.ByteString getFaxNumberBytes(); + com.google.protobuf.ByteString + getFaxNumberBytes(); } /** - * - * *
    * Details required for a contact associated with a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ContactSettings.Contact} */ - public static final class Contact extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Contact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ContactSettings.Contact) ContactOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Contact.newBuilder() to construct. private Contact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Contact() { email_ = ""; phoneNumber_ = ""; @@ -319,15 +254,16 @@ private Contact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Contact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Contact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -346,49 +282,44 @@ private Contact( case 0: done = true; break; - case 10: - { - com.google.type.PostalAddress.Builder subBuilder = null; - if (postalAddress_ != null) { - subBuilder = postalAddress_.toBuilder(); - } - postalAddress_ = - input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(postalAddress_); - postalAddress_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.type.PostalAddress.Builder subBuilder = null; + if (postalAddress_ != null) { + subBuilder = postalAddress_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - email_ = s; - break; + postalAddress_ = input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(postalAddress_); + postalAddress_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - phoneNumber_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - faxNumber_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + email_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + phoneNumber_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + faxNumber_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -396,41 +327,34 @@ private Contact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ContactSettings.Contact.class, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1beta1.ContactSettings.Contact.class, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder.class); } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 1; private com.google.type.PostalAddress postalAddress_; /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -438,34 +362,23 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } /** - * - * *
      * Required. Postal address of the contact.
      * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { @@ -475,14 +388,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { public static final int EMAIL_FIELD_NUMBER = 2; private volatile java.lang.Object email_; /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The email. */ @java.lang.Override @@ -491,29 +401,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** - * - * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -524,15 +434,12 @@ public com.google.protobuf.ByteString getEmailBytes() { public static final int PHONE_NUMBER_FIELD_NUMBER = 3; private volatile java.lang.Object phoneNumber_; /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The phoneNumber. */ @java.lang.Override @@ -541,30 +448,30 @@ public java.lang.String getPhoneNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; } } /** - * - * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for phoneNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getPhoneNumberBytes() { + public com.google.protobuf.ByteString + getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -575,15 +482,12 @@ public com.google.protobuf.ByteString getPhoneNumberBytes() { public static final int FAX_NUMBER_FIELD_NUMBER = 4; private volatile java.lang.Object faxNumber_; /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The faxNumber. */ @java.lang.Override @@ -592,30 +496,30 @@ public java.lang.String getFaxNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; } } /** - * - * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; - * * @return The bytes for faxNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getFaxNumberBytes() { + public com.google.protobuf.ByteString + getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -624,7 +528,6 @@ public com.google.protobuf.ByteString getFaxNumberBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -636,7 +539,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (postalAddress_ != null) { output.writeMessage(1, getPostalAddress()); } @@ -659,7 +563,8 @@ public int getSerializedSize() { size = 0; if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPostalAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_); @@ -678,21 +583,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.domains.v1beta1.ContactSettings.Contact)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ContactSettings.Contact other = - (com.google.cloud.domains.v1beta1.ContactSettings.Contact) obj; + com.google.cloud.domains.v1beta1.ContactSettings.Contact other = (com.google.cloud.domains.v1beta1.ContactSettings.Contact) obj; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress().equals(other.getPostalAddress())) return false; - } - if (!getEmail().equals(other.getEmail())) return false; - if (!getPhoneNumber().equals(other.getPhoneNumber())) return false; - if (!getFaxNumber().equals(other.getFaxNumber())) return false; + if (!getPostalAddress() + .equals(other.getPostalAddress())) return false; + } + if (!getEmail() + .equals(other.getEmail())) return false; + if (!getPhoneNumber() + .equals(other.getPhoneNumber())) return false; + if (!getFaxNumber() + .equals(other.getFaxNumber())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -720,94 +628,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.ContactSettings.Contact prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.ContactSettings.Contact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -817,32 +718,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details required for a contact associated with a `Registration`.
      * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ContactSettings.Contact} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ContactSettings.Contact) com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ContactSettings.Contact.class, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1beta1.ContactSettings.Contact.class, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder() @@ -850,15 +746,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -878,9 +775,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; } @java.lang.Override @@ -899,8 +796,7 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Contact build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings.Contact buildPartial() { - com.google.cloud.domains.v1beta1.ContactSettings.Contact result = - new com.google.cloud.domains.v1beta1.ContactSettings.Contact(this); + com.google.cloud.domains.v1beta1.ContactSettings.Contact result = new com.google.cloud.domains.v1beta1.ContactSettings.Contact(this); if (postalAddressBuilder_ == null) { result.postalAddress_ = postalAddress_; } else { @@ -917,41 +813,38 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Contact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.domains.v1beta1.ContactSettings.Contact) { - return mergeFrom((com.google.cloud.domains.v1beta1.ContactSettings.Contact) other); + return mergeFrom((com.google.cloud.domains.v1beta1.ContactSettings.Contact)other); } else { super.mergeFrom(other); return this; @@ -959,8 +852,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ContactSettings.Contact other) { - if (other == com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance()) return this; if (other.hasPostalAddress()) { mergePostalAddress(other.getPostalAddress()); } @@ -995,8 +887,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.ContactSettings.Contact) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.ContactSettings.Contact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1008,58 +899,39 @@ public Builder mergeFrom( private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> - postalAddressBuilder_; + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { @@ -1075,17 +947,14 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) { + public Builder setPostalAddress( + com.google.type.PostalAddress.Builder builderForValue) { if (postalAddressBuilder_ == null) { postalAddress_ = builderForValue.build(); onChanged(); @@ -1096,23 +965,17 @@ public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderFor return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergePostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { if (postalAddress_ != null) { postalAddress_ = - com.google.type.PostalAddress.newBuilder(postalAddress_) - .mergeFrom(value) - .buildPartial(); + com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial(); } else { postalAddress_ = value; } @@ -1124,15 +987,11 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPostalAddress() { if (postalAddressBuilder_ == null) { @@ -1146,64 +1005,48 @@ public Builder clearPostalAddress() { return this; } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.PostalAddress.Builder getPostalAddressBuilder() { - + onChanged(); return getPostalAddressFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { if (postalAddressBuilder_ != null) { return postalAddressBuilder_.getMessageOrBuilder(); } else { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? + com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } } /** - * - * *
        * Required. Postal address of the contact.
        * 
* - * - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> getPostalAddressFieldBuilder() { if (postalAddressBuilder_ == null) { - postalAddressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder>( - getPostalAddress(), getParentForChildren(), isClean()); + postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( + getPostalAddress(), + getParentForChildren(), + isClean()); postalAddress_ = null; } return postalAddressBuilder_; @@ -1211,20 +1054,18 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { private java.lang.Object email_ = ""; /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -1233,21 +1074,20 @@ public java.lang.String getEmail() { } } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for email. */ - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -1255,61 +1095,54 @@ public com.google.protobuf.ByteString getEmailBytes() { } } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail(java.lang.String value) { + public Builder setEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** - * - * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes(com.google.protobuf.ByteString value) { + public Builder setEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; @@ -1317,21 +1150,19 @@ public Builder setEmailBytes(com.google.protobuf.ByteString value) { private java.lang.Object phoneNumber_ = ""; /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The phoneNumber. */ public java.lang.String getPhoneNumber() { java.lang.Object ref = phoneNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; @@ -1340,22 +1171,21 @@ public java.lang.String getPhoneNumber() { } } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for phoneNumber. */ - public com.google.protobuf.ByteString getPhoneNumberBytes() { + public com.google.protobuf.ByteString + getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -1363,64 +1193,57 @@ public com.google.protobuf.ByteString getPhoneNumberBytes() { } } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumber(java.lang.String value) { + public Builder setPhoneNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phoneNumber_ = value; onChanged(); return this; } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPhoneNumber() { - + phoneNumber_ = getDefaultInstance().getPhoneNumber(); onChanged(); return this; } /** - * - * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { + public Builder setPhoneNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phoneNumber_ = value; onChanged(); return this; @@ -1428,21 +1251,19 @@ public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { private java.lang.Object faxNumber_ = ""; /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @return The faxNumber. */ public java.lang.String getFaxNumber() { java.lang.Object ref = faxNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; @@ -1451,22 +1272,21 @@ public java.lang.String getFaxNumber() { } } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @return The bytes for faxNumber. */ - public com.google.protobuf.ByteString getFaxNumberBytes() { + public com.google.protobuf.ByteString + getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -1474,69 +1294,61 @@ public com.google.protobuf.ByteString getFaxNumberBytes() { } } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @param value The faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumber(java.lang.String value) { + public Builder setFaxNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + faxNumber_ = value; onChanged(); return this; } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @return This builder for chaining. */ public Builder clearFaxNumber() { - + faxNumber_ = getDefaultInstance().getFaxNumber(); onChanged(); return this; } /** - * - * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; - * * @param value The bytes for faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumberBytes(com.google.protobuf.ByteString value) { + public Builder setFaxNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + faxNumber_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1549,12 +1361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ContactSettings.Contact) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ContactSettings.Contact) private static final com.google.cloud.domains.v1beta1.ContactSettings.Contact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ContactSettings.Contact(); } @@ -1563,16 +1375,16 @@ public static com.google.cloud.domains.v1beta1.ContactSettings.Contact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Contact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Contact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Contact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Contact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1587,53 +1399,39 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.ContactSettings.Contact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PRIVACY_FIELD_NUMBER = 1; private int privacy_; /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override - public int getPrivacyValue() { + @java.lang.Override public int getPrivacyValue() { return privacy_; } /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The privacy. */ - @java.lang.Override - public com.google.cloud.domains.v1beta1.ContactPrivacy getPrivacy() { + @java.lang.Override public com.google.cloud.domains.v1beta1.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactPrivacy result = - com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(privacy_); + com.google.cloud.domains.v1beta1.ContactPrivacy result = com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(privacy_); return result == null ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED : result; } public static final int REGISTRANT_CONTACT_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.ContactSettings.Contact registrantContact_; /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1643,10 +1441,7 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getPrivacy() {
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registrantContact field is set. */ @java.lang.Override @@ -1654,8 +1449,6 @@ public boolean hasRegistrantContact() { return registrantContact_ != null; } /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1665,21 +1458,14 @@ public boolean hasRegistrantContact() {
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registrantContact. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings.Contact getRegistrantContact() { - return registrantContact_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() - : registrantContact_; + return registrantContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; } /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1689,29 +1475,21 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getRegistrantCon
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder - getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { return getRegistrantContact(); } public static final int ADMIN_CONTACT_FIELD_NUMBER = 3; private com.google.cloud.domains.v1beta1.ContactSettings.Contact adminContact_; /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adminContact field is set. */ @java.lang.Override @@ -1719,54 +1497,37 @@ public boolean hasAdminContact() { return adminContact_ != null; } /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The adminContact. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings.Contact getAdminContact() { - return adminContact_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() - : adminContact_; + return adminContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : adminContact_; } /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder - getAdminContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { return getAdminContact(); } public static final int TECHNICAL_CONTACT_FIELD_NUMBER = 4; private com.google.cloud.domains.v1beta1.ContactSettings.Contact technicalContact_; /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the technicalContact field is set. */ @java.lang.Override @@ -1774,43 +1535,30 @@ public boolean hasTechnicalContact() { return technicalContact_ != null; } /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The technicalContact. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings.Contact getTechnicalContact() { - return technicalContact_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() - : technicalContact_; + return technicalContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; } /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder - getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { return getTechnicalContact(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1822,10 +1570,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (privacy_ - != com.google.cloud.domains.v1beta1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (privacy_ != com.google.cloud.domains.v1beta1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { output.writeEnum(1, privacy_); } if (registrantContact_ != null) { @@ -1846,19 +1593,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (privacy_ - != com.google.cloud.domains.v1beta1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, privacy_); + if (privacy_ != com.google.cloud.domains.v1beta1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, privacy_); } if (registrantContact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistrantContact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRegistrantContact()); } if (adminContact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAdminContact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAdminContact()); } if (technicalContact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTechnicalContact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTechnicalContact()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1868,26 +1617,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.domains.v1beta1.ContactSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ContactSettings other = - (com.google.cloud.domains.v1beta1.ContactSettings) obj; + com.google.cloud.domains.v1beta1.ContactSettings other = (com.google.cloud.domains.v1beta1.ContactSettings) obj; if (privacy_ != other.privacy_) return false; if (hasRegistrantContact() != other.hasRegistrantContact()) return false; if (hasRegistrantContact()) { - if (!getRegistrantContact().equals(other.getRegistrantContact())) return false; + if (!getRegistrantContact() + .equals(other.getRegistrantContact())) return false; } if (hasAdminContact() != other.hasAdminContact()) return false; if (hasAdminContact()) { - if (!getAdminContact().equals(other.getAdminContact())) return false; + if (!getAdminContact() + .equals(other.getAdminContact())) return false; } if (hasTechnicalContact() != other.hasTechnicalContact()) return false; if (hasTechnicalContact()) { - if (!getTechnicalContact().equals(other.getTechnicalContact())) return false; + if (!getTechnicalContact() + .equals(other.getTechnicalContact())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1919,104 +1670,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ContactSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ContactSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.ContactSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines the contact information associated with a `Registration`.
    * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -2026,23 +1770,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.ContactSettings}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ContactSettings)
       com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.ContactSettings.class,
-              com.google.cloud.domains.v1beta1.ContactSettings.Builder.class);
+              com.google.cloud.domains.v1beta1.ContactSettings.class, com.google.cloud.domains.v1beta1.ContactSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1beta1.ContactSettings.newBuilder()
@@ -2050,15 +1792,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2086,9 +1829,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
     }
 
     @java.lang.Override
@@ -2107,8 +1850,7 @@ public com.google.cloud.domains.v1beta1.ContactSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1beta1.ContactSettings buildPartial() {
-      com.google.cloud.domains.v1beta1.ContactSettings result =
-          new com.google.cloud.domains.v1beta1.ContactSettings(this);
+      com.google.cloud.domains.v1beta1.ContactSettings result = new com.google.cloud.domains.v1beta1.ContactSettings(this);
       result.privacy_ = privacy_;
       if (registrantContactBuilder_ == null) {
         result.registrantContact_ = registrantContact_;
@@ -2133,39 +1875,38 @@ public com.google.cloud.domains.v1beta1.ContactSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1beta1.ContactSettings) {
-        return mergeFrom((com.google.cloud.domains.v1beta1.ContactSettings) other);
+        return mergeFrom((com.google.cloud.domains.v1beta1.ContactSettings)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2173,8 +1914,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.domains.v1beta1.ContactSettings other) {
-      if (other == com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance()) return this;
       if (other.privacy_ != 0) {
         setPrivacyValue(other.getPrivacyValue());
       }
@@ -2218,73 +1958,51 @@ public Builder mergeFrom(
 
     private int privacy_ = 0;
     /**
-     *
-     *
      * 
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override - public int getPrivacyValue() { + @java.lang.Override public int getPrivacyValue() { return privacy_; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for privacy to set. * @return This builder for chaining. */ public Builder setPrivacyValue(int value) { - + privacy_ = value; onChanged(); return this; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The privacy. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactPrivacy result = - com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(privacy_); + com.google.cloud.domains.v1beta1.ContactPrivacy result = com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(privacy_); return result == null ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED : result; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The privacy to set. * @return This builder for chaining. */ @@ -2292,26 +2010,21 @@ public Builder setPrivacy(com.google.cloud.domains.v1beta1.ContactPrivacy value) if (value == null) { throw new NullPointerException(); } - + privacy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearPrivacy() { - + privacy_ = 0; onChanged(); return this; @@ -2319,13 +2032,8 @@ public Builder clearPrivacy() { private com.google.cloud.domains.v1beta1.ContactSettings.Contact registrantContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> - registrantContactBuilder_; + com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> registrantContactBuilder_; /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2335,18 +2043,13 @@ public Builder clearPrivacy() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registrantContact field is set. */ public boolean hasRegistrantContact() { return registrantContactBuilder_ != null || registrantContact_ != null; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2356,24 +2059,17 @@ public boolean hasRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registrantContact. */ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getRegistrantContact() { if (registrantContactBuilder_ == null) { - return registrantContact_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() - : registrantContact_; + return registrantContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; } else { return registrantContactBuilder_.getMessage(); } } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2383,12 +2079,9 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getRegistrantCon
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRegistrantContact( - com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { + public Builder setRegistrantContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2402,8 +2095,6 @@ public Builder setRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2413,9 +2104,7 @@ public Builder setRegistrantContact(
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistrantContact( com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder builderForValue) { @@ -2429,8 +2118,6 @@ public Builder setRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2440,19 +2127,13 @@ public Builder setRegistrantContact(
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeRegistrantContact( - com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { + public Builder mergeRegistrantContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { if (registrantContact_ != null) { registrantContact_ = - com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder( - registrantContact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder(registrantContact_).mergeFrom(value).buildPartial(); } else { registrantContact_ = value; } @@ -2464,8 +2145,6 @@ public Builder mergeRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2475,9 +2154,7 @@ public Builder mergeRegistrantContact(
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRegistrantContact() { if (registrantContactBuilder_ == null) { @@ -2491,8 +2168,6 @@ public Builder clearRegistrantContact() { return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2502,19 +2177,14 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder - getRegistrantContactBuilder() { - + public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder getRegistrantContactBuilder() { + onChanged(); return getRegistrantContactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2524,23 +2194,17 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder - getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { if (registrantContactBuilder_ != null) { return registrantContactBuilder_.getMessageOrBuilder(); } else { - return registrantContact_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() - : registrantContact_; + return registrantContact_ == null ? + com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; } } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2550,22 +2214,17 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> getRegistrantContactFieldBuilder() { if (registrantContactBuilder_ == null) { - registrantContactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( - getRegistrantContact(), getParentForChildren(), isClean()); + registrantContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( + getRegistrantContact(), + getParentForChildren(), + isClean()); registrantContact_ = null; } return registrantContactBuilder_; @@ -2573,58 +2232,39 @@ public Builder clearRegistrantContact() { private com.google.cloud.domains.v1beta1.ContactSettings.Contact adminContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> - adminContactBuilder_; + com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> adminContactBuilder_; /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adminContact field is set. */ public boolean hasAdminContact() { return adminContactBuilder_ != null || adminContact_ != null; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The adminContact. */ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getAdminContact() { if (adminContactBuilder_ == null) { - return adminContact_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() - : adminContact_; + return adminContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : adminContact_; } else { return adminContactBuilder_.getMessage(); } } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAdminContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { @@ -2640,15 +2280,11 @@ public Builder setAdminContact(com.google.cloud.domains.v1beta1.ContactSettings. return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAdminContact( com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder builderForValue) { @@ -2662,24 +2298,17 @@ public Builder setAdminContact( return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAdminContact( - com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { + public Builder mergeAdminContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { if (adminContact_ != null) { adminContact_ = - com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder(adminContact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder(adminContact_).mergeFrom(value).buildPartial(); } else { adminContact_ = value; } @@ -2691,15 +2320,11 @@ public Builder mergeAdminContact( return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAdminContact() { if (adminContactBuilder_ == null) { @@ -2713,66 +2338,48 @@ public Builder clearAdminContact() { return this; } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder - getAdminContactBuilder() { - + public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder getAdminContactBuilder() { + onChanged(); return getAdminContactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder - getAdminContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { if (adminContactBuilder_ != null) { return adminContactBuilder_.getMessageOrBuilder(); } else { - return adminContact_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() - : adminContact_; + return adminContact_ == null ? + com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : adminContact_; } } /** - * - * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> getAdminContactFieldBuilder() { if (adminContactBuilder_ == null) { - adminContactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( - getAdminContact(), getParentForChildren(), isClean()); + adminContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( + getAdminContact(), + getParentForChildren(), + isClean()); adminContact_ = null; } return adminContactBuilder_; @@ -2780,61 +2387,41 @@ public Builder clearAdminContact() { private com.google.cloud.domains.v1beta1.ContactSettings.Contact technicalContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> - technicalContactBuilder_; + com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> technicalContactBuilder_; /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the technicalContact field is set. */ public boolean hasTechnicalContact() { return technicalContactBuilder_ != null || technicalContact_ != null; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The technicalContact. */ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getTechnicalContact() { if (technicalContactBuilder_ == null) { - return technicalContact_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() - : technicalContact_; + return technicalContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; } else { return technicalContactBuilder_.getMessage(); } } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTechnicalContact( - com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { + public Builder setTechnicalContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2848,15 +2435,11 @@ public Builder setTechnicalContact( return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTechnicalContact( com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder builderForValue) { @@ -2870,24 +2453,17 @@ public Builder setTechnicalContact( return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeTechnicalContact( - com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { + public Builder mergeTechnicalContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { if (technicalContact_ != null) { technicalContact_ = - com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder(technicalContact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder(technicalContact_).mergeFrom(value).buildPartial(); } else { technicalContact_ = value; } @@ -2899,15 +2475,11 @@ public Builder mergeTechnicalContact( return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTechnicalContact() { if (technicalContactBuilder_ == null) { @@ -2921,73 +2493,55 @@ public Builder clearTechnicalContact() { return this; } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder - getTechnicalContactBuilder() { - + public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder getTechnicalContactBuilder() { + onChanged(); return getTechnicalContactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder - getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { if (technicalContactBuilder_ != null) { return technicalContactBuilder_.getMessageOrBuilder(); } else { - return technicalContact_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() - : technicalContact_; + return technicalContact_ == null ? + com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; } } /** - * - * *
      * Required. The technical contact for the `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> getTechnicalContactFieldBuilder() { if (technicalContactBuilder_ == null) { - technicalContactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, - com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, - com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( - getTechnicalContact(), getParentForChildren(), isClean()); + technicalContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( + getTechnicalContact(), + getParentForChildren(), + isClean()); technicalContact_ = null; } return technicalContactBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2997,12 +2551,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ContactSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ContactSettings) private static final com.google.cloud.domains.v1beta1.ContactSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ContactSettings(); } @@ -3011,16 +2565,16 @@ public static com.google.cloud.domains.v1beta1.ContactSettings getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContactSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContactSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContactSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContactSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3035,4 +2589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.ContactSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java similarity index 59% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java index a8d56a2f..62f490db 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java @@ -1,60 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ContactSettingsOrBuilder - extends +public interface ContactSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ContactSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for privacy. */ int getPrivacyValue(); /** - * - * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The privacy. */ com.google.cloud.domains.v1beta1.ContactPrivacy getPrivacy(); /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -64,16 +36,11 @@ public interface ContactSettingsOrBuilder
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registrantContact field is set. */ boolean hasRegistrantContact(); /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -83,16 +50,11 @@ public interface ContactSettingsOrBuilder
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registrantContact. */ com.google.cloud.domains.v1beta1.ContactSettings.Contact getRegistrantContact(); /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -102,91 +64,61 @@ public interface ContactSettingsOrBuilder
    * suspension.*
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder(); /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adminContact field is set. */ boolean hasAdminContact(); /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The adminContact. */ com.google.cloud.domains.v1beta1.ContactSettings.Contact getAdminContact(); /** - * - * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder(); /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the technicalContact field is set. */ boolean hasTechnicalContact(); /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The technicalContact. */ com.google.cloud.domains.v1beta1.ContactSettings.Contact getTechnicalContact(); /** - * - * *
    * Required. The technical contact for the `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder(); } diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java similarity index 65% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java index c2b34ce1..48cb77e0 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `DeleteRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.DeleteRegistrationRequest} */ -public final class DeleteRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DeleteRegistrationRequest) DeleteRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRegistrationRequest.newBuilder() to construct. private DeleteRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRegistrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 @@ -135,32 +110,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 `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,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.domains.v1beta1.DeleteRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest other = - (com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) obj; + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest other = (com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `DeleteRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.DeleteRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DeleteRegistrationRequest) com.google.cloud.domains.v1beta1.DeleteRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.domains.v1beta1.DeleteRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.DeleteRegistrationRequest buildPartial() { - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest result = - new com.google.cloud.domains.v1beta1.DeleteRegistrationRequest(this); + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest result = new com.google.cloud.domains.v1beta1.DeleteRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.domains.v1beta1.DeleteRegistrationRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.DeleteRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest other) { - if (other == com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DeleteRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DeleteRegistrationRequest) private static final com.google.cloud.domains.v1beta1.DeleteRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DeleteRegistrationRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1beta1.DeleteRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..c37b2bcf --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1beta1/domains.proto + +package com.google.cloud.domains.v1beta1; + +public interface DeleteRegistrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DeleteRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java similarity index 75% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java index b9ae9f0c..05c7cfce 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Defines the DNS configuration of a `Registration`, including name servers,
  * DNSSEC, and glue records.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings}
  */
-public final class DnsSettings extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DnsSettings extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DnsSettings)
     DnsSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DnsSettings.newBuilder() to construct.
   private DnsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DnsSettings() {
     glueRecords_ = 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 DnsSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DnsSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,68 +55,50 @@ private DnsSettings(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder subBuilder = null;
-              if (dnsProviderCase_ == 1) {
-                subBuilder =
-                    ((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_)
-                        .toBuilder();
-              }
-              dnsProvider_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_);
-                dnsProvider_ = subBuilder.buildPartial();
-              }
-              dnsProviderCase_ = 1;
-              break;
+          case 10: {
+            com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder subBuilder = null;
+            if (dnsProviderCase_ == 1) {
+              subBuilder = ((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_).toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder subBuilder =
-                  null;
-              if (dnsProviderCase_ == 2) {
-                subBuilder =
-                    ((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_)
-                        .toBuilder();
-              }
-              dnsProvider_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_);
-                dnsProvider_ = subBuilder.buildPartial();
-              }
-              dnsProviderCase_ = 2;
-              break;
+            dnsProvider_ =
+                input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_);
+              dnsProvider_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                glueRecords_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              glueRecords_.add(
-                  input.readMessage(
-                      com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.parser(),
-                      extensionRegistry));
-              break;
+            dnsProviderCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder subBuilder = null;
+            if (dnsProviderCase_ == 2) {
+              subBuilder = ((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            dnsProvider_ =
+                input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_);
+              dnsProvider_ = subBuilder.buildPartial();
             }
+            dnsProviderCase_ = 2;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              glueRecords_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
+            }
+            glueRecords_.add(
+                input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -141,7 +106,8 @@ private DnsSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         glueRecords_ = java.util.Collections.unmodifiableList(glueRecords_);
@@ -150,35 +116,29 @@ private DnsSettings(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.domains.v1beta1.DomainsProto
-        .internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1beta1.DomainsProto
-        .internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1beta1.DnsSettings.class,
-            com.google.cloud.domains.v1beta1.DnsSettings.Builder.class);
+            com.google.cloud.domains.v1beta1.DnsSettings.class, com.google.cloud.domains.v1beta1.DnsSettings.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The publication state of DS records for a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.DnsSettings.DsState} */ - public enum DsState implements com.google.protobuf.ProtocolMessageEnum { + public enum DsState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * DS state is unspecified.
      * 
@@ -187,8 +147,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum { */ DS_STATE_UNSPECIFIED(0), /** - * - * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -198,8 +156,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
      */
     DS_RECORDS_UNPUBLISHED(1),
     /**
-     *
-     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -214,8 +170,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * DS state is unspecified.
      * 
@@ -224,8 +178,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DS_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -235,8 +187,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DS_RECORDS_UNPUBLISHED_VALUE = 1;
     /**
-     *
-     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -248,6 +198,7 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DS_RECORDS_PUBLISHED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -272,49 +223,49 @@ public static DsState valueOf(int value) {
      */
     public static DsState forNumber(int value) {
       switch (value) {
-        case 0:
-          return DS_STATE_UNSPECIFIED;
-        case 1:
-          return DS_RECORDS_UNPUBLISHED;
-        case 2:
-          return DS_RECORDS_PUBLISHED;
-        default:
-          return null;
+        case 0: return DS_STATE_UNSPECIFIED;
+        case 1: return DS_RECORDS_UNPUBLISHED;
+        case 2: return DS_RECORDS_PUBLISHED;
+        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<
+        DsState> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DsState findValueByNumber(int number) {
+              return DsState.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DsState findValueByNumber(int number) {
-            return DsState.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.domains.v1beta1.DnsSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DsState[] VALUES = values();
 
-    public static DsState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DsState 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;
@@ -331,14 +282,11 @@ private DsState(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1beta1.DnsSettings.DsState)
   }
 
-  public interface CustomDnsOrBuilder
-      extends
+  public interface CustomDnsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DnsSettings.CustomDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -346,13 +294,11 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the nameServers. */ - java.util.List getNameServersList(); + java.util.List + getNameServersList(); /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -360,13 +306,10 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of nameServers. */ int getNameServersCount(); /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -374,14 +317,11 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -389,15 +329,13 @@ public interface CustomDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString getNameServersBytes(int index); + com.google.protobuf.ByteString + getNameServersBytes(int index); /** - * - * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -406,10 +344,9 @@ public interface CustomDnsOrBuilder
      *
      * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List getDsRecordsList();
+    java.util.List 
+        getDsRecordsList();
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -420,8 +357,6 @@ public interface CustomDnsOrBuilder
      */
     com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int index);
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -432,8 +367,6 @@ public interface CustomDnsOrBuilder
      */
     int getDsRecordsCount();
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -442,11 +375,9 @@ public interface CustomDnsOrBuilder
      *
      * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List
+    java.util.List 
         getDsRecordsOrBuilderList();
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -455,27 +386,25 @@ public interface CustomDnsOrBuilder
      *
      * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
      */
-    com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index);
+    com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * Configuration for an arbitrary DNS provider.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.CustomDns} */ - public static final class CustomDns extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CustomDns extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DnsSettings.CustomDns) CustomDnsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomDns.newBuilder() to construct. private CustomDns(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomDns() { nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; dsRecords_ = java.util.Collections.emptyList(); @@ -483,15 +412,16 @@ private CustomDns() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomDns(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CustomDns( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -511,37 +441,31 @@ private CustomDns( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nameServers_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - dsRecords_ = - new java.util.ArrayList< - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord>(); - mutable_bitField0_ |= 0x00000002; - } - dsRecords_.add( - input.readMessage( - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.parser(), - extensionRegistry)); - break; + nameServers_.add(s); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + dsRecords_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dsRecords_.add( + input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -549,7 +473,8 @@ private CustomDns( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -561,27 +486,22 @@ private CustomDns( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.class, - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.class, com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder.class); } public static final int NAME_SERVERS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList nameServers_; /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -589,15 +509,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_; } /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -605,15 +523,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -621,7 +536,6 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -629,8 +543,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -638,19 +550,17 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_RECORDS_FIELD_NUMBER = 2; private java.util.List dsRecords_; /** - * - * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -660,13 +570,10 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
      * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
      */
     @java.lang.Override
-    public java.util.List
-        getDsRecordsList() {
+    public java.util.List getDsRecordsList() {
       return dsRecords_;
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -676,13 +583,11 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
      * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getDsRecordsOrBuilderList() {
       return dsRecords_;
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -696,8 +601,6 @@ public int getDsRecordsCount() {
       return dsRecords_.size();
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -711,8 +614,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int in
       return dsRecords_.get(index);
     }
     /**
-     *
-     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -728,7 +629,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -740,7 +640,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < nameServers_.size(); i++) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i));
       }
@@ -765,7 +666,8 @@ public int getSerializedSize() {
         size += 1 * getNameServersList().size();
       }
       for (int i = 0; i < dsRecords_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dsRecords_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, dsRecords_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -775,16 +677,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.domains.v1beta1.DnsSettings.CustomDns)) {
         return super.equals(obj);
       }
-      com.google.cloud.domains.v1beta1.DnsSettings.CustomDns other =
-          (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) obj;
+      com.google.cloud.domains.v1beta1.DnsSettings.CustomDns other = (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) obj;
 
-      if (!getNameServersList().equals(other.getNameServersList())) return false;
-      if (!getDsRecordsList().equals(other.getDsRecordsList())) return false;
+      if (!getNameServersList()
+          .equals(other.getNameServersList())) return false;
+      if (!getDsRecordsList()
+          .equals(other.getDsRecordsList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -810,94 +713,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.domains.v1beta1.DnsSettings.CustomDns prototype) {
+    public static Builder newBuilder(com.google.cloud.domains.v1beta1.DnsSettings.CustomDns prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -907,32 +803,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Configuration for an arbitrary DNS provider.
      * 
* * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.CustomDns} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DnsSettings.CustomDns) com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.class, - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.class, com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.newBuilder() @@ -940,17 +831,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDsRecordsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -966,9 +857,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; } @java.lang.Override @@ -987,8 +878,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns build() { @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns buildPartial() { - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns result = - new com.google.cloud.domains.v1beta1.DnsSettings.CustomDns(this); + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns result = new com.google.cloud.domains.v1beta1.DnsSettings.CustomDns(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -1012,41 +902,38 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.domains.v1beta1.DnsSettings.CustomDns) { - return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) other); + return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns)other); } else { super.mergeFrom(other); return this; @@ -1054,8 +941,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.CustomDns other) { - if (other == com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance()) return this; if (!other.nameServers_.isEmpty()) { if (nameServers_.isEmpty()) { nameServers_ = other.nameServers_; @@ -1084,10 +970,9 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.CustomDns dsRecordsBuilder_ = null; dsRecords_ = other.dsRecords_; bitField0_ = (bitField0_ & ~0x00000002); - dsRecordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDsRecordsFieldBuilder() - : null; + dsRecordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDsRecordsFieldBuilder() : null; } else { dsRecordsBuilder_.addAllMessages(other.dsRecords_); } @@ -1112,8 +997,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1122,21 +1006,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList nameServers_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1144,15 +1023,13 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_.getUnmodifiableView(); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1160,15 +1037,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1176,7 +1050,6 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1184,8 +1057,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1193,16 +1064,14 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1210,23 +1079,21 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers(int index, java.lang.String value) { + public Builder setNameServers( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1234,22 +1101,20 @@ public Builder setNameServers(int index, java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers(java.lang.String value) { + public Builder addNameServers( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1257,19 +1122,18 @@ public Builder addNameServers(java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers(java.lang.Iterable values) { + public Builder addAllNameServers( + java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nameServers_); onChanged(); return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1277,7 +1141,6 @@ public Builder addAllNameServers(java.lang.Iterable values) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1287,8 +1150,6 @@ public Builder clearNameServers() { return this; } /** - * - * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1296,15 +1157,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes(com.google.protobuf.ByteString value) { + public Builder addNameServersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1312,26 +1173,18 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) { } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = - new java.util.ArrayList( - dsRecords_); + dsRecords_ = new java.util.ArrayList(dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> - dsRecordsBuilder_; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; /** - * - * *
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1340,8 +1193,7 @@ private void ensureDsRecordsIsMutable() {
        *
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List
-          getDsRecordsList() {
+      public java.util.List getDsRecordsList() {
         if (dsRecordsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(dsRecords_);
         } else {
@@ -1349,8 +1201,6 @@ private void ensureDsRecordsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1367,8 +1217,6 @@ public int getDsRecordsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1385,8 +1233,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int in
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1410,8 +1256,6 @@ public Builder setDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1421,8 +1265,7 @@ public Builder setDsRecords(
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder setDsRecords(
-          int index,
-          com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) {
+          int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
           dsRecords_.set(index, builderForValue.build());
@@ -1433,8 +1276,6 @@ public Builder setDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1457,8 +1298,6 @@ public Builder addDsRecords(com.google.cloud.domains.v1beta1.DnsSettings.DsRecor
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1482,8 +1321,6 @@ public Builder addDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1504,8 +1341,6 @@ public Builder addDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1515,8 +1350,7 @@ public Builder addDsRecords(
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder addDsRecords(
-          int index,
-          com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) {
+          int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
           dsRecords_.add(index, builderForValue.build());
@@ -1527,8 +1361,6 @@ public Builder addDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1538,11 +1370,11 @@ public Builder addDsRecords(
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder addAllDsRecords(
-          java.lang.Iterable
-              values) {
+          java.lang.Iterable values) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, dsRecords_);
           onChanged();
         } else {
           dsRecordsBuilder_.addAllMessages(values);
@@ -1550,8 +1382,6 @@ public Builder addAllDsRecords(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1571,8 +1401,6 @@ public Builder clearDsRecords() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1592,8 +1420,6 @@ public Builder removeDsRecords(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1607,8 +1433,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder getDsRecord
         return getDsRecordsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1620,14 +1444,11 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder getDsRecord
       public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
           int index) {
         if (dsRecordsBuilder_ == null) {
-          return dsRecords_.get(index);
-        } else {
+          return dsRecords_.get(index);  } else {
           return dsRecordsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1636,9 +1457,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor
        *
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List<
-              ? extends com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>
-          getDsRecordsOrBuilderList() {
+      public java.util.List 
+           getDsRecordsOrBuilderList() {
         if (dsRecordsBuilder_ != null) {
           return dsRecordsBuilder_.getMessageOrBuilderList();
         } else {
@@ -1646,8 +1466,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor
         }
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1657,12 +1475,10 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
       public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecordsBuilder() {
-        return getDsRecordsFieldBuilder()
-            .addBuilder(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder().addBuilder(
+            com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1673,13 +1489,10 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecord
        */
       public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecordsBuilder(
           int index) {
-        return getDsRecordsFieldBuilder()
-            .addBuilder(
-                index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder().addBuilder(
+            index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1688,28 +1501,24 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecord
        *
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List
-          getDsRecordsBuilderList() {
+      public java.util.List 
+           getDsRecordsBuilderList() {
         return getDsRecordsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord,
-              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder,
-              com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>
+          com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> 
           getDsRecordsFieldBuilder() {
         if (dsRecordsBuilder_ == null) {
-          dsRecordsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.domains.v1beta1.DnsSettings.DsRecord,
-                  com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder,
-                  com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>(
-                  dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+          dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>(
+                  dsRecords_,
+                  ((bitField0_ & 0x00000002) != 0),
+                  getParentForChildren(),
+                  isClean());
           dsRecords_ = null;
         }
         return dsRecordsBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1722,12 +1531,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DnsSettings.CustomDns)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DnsSettings.CustomDns)
     private static final com.google.cloud.domains.v1beta1.DnsSettings.CustomDns DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DnsSettings.CustomDns();
     }
@@ -1736,16 +1545,16 @@ public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getDefaultI
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CustomDns parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new CustomDns(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CustomDns parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new CustomDns(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1760,16 +1569,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface GoogleDomainsDnsOrBuilder
-      extends
+  public interface GoogleDomainsDnsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1778,13 +1585,11 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the nameServers. */ - java.util.List getNameServersList(); + java.util.List + getNameServersList(); /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1793,13 +1598,10 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of nameServers. */ int getNameServersCount(); /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1808,14 +1610,11 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1824,118 +1623,88 @@ public interface GoogleDomainsDnsOrBuilder
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString getNameServersBytes(int index); + com.google.protobuf.ByteString + getNameServersBytes(int index); /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dsState. */ int getDsStateValue(); /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dsState. */ com.google.cloud.domains.v1beta1.DnsSettings.DsState getDsState(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getDsRecordsList(); + java.util.List + getDsRecordsList(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int index); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getDsRecordsCount(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getDsRecordsOrBuilderList(); /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index); + com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( + int index); } /** - * - * *
    * Configuration for using the free DNS zone provided by Google Domains as a
    * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -1945,16 +1714,15 @@ public interface GoogleDomainsDnsOrBuilder
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns}
    */
-  public static final class GoogleDomainsDns extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class GoogleDomainsDns extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns)
       GoogleDomainsDnsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use GoogleDomainsDns.newBuilder() to construct.
     private GoogleDomainsDns(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private GoogleDomainsDns() {
       nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       dsState_ = 0;
@@ -1963,15 +1731,16 @@ private GoogleDomainsDns() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new GoogleDomainsDns();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private GoogleDomainsDns(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1991,44 +1760,37 @@ private GoogleDomainsDns(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  nameServers_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                nameServers_.add(s);
-                break;
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                nameServers_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+              nameServers_.add(s);
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                dsState_ = rawValue;
-                break;
-              }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  dsRecords_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.domains.v1beta1.DnsSettings.DsRecord>();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                dsRecords_.add(
-                    input.readMessage(
-                        com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.parser(),
-                        extensionRegistry));
-                break;
+              dsState_ = rawValue;
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                dsRecords_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              dsRecords_.add(
+                  input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2036,7 +1798,8 @@ private GoogleDomainsDns(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -2048,27 +1811,22 @@ private GoogleDomainsDns(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.class,
-              com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder.class);
+              com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder.class);
     }
 
     public static final int NAME_SERVERS_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList nameServers_;
     /**
-     *
-     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2077,15 +1835,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_; } /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2094,15 +1850,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2111,7 +1864,6 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -2119,8 +1871,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -2129,142 +1879,106 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_STATE_FIELD_NUMBER = 2; private int dsState_; /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override - public int getDsStateValue() { + @java.lang.Override public int getDsStateValue() { return dsState_; } /** - * - * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dsState. */ - @java.lang.Override - public com.google.cloud.domains.v1beta1.DnsSettings.DsState getDsState() { + @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsState result = - com.google.cloud.domains.v1beta1.DnsSettings.DsState.valueOf(dsState_); - return result == null - ? com.google.cloud.domains.v1beta1.DnsSettings.DsState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsState result = com.google.cloud.domains.v1beta1.DnsSettings.DsState.valueOf(dsState_); + return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsState.UNRECOGNIZED : result; } public static final int DS_RECORDS_FIELD_NUMBER = 3; private java.util.List dsRecords_; /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getDsRecordsList() { + public java.util.List getDsRecordsList() { return dsRecords_; } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getDsRecordsOrBuilderList() { return dsRecords_; } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getDsRecordsCount() { return dsRecords_.size(); } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int index) { return dsRecords_.get(index); } /** - * - * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( @@ -2273,7 +1987,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2285,13 +1998,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 < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i)); } - if (dsState_ - != com.google.cloud.domains.v1beta1.DnsSettings.DsState.DS_STATE_UNSPECIFIED - .getNumber()) { + if (dsState_ != com.google.cloud.domains.v1beta1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { @@ -2314,13 +2026,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (dsState_ - != com.google.cloud.domains.v1beta1.DnsSettings.DsState.DS_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dsState_); + if (dsState_ != com.google.cloud.domains.v1beta1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, dsRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, dsRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2330,17 +2042,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.domains.v1beta1.DnsSettings.GoogleDomainsDns)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns other = - (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) obj; + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns other = (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) obj; - if (!getNameServersList().equals(other.getNameServersList())) return false; + if (!getNameServersList() + .equals(other.getNameServersList())) return false; if (dsState_ != other.dsState_) return false; - if (!getDsRecordsList().equals(other.getDsRecordsList())) return false; + if (!getDsRecordsList() + .equals(other.getDsRecordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2368,94 +2081,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2465,8 +2171,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for using the free DNS zone provided by Google Domains as a
      * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -2476,24 +2180,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns)
         com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.domains.v1beta1.DomainsProto
-            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1beta1.DomainsProto
-            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.class,
-                com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder.class);
+                com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.newBuilder()
@@ -2501,17 +2202,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getDsRecordsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2529,14 +2230,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.domains.v1beta1.DomainsProto
-            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns
-          getDefaultInstanceForType() {
+      public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getDefaultInstanceForType() {
         return com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance();
       }
 
@@ -2551,8 +2251,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns buildPartial() {
-        com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns result =
-            new com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns(this);
+        com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns result = new com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -2577,52 +2276,46 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) {
-          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) other);
+          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns other) {
-        if (other
-            == com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns other) {
+        if (other == com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance()) return this;
         if (!other.nameServers_.isEmpty()) {
           if (nameServers_.isEmpty()) {
             nameServers_ = other.nameServers_;
@@ -2654,10 +2347,9 @@ public Builder mergeFrom(
               dsRecordsBuilder_ = null;
               dsRecords_ = other.dsRecords_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              dsRecordsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getDsRecordsFieldBuilder()
-                      : null;
+              dsRecordsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getDsRecordsFieldBuilder() : null;
             } else {
               dsRecordsBuilder_.addAllMessages(other.dsRecords_);
             }
@@ -2682,9 +2374,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2693,21 +2383,16 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList nameServers_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
-
+      private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureNameServersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
       /**
-       *
-       *
        * 
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2716,15 +2401,13 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_.getUnmodifiableView(); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2733,15 +2416,12 @@ public com.google.protobuf.ProtocolStringList getNameServersList() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2750,7 +2430,6 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -2758,8 +2437,6 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2768,16 +2445,14 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2786,23 +2461,21 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers(int index, java.lang.String value) { + public Builder setNameServers( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2811,22 +2484,20 @@ public Builder setNameServers(int index, java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers(java.lang.String value) { + public Builder addNameServers( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2835,19 +2506,18 @@ public Builder addNameServers(java.lang.String value) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers(java.lang.Iterable values) { + public Builder addAllNameServers( + java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nameServers_); onChanged(); return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2856,7 +2526,6 @@ public Builder addAllNameServers(java.lang.Iterable values) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -2866,8 +2535,6 @@ public Builder clearNameServers() { return this; } /** - * - * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2876,15 +2543,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes(com.google.protobuf.ByteString value) { + public Builder addNameServersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -2893,79 +2560,55 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) { private int dsState_ = 0; /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override - public int getDsStateValue() { + @java.lang.Override public int getDsStateValue() { return dsState_; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for dsState to set. * @return This builder for chaining. */ public Builder setDsStateValue(int value) { - + dsState_ = value; onChanged(); return this; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The dsState. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsState result = - com.google.cloud.domains.v1beta1.DnsSettings.DsState.valueOf(dsState_); - return result == null - ? com.google.cloud.domains.v1beta1.DnsSettings.DsState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsState result = com.google.cloud.domains.v1beta1.DnsSettings.DsState.valueOf(dsState_); + return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsState.UNRECOGNIZED : result; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The dsState to set. * @return This builder for chaining. */ @@ -2973,65 +2616,49 @@ public Builder setDsState(com.google.cloud.domains.v1beta1.DnsSettings.DsState v if (value == null) { throw new NullPointerException(); } - + dsState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDsState() { - + dsState_ = 0; onChanged(); return this; } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = - new java.util.ArrayList( - dsRecords_); + dsRecords_ = new java.util.ArrayList(dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> - dsRecordsBuilder_; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getDsRecordsList() { + public java.util.List getDsRecordsList() { if (dsRecordsBuilder_ == null) { return java.util.Collections.unmodifiableList(dsRecords_); } else { @@ -3039,17 +2666,13 @@ private void ensureDsRecordsIsMutable() { } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getDsRecordsCount() { if (dsRecordsBuilder_ == null) { @@ -3059,17 +2682,13 @@ public int getDsRecordsCount() { } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -3079,17 +2698,13 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int in } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDsRecords( int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord value) { @@ -3106,21 +2721,16 @@ public Builder setDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDsRecords( - int index, - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) { + int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); dsRecords_.set(index, builderForValue.build()); @@ -3131,17 +2741,13 @@ public Builder setDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord value) { if (dsRecordsBuilder_ == null) { @@ -3157,17 +2763,13 @@ public Builder addDsRecords(com.google.cloud.domains.v1beta1.DnsSettings.DsRecor return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords( int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord value) { @@ -3184,17 +2786,13 @@ public Builder addDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords( com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) { @@ -3208,21 +2806,16 @@ public Builder addDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addDsRecords( - int index, - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) { + int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); dsRecords_.add(index, builderForValue.build()); @@ -3233,24 +2826,20 @@ public Builder addDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllDsRecords( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dsRecords_); onChanged(); } else { dsRecordsBuilder_.addAllMessages(values); @@ -3258,17 +2847,13 @@ public Builder addAllDsRecords( return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDsRecords() { if (dsRecordsBuilder_ == null) { @@ -3281,17 +2866,13 @@ public Builder clearDsRecords() { return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -3304,59 +2885,45 @@ public Builder removeDsRecords(int index) { return this; } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder getDsRecordsBuilder( int index) { return getDsRecordsFieldBuilder().getBuilder(index); } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( int index) { if (dsRecordsBuilder_ == null) { - return dsRecords_.get(index); - } else { + return dsRecords_.get(index); } else { return dsRecordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> - getDsRecordsOrBuilderList() { + public java.util.List + getDsRecordsOrBuilderList() { if (dsRecordsBuilder_ != null) { return dsRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -3364,76 +2931,59 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor } } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecordsBuilder() { - return getDsRecordsFieldBuilder() - .addBuilder(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder().addBuilder( + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance()); } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecordsBuilder( int index) { - return getDsRecordsFieldBuilder() - .addBuilder( - index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance()); } /** - * - * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getDsRecordsBuilderList() { + public java.util.List + getDsRecordsBuilderList() { return getDsRecordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> getDsRecordsFieldBuilder() { if (dsRecordsBuilder_ == null) { - dsRecordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>( - dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>( + dsRecords_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); dsRecords_ = null; } return dsRecordsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3446,32 +2996,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) - private static final com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns(); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns - getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleDomainsDns parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GoogleDomainsDns(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleDomainsDns parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GoogleDomainsDns(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3483,108 +3031,85 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DsRecordOrBuilder - extends + public interface DsRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DnsSettings.DsRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; - * * @return The keyTag. */ int getKeyTag(); /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The enum numeric value on the wire for algorithm. */ int getAlgorithmValue(); /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The algorithm. */ com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm getAlgorithm(); /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The enum numeric value on the wire for digestType. */ int getDigestTypeValue(); /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The digestType. */ com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType getDigestType(); /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The digest. */ java.lang.String getDigest(); /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The bytes for digest. */ - com.google.protobuf.ByteString getDigestBytes(); + com.google.protobuf.ByteString + getDigestBytes(); } /** - * - * *
    * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
    * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -3593,16 +3118,15 @@ public interface DsRecordOrBuilder
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.DsRecord}
    */
-  public static final class DsRecord extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DsRecord extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DnsSettings.DsRecord)
       DsRecordOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DsRecord.newBuilder() to construct.
     private DsRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private DsRecord() {
       algorithm_ = 0;
       digestType_ = 0;
@@ -3611,15 +3135,16 @@ private DsRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DsRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private DsRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3638,39 +3163,36 @@ private DsRecord(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                keyTag_ = input.readInt32();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                algorithm_ = rawValue;
-                break;
-              }
-            case 24:
-              {
-                int rawValue = input.readEnum();
+              keyTag_ = input.readInt32();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                digestType_ = rawValue;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              algorithm_ = rawValue;
+              break;
+            }
+            case 24: {
+              int rawValue = input.readEnum();
 
-                digest_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              digestType_ = rawValue;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              digest_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3678,31 +3200,27 @@ private DsRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.class,
-              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder.class);
+              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.class, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * List of algorithms used to create a DNSKEY. Certain
      * algorithms are not supported for particular domains.
@@ -3710,10 +3228,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm}
      */
-    public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum {
+    public enum Algorithm
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * The algorithm is unspecified.
        * 
@@ -3722,8 +3239,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ALGORITHM_UNSPECIFIED(0), /** - * - * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3732,8 +3247,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSAMD5(1), /** - * - * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3742,8 +3255,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DH(2), /** - * - * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3752,8 +3263,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DSA(3), /** - * - * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3762,8 +3271,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECC(4), /** - * - * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3772,8 +3279,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA1(5), /** - * - * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3782,8 +3287,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DSANSEC3SHA1(6), /** - * - * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3792,8 +3295,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA1NSEC3SHA1(7), /** - * - * *
        * RSA/SHA-256.
        * 
@@ -3802,8 +3303,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA256(8), /** - * - * *
        * RSA/SHA-512.
        * 
@@ -3812,8 +3311,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA512(10), /** - * - * *
        * GOST R 34.10-2001.
        * 
@@ -3822,8 +3319,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECCGOST(12), /** - * - * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3832,8 +3327,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECDSAP256SHA256(13), /** - * - * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3842,8 +3335,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECDSAP384SHA384(14), /** - * - * *
        * Ed25519.
        * 
@@ -3852,8 +3343,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ED25519(15), /** - * - * *
        * Ed448.
        * 
@@ -3862,8 +3351,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ED448(16), /** - * - * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -3872,8 +3359,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ INDIRECT(252), /** - * - * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -3882,8 +3367,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ PRIVATEDNS(253), /** - * - * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -3895,8 +3378,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The algorithm is unspecified.
        * 
@@ -3905,8 +3386,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALGORITHM_UNSPECIFIED_VALUE = 0; /** - * - * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3915,8 +3394,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSAMD5_VALUE = 1; /** - * - * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3925,8 +3402,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DH_VALUE = 2; /** - * - * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3935,8 +3410,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DSA_VALUE = 3; /** - * - * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3945,8 +3418,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECC_VALUE = 4; /** - * - * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3955,8 +3426,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA1_VALUE = 5; /** - * - * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3965,8 +3434,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DSANSEC3SHA1_VALUE = 6; /** - * - * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3975,8 +3442,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA1NSEC3SHA1_VALUE = 7; /** - * - * *
        * RSA/SHA-256.
        * 
@@ -3985,8 +3450,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA256_VALUE = 8; /** - * - * *
        * RSA/SHA-512.
        * 
@@ -3995,8 +3458,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA512_VALUE = 10; /** - * - * *
        * GOST R 34.10-2001.
        * 
@@ -4005,8 +3466,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECCGOST_VALUE = 12; /** - * - * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -4015,8 +3474,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECDSAP256SHA256_VALUE = 13; /** - * - * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -4025,8 +3482,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECDSAP384SHA384_VALUE = 14; /** - * - * *
        * Ed25519.
        * 
@@ -4035,8 +3490,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ED25519_VALUE = 15; /** - * - * *
        * Ed448.
        * 
@@ -4045,8 +3498,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ED448_VALUE = 16; /** - * - * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -4055,8 +3506,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INDIRECT_VALUE = 252; /** - * - * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -4065,8 +3514,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIVATEDNS_VALUE = 253; /** - * - * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -4075,6 +3522,7 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIVATEOID_VALUE = 254; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4099,81 +3547,64 @@ public static Algorithm valueOf(int value) { */ public static Algorithm forNumber(int value) { switch (value) { - case 0: - return ALGORITHM_UNSPECIFIED; - case 1: - return RSAMD5; - case 2: - return DH; - case 3: - return DSA; - case 4: - return ECC; - case 5: - return RSASHA1; - case 6: - return DSANSEC3SHA1; - case 7: - return RSASHA1NSEC3SHA1; - case 8: - return RSASHA256; - case 10: - return RSASHA512; - case 12: - return ECCGOST; - case 13: - return ECDSAP256SHA256; - case 14: - return ECDSAP384SHA384; - case 15: - return ED25519; - case 16: - return ED448; - case 252: - return INDIRECT; - case 253: - return PRIVATEDNS; - case 254: - return PRIVATEOID; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return ALGORITHM_UNSPECIFIED; + case 1: return RSAMD5; + case 2: return DH; + case 3: return DSA; + case 4: return ECC; + case 5: return RSASHA1; + case 6: return DSANSEC3SHA1; + case 7: return RSASHA1NSEC3SHA1; + case 8: return RSASHA256; + case 10: return RSASHA512; + case 12: return ECCGOST; + case 13: return ECDSAP256SHA256; + case 14: return ECDSAP384SHA384; + case 15: return ED25519; + case 16: return ED448; + case 252: return INDIRECT; + case 253: return PRIVATEDNS; + case 254: return PRIVATEOID; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Algorithm> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Algorithm findValueByNumber(int number) { + return Algorithm.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Algorithm findValueByNumber(int number) { - return Algorithm.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.domains.v1beta1.DnsSettings.DsRecord.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(0); } private static final Algorithm[] VALUES = values(); - public static Algorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Algorithm 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; @@ -4191,8 +3622,6 @@ private Algorithm(int value) { } /** - * - * *
      * List of hash functions that may have been used to generate a digest of a
      * DNSKEY.
@@ -4200,10 +3629,9 @@ private Algorithm(int value) {
      *
      * Protobuf enum {@code google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType}
      */
-    public enum DigestType implements com.google.protobuf.ProtocolMessageEnum {
+    public enum DigestType
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * The DigestType is unspecified.
        * 
@@ -4212,8 +3640,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ DIGEST_TYPE_UNSPECIFIED(0), /** - * - * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -4222,8 +3648,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ SHA1(1), /** - * - * *
        * SHA-256.
        * 
@@ -4232,8 +3656,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(2), /** - * - * *
        * GOST R 34.11-94.
        * 
@@ -4242,8 +3664,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ GOST3411(3), /** - * - * *
        * SHA-384.
        * 
@@ -4255,8 +3675,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The DigestType is unspecified.
        * 
@@ -4265,8 +3683,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIGEST_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -4275,8 +3691,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA1_VALUE = 1; /** - * - * *
        * SHA-256.
        * 
@@ -4285,8 +3699,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 2; /** - * - * *
        * GOST R 34.11-94.
        * 
@@ -4295,8 +3707,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOST3411_VALUE = 3; /** - * - * *
        * SHA-384.
        * 
@@ -4305,6 +3715,7 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA384_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4329,55 +3740,51 @@ public static DigestType valueOf(int value) { */ public static DigestType forNumber(int value) { switch (value) { - case 0: - return DIGEST_TYPE_UNSPECIFIED; - case 1: - return SHA1; - case 2: - return SHA256; - case 3: - return GOST3411; - case 4: - return SHA384; - default: - return null; + case 0: return DIGEST_TYPE_UNSPECIFIED; + case 1: return SHA1; + case 2: return SHA256; + case 3: return GOST3411; + case 4: return SHA384; + 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< + DigestType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DigestType findValueByNumber(int number) { + return DigestType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DigestType findValueByNumber(int number) { - return DigestType.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.domains.v1beta1.DnsSettings.DsRecord.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(1); } private static final DigestType[] VALUES = values(); - public static DigestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DigestType 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; @@ -4397,14 +3804,11 @@ private DigestType(int value) { public static final int KEY_TAG_FIELD_NUMBER = 1; private int keyTag_; /** - * - * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; - * * @return The keyTag. */ @java.lang.Override @@ -4415,90 +3819,65 @@ public int getKeyTag() { public static final int ALGORITHM_FIELD_NUMBER = 2; private int algorithm_; /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override - public int getAlgorithmValue() { + @java.lang.Override public int getAlgorithmValue() { return algorithm_; } /** - * - * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The algorithm. */ - @java.lang.Override - public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm getAlgorithm() { + @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm result = - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null - ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; } public static final int DIGEST_TYPE_FIELD_NUMBER = 3; private int digestType_; /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override - public int getDigestTypeValue() { + @java.lang.Override public int getDigestTypeValue() { return digestType_; } /** - * - * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The digestType. */ - @java.lang.Override - public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType getDigestType() { + @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType result = - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null - ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; } public static final int DIGEST_FIELD_NUMBER = 4; private volatile java.lang.Object digest_; /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The digest. */ @java.lang.Override @@ -4507,29 +3886,29 @@ public java.lang.String getDigest() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; } } /** - * - * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; - * * @return The bytes for digest. */ @java.lang.Override - public com.google.protobuf.ByteString getDigestBytes() { + public com.google.protobuf.ByteString + getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); digest_ = b; return b; } else { @@ -4538,7 +3917,6 @@ public com.google.protobuf.ByteString getDigestBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4550,19 +3928,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 (keyTag_ != 0) { output.writeInt32(1, keyTag_); } - if (algorithm_ - != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED - .getNumber()) { + if (algorithm_ != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { output.writeEnum(2, algorithm_); } - if (digestType_ - != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType - .DIGEST_TYPE_UNSPECIFIED - .getNumber()) { + if (digestType_ != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { @@ -4578,18 +3952,16 @@ public int getSerializedSize() { size = 0; if (keyTag_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, keyTag_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, keyTag_); } - if (algorithm_ - != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, algorithm_); + if (algorithm_ != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, algorithm_); } - if (digestType_ - != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType - .DIGEST_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, digestType_); + if (digestType_ != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, digest_); @@ -4602,18 +3974,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.domains.v1beta1.DnsSettings.DsRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord other = - (com.google.cloud.domains.v1beta1.DnsSettings.DsRecord) obj; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord other = (com.google.cloud.domains.v1beta1.DnsSettings.DsRecord) obj; - if (getKeyTag() != other.getKeyTag()) return false; + if (getKeyTag() + != other.getKeyTag()) return false; if (algorithm_ != other.algorithm_) return false; if (digestType_ != other.digestType_) return false; - if (!getDigest().equals(other.getDigest())) return false; + if (!getDigest() + .equals(other.getDigest())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4639,94 +4012,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4736,8 +4102,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
      * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -4746,24 +4110,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.DsRecord}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DnsSettings.DsRecord)
         com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.domains.v1beta1.DomainsProto
-            .internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1beta1.DomainsProto
-            .internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.class,
-                com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder.class);
+                com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.class, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.newBuilder()
@@ -4771,15 +4132,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4795,9 +4157,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.domains.v1beta1.DomainsProto
-            .internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
@@ -4816,8 +4178,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord buildPartial() {
-        com.google.cloud.domains.v1beta1.DnsSettings.DsRecord result =
-            new com.google.cloud.domains.v1beta1.DnsSettings.DsRecord(this);
+        com.google.cloud.domains.v1beta1.DnsSettings.DsRecord result = new com.google.cloud.domains.v1beta1.DnsSettings.DsRecord(this);
         result.keyTag_ = keyTag_;
         result.algorithm_ = algorithm_;
         result.digestType_ = digestType_;
@@ -4830,41 +4191,38 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.domains.v1beta1.DnsSettings.DsRecord) {
-          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.DsRecord) other);
+          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.DsRecord)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4872,8 +4230,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord other) {
-        if (other == com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance()) return this;
         if (other.getKeyTag() != 0) {
           setKeyTag(other.getKeyTag());
         }
@@ -4906,8 +4263,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.domains.v1beta1.DnsSettings.DsRecord) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.domains.v1beta1.DnsSettings.DsRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4917,16 +4273,13 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int keyTag_;
+      private int keyTag_ ;
       /**
-       *
-       *
        * 
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; - * * @return The keyTag. */ @java.lang.Override @@ -4934,36 +4287,30 @@ public int getKeyTag() { return keyTag_; } /** - * - * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; - * * @param value The keyTag to set. * @return This builder for chaining. */ public Builder setKeyTag(int value) { - + keyTag_ = value; onChanged(); return this; } /** - * - * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; - * * @return This builder for chaining. */ public Builder clearKeyTag() { - + keyTag_ = 0; onChanged(); return this; @@ -4971,93 +4318,73 @@ public Builder clearKeyTag() { private int algorithm_ = 0; /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override - public int getAlgorithmValue() { + @java.lang.Override public int getAlgorithmValue() { return algorithm_; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @param value The enum numeric value on the wire for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmValue(int value) { - + algorithm_ = value; onChanged(); return this; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return The algorithm. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm result = - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null - ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @param value The algorithm to set. * @return This builder for chaining. */ - public Builder setAlgorithm( - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm value) { + public Builder setAlgorithm(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm value) { if (value == null) { throw new NullPointerException(); } - + algorithm_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; - * * @return This builder for chaining. */ public Builder clearAlgorithm() { - + algorithm_ = 0; onChanged(); return this; @@ -5065,93 +4392,73 @@ public Builder clearAlgorithm() { private int digestType_ = 0; /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override - public int getDigestTypeValue() { + @java.lang.Override public int getDigestTypeValue() { return digestType_; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @param value The enum numeric value on the wire for digestType to set. * @return This builder for chaining. */ public Builder setDigestTypeValue(int value) { - + digestType_ = value; onChanged(); return this; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return The digestType. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType result = - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null - ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @param value The digestType to set. * @return This builder for chaining. */ - public Builder setDigestType( - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType value) { + public Builder setDigestType(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType value) { if (value == null) { throw new NullPointerException(); } - + digestType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; - * * @return This builder for chaining. */ public Builder clearDigestType() { - + digestType_ = 0; onChanged(); return this; @@ -5159,20 +4466,18 @@ public Builder clearDigestType() { private java.lang.Object digest_ = ""; /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @return The digest. */ public java.lang.String getDigest() { java.lang.Object ref = digest_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; @@ -5181,21 +4486,20 @@ public java.lang.String getDigest() { } } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @return The bytes for digest. */ - public com.google.protobuf.ByteString getDigestBytes() { + public com.google.protobuf.ByteString + getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); digest_ = b; return b; } else { @@ -5203,66 +4507,58 @@ public com.google.protobuf.ByteString getDigestBytes() { } } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @param value The digest to set. * @return This builder for chaining. */ - public Builder setDigest(java.lang.String value) { + public Builder setDigest( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + digest_ = value; onChanged(); return this; } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @return This builder for chaining. */ public Builder clearDigest() { - + digest_ = getDefaultInstance().getDigest(); onChanged(); return this; } /** - * - * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; - * * @param value The bytes for digest to set. * @return This builder for chaining. */ - public Builder setDigestBytes(com.google.protobuf.ByteString value) { + public Builder setDigestBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + digest_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5275,12 +4571,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DnsSettings.DsRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DnsSettings.DsRecord) private static final com.google.cloud.domains.v1beta1.DnsSettings.DsRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DnsSettings.DsRecord(); } @@ -5289,16 +4585,16 @@ public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DsRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DsRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DsRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DsRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5313,41 +4609,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GlueRecordOrBuilder - extends + public interface GlueRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DnsSettings.GlueRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostName. */ java.lang.String getHostName(); /** - * - * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostName. */ - com.google.protobuf.ByteString getHostNameBytes(); + com.google.protobuf.ByteString + getHostNameBytes(); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5355,13 +4644,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @return A list containing the ipv4Addresses. */ - java.util.List getIpv4AddressesList(); + java.util.List + getIpv4AddressesList(); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5369,13 +4656,10 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @return The count of ipv4Addresses. */ int getIpv4AddressesCount(); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5383,14 +4667,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ java.lang.String getIpv4Addresses(int index); /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5398,15 +4679,13 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - com.google.protobuf.ByteString getIpv4AddressesBytes(int index); + com.google.protobuf.ByteString + getIpv4AddressesBytes(int index); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5414,13 +4693,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @return A list containing the ipv6Addresses. */ - java.util.List getIpv6AddressesList(); + java.util.List + getIpv6AddressesList(); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5428,13 +4705,10 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @return The count of ipv6Addresses. */ int getIpv6AddressesCount(); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5442,14 +4716,11 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ java.lang.String getIpv6Addresses(int index); /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5457,15 +4728,13 @@ public interface GlueRecordOrBuilder
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - com.google.protobuf.ByteString getIpv6AddressesBytes(int index); + com.google.protobuf.ByteString + getIpv6AddressesBytes(int index); } /** - * - * *
    * Defines a host on your domain that is a DNS name server for your domain
    * and/or other domains. Glue records are a way of making the IP address of a
@@ -5477,16 +4746,15 @@ public interface GlueRecordOrBuilder
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.GlueRecord}
    */
-  public static final class GlueRecord extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class GlueRecord extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DnsSettings.GlueRecord)
       GlueRecordOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use GlueRecord.newBuilder() to construct.
     private GlueRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private GlueRecord() {
       hostName_ = "";
       ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -5495,15 +4763,16 @@ private GlueRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new GlueRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private GlueRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5523,40 +4792,37 @@ private GlueRecord(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                hostName_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                ipv4Addresses_.add(s);
-                break;
+              hostName_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                ipv6Addresses_.add(s);
-                break;
+              ipv4Addresses_.add(s);
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              ipv6Addresses_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5564,7 +4830,8 @@ private GlueRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           ipv4Addresses_ = ipv4Addresses_.getUnmodifiableView();
@@ -5576,33 +4843,27 @@ private GlueRecord(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.class,
-              com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder.class);
+              com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder.class);
     }
 
     public static final int HOST_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object hostName_;
     /**
-     *
-     *
      * 
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostName. */ @java.lang.Override @@ -5611,29 +4872,29 @@ public java.lang.String getHostName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; } } /** - * - * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostName. */ @java.lang.Override - public com.google.protobuf.ByteString getHostNameBytes() { + public com.google.protobuf.ByteString + getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostName_ = b; return b; } else { @@ -5644,8 +4905,6 @@ public com.google.protobuf.ByteString getHostNameBytes() { public static final int IPV4_ADDRESSES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList ipv4Addresses_; /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5653,15 +4912,13 @@ public com.google.protobuf.ByteString getHostNameBytes() {
      * 
* * repeated string ipv4_addresses = 2; - * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv4AddressesList() { return ipv4Addresses_; } /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5669,15 +4926,12 @@ public com.google.protobuf.ProtocolStringList getIpv4AddressesList() {
      * 
* * repeated string ipv4_addresses = 2; - * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5685,7 +4939,6 @@ public int getIpv4AddressesCount() {
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -5693,8 +4946,6 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** - * - * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5702,19 +4953,17 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } public static final int IPV6_ADDRESSES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ipv6Addresses_; /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5722,15 +4971,13 @@ public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) {
      * 
* * repeated string ipv6_addresses = 3; - * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv6AddressesList() { return ipv6Addresses_; } /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5738,15 +4985,12 @@ public com.google.protobuf.ProtocolStringList getIpv6AddressesList() {
      * 
* * repeated string ipv6_addresses = 3; - * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5754,7 +4998,6 @@ public int getIpv6AddressesCount() {
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -5762,8 +5005,6 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** - * - * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5771,16 +5012,15 @@ public java.lang.String getIpv6Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5792,7 +5032,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } @@ -5838,17 +5079,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.domains.v1beta1.DnsSettings.GlueRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord other = - (com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord) obj; + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord other = (com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord) obj; - if (!getHostName().equals(other.getHostName())) return false; - if (!getIpv4AddressesList().equals(other.getIpv4AddressesList())) return false; - if (!getIpv6AddressesList().equals(other.getIpv6AddressesList())) return false; + if (!getHostName() + .equals(other.getHostName())) return false; + if (!getIpv4AddressesList() + .equals(other.getIpv4AddressesList())) return false; + if (!getIpv6AddressesList() + .equals(other.getIpv6AddressesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5876,94 +5119,87 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5973,8 +5209,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Defines a host on your domain that is a DNS name server for your domain
      * and/or other domains. Glue records are a way of making the IP address of a
@@ -5986,24 +5220,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.GlueRecord}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DnsSettings.GlueRecord)
         com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.domains.v1beta1.DomainsProto
-            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1beta1.DomainsProto
-            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.class,
-                com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder.class);
+                com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.newBuilder()
@@ -6011,15 +5242,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6033,9 +5265,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.domains.v1beta1.DomainsProto
-            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
@@ -6054,8 +5286,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord buildPartial() {
-        com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord result =
-            new com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord(this);
+        com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord result = new com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord(this);
         int from_bitField0_ = bitField0_;
         result.hostName_ = hostName_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -6076,41 +5307,38 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.domains.v1beta1.DnsSettings.GlueRecord) {
-          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord) other);
+          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6118,8 +5346,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord other) {
-        if (other == com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance()) return this;
         if (!other.getHostName().isEmpty()) {
           hostName_ = other.hostName_;
           onChanged();
@@ -6163,8 +5390,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord) e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6173,25 +5399,22 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object hostName_ = "";
       /**
-       *
-       *
        * 
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The hostName. */ public java.lang.String getHostName() { java.lang.Object ref = hostName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; @@ -6200,21 +5423,20 @@ public java.lang.String getHostName() { } } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for hostName. */ - public com.google.protobuf.ByteString getHostNameBytes() { + public com.google.protobuf.ByteString + getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostName_ = b; return b; } else { @@ -6222,78 +5444,67 @@ public com.google.protobuf.ByteString getHostNameBytes() { } } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The hostName to set. * @return This builder for chaining. */ - public Builder setHostName(java.lang.String value) { + public Builder setHostName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostName_ = value; onChanged(); return this; } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearHostName() { - + hostName_ = getDefaultInstance().getHostName(); onChanged(); return this; } /** - * - * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for hostName to set. * @return This builder for chaining. */ - public Builder setHostNameBytes(com.google.protobuf.ByteString value) { + public Builder setHostNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostName_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv4Addresses_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIpv4AddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv4Addresses_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6301,15 +5512,13 @@ private void ensureIpv4AddressesIsMutable() {
        * 
* * repeated string ipv4_addresses = 2; - * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv4AddressesList() { return ipv4Addresses_.getUnmodifiableView(); } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6317,15 +5526,12 @@ public com.google.protobuf.ProtocolStringList getIpv4AddressesList() {
        * 
* * repeated string ipv4_addresses = 2; - * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6333,7 +5539,6 @@ public int getIpv4AddressesCount() {
        * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -6341,8 +5546,6 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6350,16 +5553,14 @@ public java.lang.String getIpv4Addresses(int index) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } - /** - * - * + /** *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6367,23 +5568,21 @@ public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param index The index to set the value at. * @param value The ipv4Addresses to set. * @return This builder for chaining. */ - public Builder setIpv4Addresses(int index, java.lang.String value) { + public Builder setIpv4Addresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6391,22 +5590,20 @@ public Builder setIpv4Addresses(int index, java.lang.String value) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param value The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4Addresses(java.lang.String value) { + public Builder addIpv4Addresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6414,19 +5611,18 @@ public Builder addIpv4Addresses(java.lang.String value) {
        * 
* * repeated string ipv4_addresses = 2; - * * @param values The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv4Addresses(java.lang.Iterable values) { + public Builder addAllIpv4Addresses( + java.lang.Iterable values) { ensureIpv4AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv4Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ipv4Addresses_); onChanged(); return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6434,7 +5630,6 @@ public Builder addAllIpv4Addresses(java.lang.Iterable values)
        * 
* * repeated string ipv4_addresses = 2; - * * @return This builder for chaining. */ public Builder clearIpv4Addresses() { @@ -6444,8 +5639,6 @@ public Builder clearIpv4Addresses() { return this; } /** - * - * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -6453,33 +5646,29 @@ public Builder clearIpv4Addresses() {
        * 
* * repeated string ipv4_addresses = 2; - * * @param value The bytes of the ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4AddressesBytes(com.google.protobuf.ByteString value) { + public Builder addIpv4AddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv6Addresses_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList ipv6Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIpv6AddressesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv6Addresses_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6487,15 +5676,13 @@ private void ensureIpv6AddressesIsMutable() {
        * 
* * repeated string ipv6_addresses = 3; - * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList + getIpv6AddressesList() { return ipv6Addresses_.getUnmodifiableView(); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6503,15 +5690,12 @@ public com.google.protobuf.ProtocolStringList getIpv6AddressesList() {
        * 
* * repeated string ipv6_addresses = 3; - * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6519,7 +5703,6 @@ public int getIpv6AddressesCount() {
        * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -6527,8 +5710,6 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6536,16 +5717,14 @@ public java.lang.String getIpv6Addresses(int index) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString + getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6553,23 +5732,21 @@ public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param index The index to set the value at. * @param value The ipv6Addresses to set. * @return This builder for chaining. */ - public Builder setIpv6Addresses(int index, java.lang.String value) { + public Builder setIpv6Addresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6577,22 +5754,20 @@ public Builder setIpv6Addresses(int index, java.lang.String value) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param value The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6Addresses(java.lang.String value) { + public Builder addIpv6Addresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6600,19 +5775,18 @@ public Builder addIpv6Addresses(java.lang.String value) {
        * 
* * repeated string ipv6_addresses = 3; - * * @param values The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv6Addresses(java.lang.Iterable values) { + public Builder addAllIpv6Addresses( + java.lang.Iterable values) { ensureIpv6AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv6Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ipv6Addresses_); onChanged(); return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6620,7 +5794,6 @@ public Builder addAllIpv6Addresses(java.lang.Iterable values)
        * 
* * repeated string ipv6_addresses = 3; - * * @return This builder for chaining. */ public Builder clearIpv6Addresses() { @@ -6630,8 +5803,6 @@ public Builder clearIpv6Addresses() { return this; } /** - * - * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -6639,21 +5810,20 @@ public Builder clearIpv6Addresses() {
        * 
* * repeated string ipv6_addresses = 3; - * * @param value The bytes of the ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6AddressesBytes(com.google.protobuf.ByteString value) { + public Builder addIpv6AddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6666,12 +5836,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DnsSettings.GlueRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DnsSettings.GlueRecord) private static final com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord(); } @@ -6680,16 +5850,16 @@ public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GlueRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GlueRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GlueRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GlueRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6704,20 +5874,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int dnsProviderCase_ = 0; private java.lang.Object dnsProvider_; - public enum DnsProviderCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CUSTOM_DNS(1), GOOGLE_DOMAINS_DNS(2), DNSPROVIDER_NOT_SET(0); private final int value; - private DnsProviderCase(int value) { this.value = value; } @@ -6733,36 +5901,30 @@ public static DnsProviderCase valueOf(int value) { public static DnsProviderCase forNumber(int value) { switch (value) { - case 1: - return CUSTOM_DNS; - case 2: - return GOOGLE_DOMAINS_DNS; - case 0: - return DNSPROVIDER_NOT_SET; - default: - return null; + case 1: return CUSTOM_DNS; + case 2: return GOOGLE_DOMAINS_DNS; + case 0: return DNSPROVIDER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DnsProviderCase getDnsProviderCase() { - return DnsProviderCase.forNumber(dnsProviderCase_); + public DnsProviderCase + getDnsProviderCase() { + return DnsProviderCase.forNumber( + dnsProviderCase_); } public static final int CUSTOM_DNS_FIELD_NUMBER = 1; /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; - * * @return Whether the customDns field is set. */ @java.lang.Override @@ -6770,26 +5932,21 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; - * * @return The customDns. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getCustomDns() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance(); } /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -6799,22 +5956,19 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getCustomDns() { @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance(); } public static final int GOOGLE_DOMAINS_DNS_FIELD_NUMBER = 2; /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -6822,27 +5976,22 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * * @return The googleDomainsDns. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDomainsDns() { if (dnsProviderCase_ == 2) { - return (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_; + return (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_; } return com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance(); } /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
@@ -6851,10 +6000,9 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDo
    * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder
-      getGoogleDomainsDnsOrBuilder() {
+  public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() {
     if (dnsProviderCase_ == 2) {
-      return (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_;
+       return (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_;
     }
     return com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance();
   }
@@ -6862,8 +6010,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDo
   public static final int GLUE_RECORDS_FIELD_NUMBER = 4;
   private java.util.List glueRecords_;
   /**
-   *
-   *
    * 
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6871,13 +6017,10 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDo * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ @java.lang.Override - public java.util.List - getGlueRecordsList() { + public java.util.List getGlueRecordsList() { return glueRecords_; } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6885,13 +6028,11 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDo * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ @java.lang.Override - public java.util.List + public java.util.List getGlueRecordsOrBuilderList() { return glueRecords_; } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6903,8 +6044,6 @@ public int getGlueRecordsCount() { return glueRecords_.size(); } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6916,8 +6055,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getGlueRecords(in return glueRecords_.get(index); } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6931,7 +6068,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueR } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6943,13 +6079,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dnsProviderCase_ == 1) { output.writeMessage(1, (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_); + output.writeMessage(2, (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { output.writeMessage(4, glueRecords_.get(i)); @@ -6964,17 +6100,16 @@ public int getSerializedSize() { size = 0; if (dnsProviderCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, glueRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, glueRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6984,22 +6119,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.domains.v1beta1.DnsSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.DnsSettings other = - (com.google.cloud.domains.v1beta1.DnsSettings) obj; + com.google.cloud.domains.v1beta1.DnsSettings other = (com.google.cloud.domains.v1beta1.DnsSettings) obj; - if (!getGlueRecordsList().equals(other.getGlueRecordsList())) return false; + if (!getGlueRecordsList() + .equals(other.getGlueRecordsList())) return false; if (!getDnsProviderCase().equals(other.getDnsProviderCase())) return false; switch (dnsProviderCase_) { case 1: - if (!getCustomDns().equals(other.getCustomDns())) return false; + if (!getCustomDns() + .equals(other.getCustomDns())) return false; break; case 2: - if (!getGoogleDomainsDns().equals(other.getGoogleDomainsDns())) return false; + if (!getGoogleDomainsDns() + .equals(other.getGoogleDomainsDns())) return false; break; case 0: default: @@ -7036,104 +6173,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom(java.io.InputStream input) 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.domains.v1beta1.DnsSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.DnsSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.DnsSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.DnsSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines the DNS configuration of a `Registration`, including name servers,
    * DNSSEC, and glue records.
@@ -7141,23 +6271,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DnsSettings)
       com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.DnsSettings.class,
-              com.google.cloud.domains.v1beta1.DnsSettings.Builder.class);
+              com.google.cloud.domains.v1beta1.DnsSettings.class, com.google.cloud.domains.v1beta1.DnsSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1beta1.DnsSettings.newBuilder()
@@ -7165,17 +6293,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getGlueRecordsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7191,9 +6319,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
     }
 
     @java.lang.Override
@@ -7212,8 +6340,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1beta1.DnsSettings buildPartial() {
-      com.google.cloud.domains.v1beta1.DnsSettings result =
-          new com.google.cloud.domains.v1beta1.DnsSettings(this);
+      com.google.cloud.domains.v1beta1.DnsSettings result = new com.google.cloud.domains.v1beta1.DnsSettings(this);
       int from_bitField0_ = bitField0_;
       if (dnsProviderCase_ == 1) {
         if (customDnsBuilder_ == null) {
@@ -7247,39 +6374,38 @@ public com.google.cloud.domains.v1beta1.DnsSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1beta1.DnsSettings) {
-        return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings) other);
+        return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7306,30 +6432,26 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings other) {
             glueRecordsBuilder_ = null;
             glueRecords_ = other.glueRecords_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            glueRecordsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getGlueRecordsFieldBuilder()
-                    : null;
+            glueRecordsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getGlueRecordsFieldBuilder() : null;
           } else {
             glueRecordsBuilder_.addAllMessages(other.glueRecords_);
           }
         }
       }
       switch (other.getDnsProviderCase()) {
-        case CUSTOM_DNS:
-          {
-            mergeCustomDns(other.getCustomDns());
-            break;
-          }
-        case GOOGLE_DOMAINS_DNS:
-          {
-            mergeGoogleDomainsDns(other.getGoogleDomainsDns());
-            break;
-          }
-        case DNSPROVIDER_NOT_SET:
-          {
-            break;
-          }
+        case CUSTOM_DNS: {
+          mergeCustomDns(other.getCustomDns());
+          break;
+        }
+        case GOOGLE_DOMAINS_DNS: {
+          mergeGoogleDomainsDns(other.getGoogleDomainsDns());
+          break;
+        }
+        case DNSPROVIDER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -7359,12 +6481,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int dnsProviderCase_ = 0;
     private java.lang.Object dnsProvider_;
-
-    public DnsProviderCase getDnsProviderCase() {
-      return DnsProviderCase.forNumber(dnsProviderCase_);
+    public DnsProviderCase
+        getDnsProviderCase() {
+      return DnsProviderCase.forNumber(
+          dnsProviderCase_);
     }
 
     public Builder clearDnsProvider() {
@@ -7377,19 +6499,13 @@ public Builder clearDnsProvider() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1beta1.DnsSettings.CustomDns,
-            com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder,
-            com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder>
-        customDnsBuilder_;
+        com.google.cloud.domains.v1beta1.DnsSettings.CustomDns, com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder> customDnsBuilder_;
     /**
-     *
-     *
      * 
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; - * * @return Whether the customDns field is set. */ @java.lang.Override @@ -7397,14 +6513,11 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; - * * @return The customDns. */ @java.lang.Override @@ -7422,8 +6535,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getCustomDns() { } } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7444,8 +6555,6 @@ public Builder setCustomDns(com.google.cloud.domains.v1beta1.DnsSettings.CustomD return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7464,8 +6573,6 @@ public Builder setCustomDns( return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7474,14 +6581,10 @@ public Builder setCustomDns( */ public Builder mergeCustomDns(com.google.cloud.domains.v1beta1.DnsSettings.CustomDns value) { if (customDnsBuilder_ == null) { - if (dnsProviderCase_ == 1 - && dnsProvider_ - != com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance()) { - dnsProvider_ = - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.newBuilder( - (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_) - .mergeFrom(value) - .buildPartial(); + if (dnsProviderCase_ == 1 && + dnsProvider_ != com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance()) { + dnsProvider_ = com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.newBuilder((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_) + .mergeFrom(value).buildPartial(); } else { dnsProvider_ = value; } @@ -7497,8 +6600,6 @@ public Builder mergeCustomDns(com.google.cloud.domains.v1beta1.DnsSettings.Custo return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7522,8 +6623,6 @@ public Builder clearCustomDns() { return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7534,8 +6633,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder getCustomD return getCustomDnsFieldBuilder().getBuilder(); } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7554,8 +6651,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder getCustom } } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7563,47 +6658,33 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder getCustom * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns, - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder> + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns, com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder> getCustomDnsFieldBuilder() { if (customDnsBuilder_ == null) { if (!(dnsProviderCase_ == 1)) { - dnsProvider_ = - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance(); - } - customDnsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns, - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder>( + dnsProvider_ = com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance(); + } + customDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns, com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder>( (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_, getParentForChildren(), isClean()); dnsProvider_ = null; } dnsProviderCase_ = 1; - onChanged(); - ; + onChanged();; return customDnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder> - googleDomainsDnsBuilder_; + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder> googleDomainsDnsBuilder_; /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -7611,16 +6692,12 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * - * + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; * @return The googleDomainsDns. */ @java.lang.Override @@ -7638,18 +6715,14 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDo } } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ - public Builder setGoogleDomainsDns( - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns value) { + public Builder setGoogleDomainsDns(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns value) { if (googleDomainsDnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7663,15 +6736,12 @@ public Builder setGoogleDomainsDns( return this; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ public Builder setGoogleDomainsDns( com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder builderForValue) { @@ -7685,28 +6755,19 @@ public Builder setGoogleDomainsDns( return this; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ - public Builder mergeGoogleDomainsDns( - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns value) { + public Builder mergeGoogleDomainsDns(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns value) { if (googleDomainsDnsBuilder_ == null) { - if (dnsProviderCase_ == 2 - && dnsProvider_ - != com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns - .getDefaultInstance()) { - dnsProvider_ = - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.newBuilder( - (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_) - .mergeFrom(value) - .buildPartial(); + if (dnsProviderCase_ == 2 && + dnsProvider_ != com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance()) { + dnsProvider_ = com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.newBuilder((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_) + .mergeFrom(value).buildPartial(); } else { dnsProvider_ = value; } @@ -7722,15 +6783,12 @@ public Builder mergeGoogleDomainsDns( return this; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ public Builder clearGoogleDomainsDns() { if (googleDomainsDnsBuilder_ == null) { @@ -7749,34 +6807,26 @@ public Builder clearGoogleDomainsDns() { return this; } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ - public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder - getGoogleDomainsDnsBuilder() { + public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder getGoogleDomainsDnsBuilder() { return getGoogleDomainsDnsFieldBuilder().getBuilder(); } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder - getGoogleDomainsDnsOrBuilder() { + public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() { if ((dnsProviderCase_ == 2) && (googleDomainsDnsBuilder_ != null)) { return googleDomainsDnsBuilder_.getMessageOrBuilder(); } else { @@ -7787,71 +6837,52 @@ public Builder clearGoogleDomainsDns() { } } /** - * - * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder> + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder> getGoogleDomainsDnsFieldBuilder() { if (googleDomainsDnsBuilder_ == null) { if (!(dnsProviderCase_ == 2)) { - dnsProvider_ = - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance(); - } - googleDomainsDnsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder>( + dnsProvider_ = com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance(); + } + googleDomainsDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder>( (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_, getParentForChildren(), isClean()); dnsProvider_ = null; } dnsProviderCase_ = 2; - onChanged(); - ; + onChanged();; return googleDomainsDnsBuilder_; } private java.util.List glueRecords_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureGlueRecordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - glueRecords_ = - new java.util.ArrayList( - glueRecords_); + glueRecords_ = new java.util.ArrayList(glueRecords_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder> - glueRecordsBuilder_; + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder> glueRecordsBuilder_; /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsList() { + public java.util.List getGlueRecordsList() { if (glueRecordsBuilder_ == null) { return java.util.Collections.unmodifiableList(glueRecords_); } else { @@ -7859,8 +6890,6 @@ private void ensureGlueRecordsIsMutable() { } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7875,8 +6904,6 @@ public int getGlueRecordsCount() { } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7891,8 +6918,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getGlueRecords(in } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7914,8 +6939,6 @@ public Builder setGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7923,8 +6946,7 @@ public Builder setGlueRecords( * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ public Builder setGlueRecords( - int index, - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder builderForValue) { + int index, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder builderForValue) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); glueRecords_.set(index, builderForValue.build()); @@ -7935,8 +6957,6 @@ public Builder setGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7957,8 +6977,6 @@ public Builder addGlueRecords(com.google.cloud.domains.v1beta1.DnsSettings.GlueR return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7980,8 +6998,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8000,8 +7016,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8009,8 +7023,7 @@ public Builder addGlueRecords( * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ public Builder addGlueRecords( - int index, - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder builderForValue) { + int index, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder builderForValue) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); glueRecords_.add(index, builderForValue.build()); @@ -8021,8 +7034,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8030,11 +7041,11 @@ public Builder addGlueRecords( * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ public Builder addAllGlueRecords( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, glueRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, glueRecords_); onChanged(); } else { glueRecordsBuilder_.addAllMessages(values); @@ -8042,8 +7053,6 @@ public Builder addAllGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8061,8 +7070,6 @@ public Builder clearGlueRecords() { return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8080,8 +7087,6 @@ public Builder removeGlueRecords(int index) { return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8093,8 +7098,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder getGlueRe return getGlueRecordsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8104,23 +7107,19 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder getGlueRe public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder( int index) { if (glueRecordsBuilder_ == null) { - return glueRecords_.get(index); - } else { + return glueRecords_.get(index); } else { return glueRecordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List< - ? extends com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder> - getGlueRecordsOrBuilderList() { + public java.util.List + getGlueRecordsOrBuilderList() { if (glueRecordsBuilder_ != null) { return glueRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -8128,8 +7127,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueR } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8137,12 +7134,10 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueR * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder() { - return getGlueRecordsFieldBuilder() - .addBuilder(com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance()); + return getGlueRecordsFieldBuilder().addBuilder( + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance()); } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8151,43 +7146,37 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder addGlueRe */ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder( int index) { - return getGlueRecordsFieldBuilder() - .addBuilder( - index, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance()); + return getGlueRecordsFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance()); } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsBuilderList() { + public java.util.List + getGlueRecordsBuilderList() { return getGlueRecordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder> + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder> getGlueRecordsFieldBuilder() { if (glueRecordsBuilder_ == null) { - glueRecordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder>( - glueRecords_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + glueRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder>( + glueRecords_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); glueRecords_ = null; } return glueRecordsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8197,12 +7186,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DnsSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DnsSettings) private static final com.google.cloud.domains.v1beta1.DnsSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DnsSettings(); } @@ -8211,16 +7200,16 @@ public static com.google.cloud.domains.v1beta1.DnsSettings getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DnsSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DnsSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8235,4 +7224,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.DnsSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java similarity index 80% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java index e8a7f599..30edffcb 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface DnsSettingsOrBuilder - extends +public interface DnsSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DnsSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; - * * @return Whether the customDns field is set. */ boolean hasCustomDns(); /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; - * * @return The customDns. */ com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getCustomDns(); /** - * - * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -59,34 +35,26 @@ public interface DnsSettingsOrBuilder com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder(); /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * * @return Whether the googleDomainsDns field is set. */ boolean hasGoogleDomainsDns(); /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; - * * @return The googleDomainsDns. */ com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDomainsDns(); /** - * - * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
@@ -94,22 +62,18 @@ public interface DnsSettingsOrBuilder
    *
    * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    */
-  com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder
-      getGoogleDomainsDnsOrBuilder();
+  com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List getGlueRecordsList(); + java.util.List + getGlueRecordsList(); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -118,8 +82,6 @@ public interface DnsSettingsOrBuilder */ com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getGlueRecords(int index); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -128,19 +90,15 @@ public interface DnsSettingsOrBuilder */ int getGlueRecordsCount(); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List + java.util.List getGlueRecordsOrBuilderList(); /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java similarity index 69% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java index 6baf8fd0..92e929b3 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Notices about special properties of certain domains.
  * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.DomainNotice} */ -public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { +public enum DomainNotice + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The notice is undefined.
    * 
@@ -39,8 +21,6 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { */ DOMAIN_NOTICE_UNSPECIFIED(0), /** - * - * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -56,8 +36,6 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * The notice is undefined.
    * 
@@ -66,8 +44,6 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOMAIN_NOTICE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -80,6 +56,7 @@ public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int HSTS_PRELOADED_VALUE = 1;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -104,47 +81,48 @@ public static DomainNotice valueOf(int value) {
    */
   public static DomainNotice forNumber(int value) {
     switch (value) {
-      case 0:
-        return DOMAIN_NOTICE_UNSPECIFIED;
-      case 1:
-        return HSTS_PRELOADED;
-      default:
-        return null;
+      case 0: return DOMAIN_NOTICE_UNSPECIFIED;
+      case 1: return HSTS_PRELOADED;
+      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 DomainNotice findValueByNumber(int number) {
-          return DomainNotice.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      DomainNotice> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DomainNotice findValueByNumber(int number) {
+            return DomainNotice.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.domains.v1beta1.DomainsProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final DomainNotice[] VALUES = values();
 
-  public static DomainNotice valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DomainNotice 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;
@@ -160,3 +138,4 @@ private DomainNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1beta1.DomainNotice)
 }
+
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java
new file mode 100644
index 00000000..e45325f8
--- /dev/null
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java
@@ -0,0 +1,730 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/domains/v1beta1/domains.proto
+
+package com.google.cloud.domains.v1beta1;
+
+public final class DomainsProto {
+  private DomainsProto() {}
+  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_domains_v1beta1_Registration_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_OperationMetadata_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/domains/v1beta1/domains.p" +
+      "roto\022\034google.cloud.domains.v1beta1\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/lo" +
+      "ngrunning/operations.proto\032 google/proto" +
+      "buf/field_mask.proto\032\037google/protobuf/ti" +
+      "mestamp.proto\032\027google/type/money.proto\032 " +
+      "google/type/postal_address.proto\"\223\t\n\014Reg" +
+      "istration\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain_n" +
+      "ame\030\002 \001(\tB\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\0132\032" +
+      ".google.protobuf.TimestampB\003\340A\003\0224\n\013expir" +
+      "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp" +
+      "B\003\340A\003\022D\n\005state\030\007 \001(\01620.google.cloud.doma" +
+      "ins.v1beta1.Registration.StateB\003\340A\003\022E\n\006i" +
+      "ssues\030\010 \003(\01620.google.cloud.domains.v1bet" +
+      "a1.Registration.IssueB\003\340A\003\022F\n\006labels\030\t \003" +
+      "(\01326.google.cloud.domains.v1beta1.Regist" +
+      "ration.LabelsEntry\022M\n\023management_setting" +
+      "s\030\n \001(\01320.google.cloud.domains.v1beta1.M" +
+      "anagementSettings\022?\n\014dns_settings\030\013 \001(\0132" +
+      ").google.cloud.domains.v1beta1.DnsSettin" +
+      "gs\022L\n\020contact_settings\030\014 \001(\0132-.google.cl" +
+      "oud.domains.v1beta1.ContactSettingsB\003\340A\002" +
+      "\022T\n\030pending_contact_settings\030\r \001(\0132-.goo" +
+      "gle.cloud.domains.v1beta1.ContactSetting" +
+      "sB\003\340A\003\022L\n\021supported_privacy\030\016 \003(\0162,.goog" +
+      "le.cloud.domains.v1beta1.ContactPrivacyB" +
+      "\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" +
+      "e\030\002 \001(\t:\0028\001\"\245\001\n\005State\022\025\n\021STATE_UNSPECIFI" +
+      "ED\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022\027\n\023REGIST" +
+      "RATION_FAILED\020\002\022\024\n\020TRANSFER_PENDING\020\003\022\023\n" +
+      "\017TRANSFER_FAILED\020\004\022\n\n\006ACTIVE\020\006\022\r\n\tSUSPEN" +
+      "DED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025\n\021ISSUE_UN" +
+      "SPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVE" +
+      "RIFIED_EMAIL\020\002:n\352Ak\n#domains.googleapis." +
+      "com/Registration\022Dprojects/{project}/loc" +
+      "ations/{location}/registrations/{registr" +
+      "ation}\"\233\002\n\022ManagementSettings\022[\n\016renewal" +
+      "_method\030\003 \001(\0162>.google.cloud.domains.v1b" +
+      "eta1.ManagementSettings.RenewalMethodB\003\340" +
+      "A\003\022L\n\023transfer_lock_state\030\004 \001(\0162/.google" +
+      ".cloud.domains.v1beta1.TransferLockState" +
+      "\"Z\n\rRenewalMethod\022\036\n\032RENEWAL_METHOD_UNSP" +
+      "ECIFIED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001\022\022\n\016MANU" +
+      "AL_RENEWAL\020\002\"\306\n\n\013DnsSettings\022I\n\ncustom_d" +
+      "ns\030\001 \001(\01323.google.cloud.domains.v1beta1." +
+      "DnsSettings.CustomDnsH\000\022X\n\022google_domain" +
+      "s_dns\030\002 \001(\0132:.google.cloud.domains.v1bet" +
+      "a1.DnsSettings.GoogleDomainsDnsH\000\022J\n\014glu" +
+      "e_records\030\004 \003(\01324.google.cloud.domains.v" +
+      "1beta1.DnsSettings.GlueRecord\032n\n\tCustomD" +
+      "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\002\022F\n\nds_reco" +
+      "rds\030\002 \003(\01322.google.cloud.domains.v1beta1" +
+      ".DnsSettings.DsRecord\032\304\001\n\020GoogleDomainsD" +
+      "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\003\022H\n\010ds_stat" +
+      "e\030\002 \001(\01621.google.cloud.domains.v1beta1.D" +
+      "nsSettings.DsStateB\003\340A\002\022K\n\nds_records\030\003 " +
+      "\003(\01322.google.cloud.domains.v1beta1.DnsSe" +
+      "ttings.DsRecordB\003\340A\003\032\315\004\n\010DsRecord\022\017\n\007key" +
+      "_tag\030\001 \001(\005\022O\n\talgorithm\030\002 \001(\0162<.google.c" +
+      "loud.domains.v1beta1.DnsSettings.DsRecor" +
+      "d.Algorithm\022R\n\013digest_type\030\003 \001(\0162=.googl" +
+      "e.cloud.domains.v1beta1.DnsSettings.DsRe" +
+      "cord.DigestType\022\016\n\006digest\030\004 \001(\t\"\237\002\n\tAlgo" +
+      "rithm\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\022\n\n\006RSAM" +
+      "D5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA" +
+      "1\020\005\022\020\n\014DSANSEC3SHA1\020\006\022\024\n\020RSASHA1NSEC3SHA" +
+      "1\020\007\022\r\n\tRSASHA256\020\010\022\r\n\tRSASHA512\020\n\022\013\n\007ECC" +
+      "GOST\020\014\022\023\n\017ECDSAP256SHA256\020\r\022\023\n\017ECDSAP384" +
+      "SHA384\020\016\022\013\n\007ED25519\020\017\022\t\n\005ED448\020\020\022\r\n\010INDI" +
+      "RECT\020\374\001\022\017\n\nPRIVATEDNS\020\375\001\022\017\n\nPRIVATEOID\020\376" +
+      "\001\"Y\n\nDigestType\022\033\n\027DIGEST_TYPE_UNSPECIFI" +
+      "ED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SHA256\020\002\022\014\n\010GOST3411\020\003" +
+      "\022\n\n\006SHA384\020\004\032T\n\nGlueRecord\022\026\n\thost_name\030" +
+      "\001 \001(\tB\003\340A\002\022\026\n\016ipv4_addresses\030\002 \003(\t\022\026\n\016ip" +
+      "v6_addresses\030\003 \003(\t\"Y\n\007DsState\022\030\n\024DS_STAT" +
+      "E_UNSPECIFIED\020\000\022\032\n\026DS_RECORDS_UNPUBLISHE" +
+      "D\020\001\022\030\n\024DS_RECORDS_PUBLISHED\020\002B\016\n\014dns_pro" +
+      "vider\"\337\003\n\017ContactSettings\022B\n\007privacy\030\001 \001" +
+      "(\0162,.google.cloud.domains.v1beta1.Contac" +
+      "tPrivacyB\003\340A\002\022V\n\022registrant_contact\030\002 \001(" +
+      "\01325.google.cloud.domains.v1beta1.Contact" +
+      "Settings.ContactB\003\340A\002\022Q\n\radmin_contact\030\003" +
+      " \001(\01325.google.cloud.domains.v1beta1.Cont" +
+      "actSettings.ContactB\003\340A\002\022U\n\021technical_co" +
+      "ntact\030\004 \001(\01325.google.cloud.domains.v1bet" +
+      "a1.ContactSettings.ContactB\003\340A\002\032\205\001\n\007Cont" +
+      "act\0227\n\016postal_address\030\001 \001(\0132\032.google.typ" +
+      "e.PostalAddressB\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002" +
+      "\022\031\n\014phone_number\030\003 \001(\tB\003\340A\002\022\022\n\nfax_numbe" +
+      "r\030\004 \001(\t\"g\n\024SearchDomainsRequest\022\022\n\005query" +
+      "\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!l" +
+      "ocations.googleapis.com/Location\"f\n\025Sear" +
+      "chDomainsResponse\022M\n\023register_parameters" +
+      "\030\001 \003(\01320.google.cloud.domains.v1beta1.Re" +
+      "gisterParameters\"z\n!RetrieveRegisterPara" +
+      "metersRequest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022" +
+      ";\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locations.goo" +
+      "gleapis.com/Location\"s\n\"RetrieveRegister" +
+      "ParametersResponse\022M\n\023register_parameter" +
+      "s\030\001 \001(\01320.google.cloud.domains.v1beta1.R" +
+      "egisterParameters\"\351\002\n\025RegisterDomainRequ" +
+      "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.g" +
+      "oogleapis.com/Location\022E\n\014registration\030\002" +
+      " \001(\0132*.google.cloud.domains.v1beta1.Regi" +
+      "strationB\003\340A\002\022B\n\016domain_notices\030\003 \003(\0162*." +
+      "google.cloud.domains.v1beta1.DomainNotic" +
+      "e\022D\n\017contact_notices\030\004 \003(\0162+.google.clou" +
+      "d.domains.v1beta1.ContactNotice\022-\n\014yearl" +
+      "y_price\030\005 \001(\0132\022.google.type.MoneyB\003\340A\002\022\025" +
+      "\n\rvalidate_only\030\006 \001(\010\"z\n!RetrieveTransfe" +
+      "rParametersRequest\022\030\n\013domain_name\030\001 \001(\tB" +
+      "\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!location" +
+      "s.googleapis.com/Location\"s\n\"RetrieveTra" +
+      "nsferParametersResponse\022M\n\023transfer_para" +
+      "meters\030\001 \001(\01320.google.cloud.domains.v1be" +
+      "ta1.TransferParameters\"\362\002\n\025TransferDomai" +
+      "nRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati" +
+      "ons.googleapis.com/Location\022E\n\014registrat" +
+      "ion\030\002 \001(\0132*.google.cloud.domains.v1beta1" +
+      ".RegistrationB\003\340A\002\022D\n\017contact_notices\030\003 " +
+      "\003(\0162+.google.cloud.domains.v1beta1.Conta" +
+      "ctNotice\022-\n\014yearly_price\030\004 \001(\0132\022.google." +
+      "type.MoneyB\003\340A\002\022K\n\022authorization_code\030\005 " +
+      "\001(\0132/.google.cloud.domains.v1beta1.Autho" +
+      "rizationCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030" +
+      "ListRegistrationsRequest\0229\n\006parent\030\001 \001(\t" +
+      "B)\340A\002\372A#\n!locations.googleapis.com/Locat" +
+      "ion\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\"w\n\031ListRegistrationsR" +
+      "esponse\022A\n\rregistrations\030\001 \003(\0132*.google." +
+      "cloud.domains.v1beta1.Registration\022\027\n\017ne" +
+      "xt_page_token\030\002 \001(\t\"S\n\026GetRegistrationRe" +
+      "quest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" +
+      "gleapis.com/Registration\"\223\001\n\031UpdateRegis" +
+      "trationRequest\022@\n\014registration\030\001 \001(\0132*.g" +
+      "oogle.cloud.domains.v1beta1.Registration" +
+      "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." +
+      "FieldMaskB\003\340A\002\"\354\001\n\"ConfigureManagementSe" +
+      "ttingsRequest\022A\n\014registration\030\001 \001(\tB+\340A\002" +
+      "\372A%\n#domains.googleapis.com/Registration" +
+      "\022M\n\023management_settings\030\002 \001(\01320.google.c" +
+      "loud.domains.v1beta1.ManagementSettings\022" +
+      "4\n\013update_mask\030\003 \001(\0132\032.google.protobuf.F" +
+      "ieldMaskB\003\340A\002\"\356\001\n\033ConfigureDnsSettingsRe" +
+      "quest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#dom" +
+      "ains.googleapis.com/Registration\022?\n\014dns_" +
+      "settings\030\002 \001(\0132).google.cloud.domains.v1" +
+      "beta1.DnsSettings\0224\n\013update_mask\030\003 \001(\0132\032" +
+      ".google.protobuf.FieldMaskB\003\340A\002\022\025\n\rvalid" +
+      "ate_only\030\004 \001(\010\"\300\002\n\037ConfigureContactSetti" +
+      "ngsRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%" +
+      "\n#domains.googleapis.com/Registration\022G\n" +
+      "\020contact_settings\030\002 \001(\0132-.google.cloud.d" +
+      "omains.v1beta1.ContactSettings\0224\n\013update" +
+      "_mask\030\003 \001(\0132\032.google.protobuf.FieldMaskB" +
+      "\003\340A\002\022D\n\017contact_notices\030\004 \003(\0162+.google.c" +
+      "loud.domains.v1beta1.ContactNotice\022\025\n\rva" +
+      "lidate_only\030\005 \001(\010\"V\n\031ExportRegistrationR" +
+      "equest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.go" +
+      "ogleapis.com/Registration\"V\n\031DeleteRegis" +
+      "trationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#do" +
+      "mains.googleapis.com/Registration\"e\n Ret" +
+      "rieveAuthorizationCodeRequest\022A\n\014registr" +
+      "ation\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis." +
+      "com/Registration\"b\n\035ResetAuthorizationCo" +
+      "deRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n" +
+      "#domains.googleapis.com/Registration\"\241\003\n" +
+      "\022RegisterParameters\022\023\n\013domain_name\030\001 \001(\t" +
+      "\022S\n\014availability\030\002 \001(\0162=.google.cloud.do" +
+      "mains.v1beta1.RegisterParameters.Availab" +
+      "ility\022G\n\021supported_privacy\030\003 \003(\0162,.googl" +
+      "e.cloud.domains.v1beta1.ContactPrivacy\022B" +
+      "\n\016domain_notices\030\004 \003(\0162*.google.cloud.do" +
+      "mains.v1beta1.DomainNotice\022(\n\014yearly_pri" +
+      "ce\030\005 \001(\0132\022.google.type.Money\"j\n\014Availabi" +
+      "lity\022\034\n\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\tAV" +
+      "AILABLE\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTE" +
+      "D\020\003\022\013\n\007UNKNOWN\020\004\"\233\002\n\022TransferParameters\022" +
+      "\023\n\013domain_name\030\001 \001(\t\022\031\n\021current_registra" +
+      "r\030\002 \001(\t\022\024\n\014name_servers\030\003 \003(\t\022L\n\023transfe" +
+      "r_lock_state\030\004 \001(\0162/.google.cloud.domain" +
+      "s.v1beta1.TransferLockState\022G\n\021supported" +
+      "_privacy\030\005 \003(\0162,.google.cloud.domains.v1" +
+      "beta1.ContactPrivacy\022(\n\014yearly_price\030\006 \001" +
+      "(\0132\022.google.type.Money\"!\n\021AuthorizationC" +
+      "ode\022\014\n\004code\030\001 \001(\t\"\274\001\n\021OperationMetadata\022" +
+      "/\n\013create_time\030\001 \001(\0132\032.google.protobuf.T" +
+      "imestamp\022,\n\010end_time\030\002 \001(\0132\032.google.prot" +
+      "obuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004" +
+      " \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\023\n\013api_versi" +
+      "on\030\006 \001(\t*\177\n\016ContactPrivacy\022\037\n\033CONTACT_PR" +
+      "IVACY_UNSPECIFIED\020\000\022\027\n\023PUBLIC_CONTACT_DA" +
+      "TA\020\001\022\030\n\024PRIVATE_CONTACT_DATA\020\002\022\031\n\025REDACT" +
+      "ED_CONTACT_DATA\020\003*A\n\014DomainNotice\022\035\n\031DOM" +
+      "AIN_NOTICE_UNSPECIFIED\020\000\022\022\n\016HSTS_PRELOAD" +
+      "ED\020\001*X\n\rContactNotice\022\036\n\032CONTACT_NOTICE_" +
+      "UNSPECIFIED\020\000\022\'\n#PUBLIC_CONTACT_DATA_ACK" +
+      "NOWLEDGEMENT\020\001*R\n\021TransferLockState\022#\n\037T" +
+      "RANSFER_LOCK_STATE_UNSPECIFIED\020\000\022\014\n\010UNLO" +
+      "CKED\020\001\022\n\n\006LOCKED\020\0022\312\036\n\007Domains\022\331\001\n\rSearc" +
+      "hDomains\0222.google.cloud.domains.v1beta1." +
+      "SearchDomainsRequest\0323.google.cloud.doma" +
+      "ins.v1beta1.SearchDomainsResponse\"_\202\323\344\223\002" +
+      "H\022F/v1beta1/{location=projects/*/locatio" +
+      "ns/*}/registrations:searchDomains\332A\016loca" +
+      "tion,query\022\223\002\n\032RetrieveRegisterParameter" +
+      "s\022?.google.cloud.domains.v1beta1.Retriev" +
+      "eRegisterParametersRequest\032@.google.clou" +
+      "d.domains.v1beta1.RetrieveRegisterParame" +
+      "tersResponse\"r\202\323\344\223\002U\022S/v1beta1/{location" +
+      "=projects/*/locations/*}/registrations:r" +
+      "etrieveRegisterParameters\332A\024location,dom" +
+      "ain_name\022\370\001\n\016RegisterDomain\0223.google.clo" +
+      "ud.domains.v1beta1.RegisterDomainRequest" +
+      "\032\035.google.longrunning.Operation\"\221\001\202\323\344\223\002D" +
+      "\"?/v1beta1/{parent=projects/*/locations/" +
+      "*}/registrations:register:\001*\332A parent,re" +
+      "gistration,yearly_price\312A!\n\014Registration" +
+      "\022\021OperationMetadata\022\223\002\n\032RetrieveTransfer" +
+      "Parameters\022?.google.cloud.domains.v1beta" +
+      "1.RetrieveTransferParametersRequest\032@.go" +
+      "ogle.cloud.domains.v1beta1.RetrieveTrans" +
+      "ferParametersResponse\"r\202\323\344\223\002U\022S/v1beta1/" +
+      "{location=projects/*/locations/*}/regist" +
+      "rations:retrieveTransferParameters\332A\024loc" +
+      "ation,domain_name\022\213\002\n\016TransferDomain\0223.g" +
+      "oogle.cloud.domains.v1beta1.TransferDoma" +
+      "inRequest\032\035.google.longrunning.Operation" +
+      "\"\244\001\202\323\344\223\002D\"?/v1beta1/{parent=projects/*/l" +
+      "ocations/*}/registrations:transfer:\001*\332A3" +
+      "parent,registration,yearly_price,authori" +
+      "zation_code\312A!\n\014Registration\022\021OperationM" +
+      "etadata\022\315\001\n\021ListRegistrations\0226.google.c" +
+      "loud.domains.v1beta1.ListRegistrationsRe" +
+      "quest\0327.google.cloud.domains.v1beta1.Lis" +
+      "tRegistrationsResponse\"G\202\323\344\223\0028\0226/v1beta1" +
+      "/{parent=projects/*/locations/*}/registr" +
+      "ations\332A\006parent\022\272\001\n\017GetRegistration\0224.go" +
+      "ogle.cloud.domains.v1beta1.GetRegistrati" +
+      "onRequest\032*.google.cloud.domains.v1beta1" +
+      ".Registration\"E\202\323\344\223\0028\0226/v1beta1/{name=pr" +
+      "ojects/*/locations/*/registrations/*}\332A\004" +
+      "name\022\207\002\n\022UpdateRegistration\0227.google.clo" +
+      "ud.domains.v1beta1.UpdateRegistrationReq" +
+      "uest\032\035.google.longrunning.Operation\"\230\001\202\323" +
+      "\344\223\002S2C/v1beta1/{registration.name=projec" +
+      "ts/*/locations/*/registrations/*}:\014regis" +
+      "tration\332A\030registration,update_mask\312A!\n\014R" +
+      "egistration\022\021OperationMetadata\022\271\002\n\033Confi" +
+      "gureManagementSettings\022@.google.cloud.do" +
+      "mains.v1beta1.ConfigureManagementSetting" +
+      "sRequest\032\035.google.longrunning.Operation\"" +
+      "\270\001\202\323\344\223\002_\"Z/v1beta1/{registration=project" +
+      "s/*/locations/*/registrations/*}:configu" +
+      "reManagementSettings:\001*\332A,registration,m" +
+      "anagement_settings,update_mask\312A!\n\014Regis" +
+      "tration\022\021OperationMetadata\022\235\002\n\024Configure" +
+      "DnsSettings\0229.google.cloud.domains.v1bet" +
+      "a1.ConfigureDnsSettingsRequest\032\035.google." +
+      "longrunning.Operation\"\252\001\202\323\344\223\002X\"S/v1beta1" +
+      "/{registration=projects/*/locations/*/re" +
+      "gistrations/*}:configureDnsSettings:\001*\332A" +
+      "%registration,dns_settings,update_mask\312A" +
+      "!\n\014Registration\022\021OperationMetadata\022\255\002\n\030C" +
+      "onfigureContactSettings\022=.google.cloud.d" +
+      "omains.v1beta1.ConfigureContactSettingsR" +
+      "equest\032\035.google.longrunning.Operation\"\262\001" +
+      "\202\323\344\223\002\\\"W/v1beta1/{registration=projects/" +
+      "*/locations/*/registrations/*}:configure" +
+      "ContactSettings:\001*\332A)registration,contac" +
+      "t_settings,update_mask\312A!\n\014Registration\022" +
+      "\021OperationMetadata\022\341\001\n\022ExportRegistratio" +
+      "n\0227.google.cloud.domains.v1beta1.ExportR" +
+      "egistrationRequest\032\035.google.longrunning." +
+      "Operation\"s\202\323\344\223\002B\"=/v1beta1/{name=projec" +
+      "ts/*/locations/*/registrations/*}:export" +
+      ":\001*\332A\004name\312A!\n\014Registration\022\021OperationMe" +
+      "tadata\022\340\001\n\022DeleteRegistration\0227.google.c" +
+      "loud.domains.v1beta1.DeleteRegistrationR" +
+      "equest\032\035.google.longrunning.Operation\"r\202" +
+      "\323\344\223\0028*6/v1beta1/{name=projects/*/locatio" +
+      "ns/*/registrations/*}\332A\004name\312A*\n\025google." +
+      "protobuf.Empty\022\021OperationMetadata\022\375\001\n\031Re" +
+      "trieveAuthorizationCode\022>.google.cloud.d" +
+      "omains.v1beta1.RetrieveAuthorizationCode" +
+      "Request\032/.google.cloud.domains.v1beta1.A" +
+      "uthorizationCode\"o\202\323\344\223\002Z\022X/v1beta1/{regi" +
+      "stration=projects/*/locations/*/registra" +
+      "tions/*}:retrieveAuthorizationCode\332A\014reg" +
+      "istration\022\367\001\n\026ResetAuthorizationCode\022;.g" +
+      "oogle.cloud.domains.v1beta1.ResetAuthori" +
+      "zationCodeRequest\032/.google.cloud.domains" +
+      ".v1beta1.AuthorizationCode\"o\202\323\344\223\002Z\"U/v1b" +
+      "eta1/{registration=projects/*/locations/" +
+      "*/registrations/*}:resetAuthorizationCod" +
+      "e:\001*\332A\014registration\032J\312A\026domains.googleap" +
+      "is.com\322A.https://www.googleapis.com/auth" +
+      "/cloud-platformBw\n com.google.cloud.doma" +
+      "ins.v1beta1B\014DomainsProtoP\001ZCgoogle.gola" +
+      "ng.org/genproto/googleapis/cloud/domains" +
+      "/v1beta1;domainsb\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.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.type.MoneyProto.getDescriptor(),
+          com.google.type.PostalAddressProto.getDescriptor(),
+        });
+    internal_static_google_cloud_domains_v1beta1_Registration_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_Registration_descriptor,
+        new java.lang.String[] { "Name", "DomainName", "CreateTime", "ExpireTime", "State", "Issues", "Labels", "ManagementSettings", "DnsSettings", "ContactSettings", "PendingContactSettings", "SupportedPrivacy", });
+    internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor =
+      internal_static_google_cloud_domains_v1beta1_Registration_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor,
+        new java.lang.String[] { "RenewalMethod", "TransferLockState", });
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor,
+        new java.lang.String[] { "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider", });
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor =
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor,
+        new java.lang.String[] { "NameServers", "DsRecords", });
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor =
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor,
+        new java.lang.String[] { "NameServers", "DsState", "DsRecords", });
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor =
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(2);
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor,
+        new java.lang.String[] { "KeyTag", "Algorithm", "DigestType", "Digest", });
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor =
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(3);
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor,
+        new java.lang.String[] { "HostName", "Ipv4Addresses", "Ipv6Addresses", });
+    internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor,
+        new java.lang.String[] { "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact", });
+    internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor =
+      internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor,
+        new java.lang.String[] { "PostalAddress", "Email", "PhoneNumber", "FaxNumber", });
+    internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor,
+        new java.lang.String[] { "Query", "Location", });
+    internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor,
+        new java.lang.String[] { "RegisterParameters", });
+    internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor,
+        new java.lang.String[] { "DomainName", "Location", });
+    internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor,
+        new java.lang.String[] { "RegisterParameters", });
+    internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor,
+        new java.lang.String[] { "Parent", "Registration", "DomainNotices", "ContactNotices", "YearlyPrice", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor,
+        new java.lang.String[] { "DomainName", "Location", });
+    internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor,
+        new java.lang.String[] { "TransferParameters", });
+    internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor,
+        new java.lang.String[] { "Parent", "Registration", "ContactNotices", "YearlyPrice", "AuthorizationCode", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
+    internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor,
+        new java.lang.String[] { "Registrations", "NextPageToken", });
+    internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor,
+        new java.lang.String[] { "Registration", "UpdateMask", });
+    internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor,
+        new java.lang.String[] { "Registration", "ManagementSettings", "UpdateMask", });
+    internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor,
+        new java.lang.String[] { "Registration", "DnsSettings", "UpdateMask", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor,
+        new java.lang.String[] { "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly", });
+    internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor =
+      getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor =
+      getDescriptor().getMessageTypes().get(21);
+    internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor,
+        new java.lang.String[] { "Registration", });
+    internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor =
+      getDescriptor().getMessageTypes().get(22);
+    internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor,
+        new java.lang.String[] { "Registration", });
+    internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor =
+      getDescriptor().getMessageTypes().get(23);
+    internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor,
+        new java.lang.String[] { "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice", });
+    internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor =
+      getDescriptor().getMessageTypes().get(24);
+    internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor,
+        new java.lang.String[] { "DomainName", "CurrentRegistrar", "NameServers", "TransferLockState", "SupportedPrivacy", "YearlyPrice", });
+    internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor =
+      getDescriptor().getMessageTypes().get(25);
+    internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor,
+        new java.lang.String[] { "Code", });
+    internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(26);
+    internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor,
+        new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.MoneyProto.getDescriptor();
+    com.google.type.PostalAddressProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java
similarity index 65%
rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java
index 392f31f0..8e8712cc 100644
--- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1beta1/domains.proto
 
 package com.google.cloud.domains.v1beta1;
 
 /**
- *
- *
  * 
  * Request for the `ExportRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ExportRegistrationRequest} */ -public final class ExportRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ExportRegistrationRequest) ExportRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportRegistrationRequest.newBuilder() to construct. private ExportRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExportRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ExportRegistrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ExportRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, - com.google.cloud.domains.v1beta1.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, com.google.cloud.domains.v1beta1.ExportRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 @@ -135,32 +110,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 `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,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.domains.v1beta1.ExportRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ExportRegistrationRequest other = - (com.google.cloud.domains.v1beta1.ExportRegistrationRequest) obj; + com.google.cloud.domains.v1beta1.ExportRegistrationRequest other = (com.google.cloud.domains.v1beta1.ExportRegistrationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.ExportRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ExportRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ExportRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ExportRegistrationRequest) com.google.cloud.domains.v1beta1.ExportRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, - com.google.cloud.domains.v1beta1.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, com.google.cloud.domains.v1beta1.ExportRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ExportRegistrationRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.domains.v1beta1.ExportRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ExportRegistrationRequest buildPartial() { - com.google.cloud.domains.v1beta1.ExportRegistrationRequest result = - new com.google.cloud.domains.v1beta1.ExportRegistrationRequest(this); + com.google.cloud.domains.v1beta1.ExportRegistrationRequest result = new com.google.cloud.domains.v1beta1.ExportRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.domains.v1beta1.ExportRegistrationRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ExportRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ExportRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.ExportRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ExportRegistrationRequest other) { - if (other == com.google.cloud.domains.v1beta1.ExportRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.ExportRegistrationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.ExportRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.ExportRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ExportRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ExportRegistrationRequest) private static final com.google.cloud.domains.v1beta1.ExportRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ExportRegistrationRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1beta1.ExportRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..f82b8389 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1beta1/domains.proto + +package com.google.cloud.domains.v1beta1; + +public interface ExportRegistrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ExportRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java similarity index 65% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java index 5c96ec29..30c3cd65 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `GetRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.GetRegistrationRequest} */ -public final class GetRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.GetRegistrationRequest) GetRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRegistrationRequest.newBuilder() to construct. private GetRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRegistrationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, - com.google.cloud.domains.v1beta1.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, com.google.cloud.domains.v1beta1.GetRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 @@ -135,32 +110,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 `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,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.domains.v1beta1.GetRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.GetRegistrationRequest other = - (com.google.cloud.domains.v1beta1.GetRegistrationRequest) obj; + com.google.cloud.domains.v1beta1.GetRegistrationRequest other = (com.google.cloud.domains.v1beta1.GetRegistrationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.GetRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.GetRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `GetRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.GetRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.GetRegistrationRequest) com.google.cloud.domains.v1beta1.GetRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, - com.google.cloud.domains.v1beta1.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, com.google.cloud.domains.v1beta1.GetRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.GetRegistrationRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.domains.v1beta1.GetRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.GetRegistrationRequest buildPartial() { - com.google.cloud.domains.v1beta1.GetRegistrationRequest result = - new com.google.cloud.domains.v1beta1.GetRegistrationRequest(this); + com.google.cloud.domains.v1beta1.GetRegistrationRequest result = new com.google.cloud.domains.v1beta1.GetRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.domains.v1beta1.GetRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.GetRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.GetRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.GetRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.GetRegistrationRequest other) { - if (other == com.google.cloud.domains.v1beta1.GetRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.GetRegistrationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.GetRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.GetRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.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; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.GetRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.GetRegistrationRequest) private static final com.google.cloud.domains.v1beta1.GetRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.GetRegistrationRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.domains.v1beta1.GetRegistrationRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.GetRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..292695f0 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1beta1/domains.proto + +package com.google.cloud.domains.v1beta1; + +public interface GetRegistrationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.GetRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java similarity index 73% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java index e796fd8d..aefce5ea 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ListRegistrationsRequest} */ -public final class ListRegistrationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRegistrationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ListRegistrationsRequest) ListRegistrationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRegistrationsRequest.newBuilder() to construct. private ListRegistrationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRegistrationsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListRegistrationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRegistrationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRegistrationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListRegistrationsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListRegistrationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, - com.google.cloud.domains.v1beta1.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, com.google.cloud.domains.v1beta1.ListRegistrationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 { @@ -192,14 +163,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -210,15 +178,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -227,30 +192,30 @@ 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; } } /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * 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 { @@ -261,8 +226,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -280,7 +243,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -289,15 +251,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -315,15 +276,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -332,7 +294,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,7 +305,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -370,7 +332,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_); @@ -386,18 +349,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.domains.v1beta1.ListRegistrationsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ListRegistrationsRequest other = - (com.google.cloud.domains.v1beta1.ListRegistrationsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.domains.v1beta1.ListRegistrationsRequest other = (com.google.cloud.domains.v1beta1.ListRegistrationsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,127 +389,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.ListRegistrationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ListRegistrationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ListRegistrationsRequest) com.google.cloud.domains.v1beta1.ListRegistrationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, - com.google.cloud.domains.v1beta1.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, com.google.cloud.domains.v1beta1.ListRegistrationsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ListRegistrationsRequest.newBuilder() @@ -551,15 +507,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -575,9 +532,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; } @java.lang.Override @@ -596,8 +553,7 @@ public com.google.cloud.domains.v1beta1.ListRegistrationsRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ListRegistrationsRequest buildPartial() { - com.google.cloud.domains.v1beta1.ListRegistrationsRequest result = - new com.google.cloud.domains.v1beta1.ListRegistrationsRequest(this); + com.google.cloud.domains.v1beta1.ListRegistrationsRequest result = new com.google.cloud.domains.v1beta1.ListRegistrationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -610,39 +566,38 @@ public com.google.cloud.domains.v1beta1.ListRegistrationsRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ListRegistrationsRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ListRegistrationsRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.ListRegistrationsRequest)other); } else { super.mergeFrom(other); return this; @@ -650,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ListRegistrationsRequest other) { - if (other == com.google.cloud.domains.v1beta1.ListRegistrationsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.ListRegistrationsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -686,8 +640,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.ListRegistrationsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.ListRegistrationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -699,23 +652,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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; @@ -724,24 +673,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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 { @@ -749,85 +695,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -835,36 +765,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -872,21 +796,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * 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; @@ -895,22 +817,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * 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 { @@ -918,64 +839,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -983,8 +897,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1002,13 +914,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1017,8 +929,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1036,14 +946,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1051,8 +962,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1070,22 +979,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1103,18 +1010,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1132,23 +1036,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1158,12 +1062,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ListRegistrationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ListRegistrationsRequest) private static final com.google.cloud.domains.v1beta1.ListRegistrationsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ListRegistrationsRequest(); } @@ -1172,16 +1076,16 @@ public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1196,4 +1100,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.ListRegistrationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java similarity index 74% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java index e9b6f7f7..1c3f5a7e 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java @@ -1,102 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ListRegistrationsRequestOrBuilder - extends +public interface ListRegistrationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ListRegistrationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 project and location from which to list `Registration`s, specified in
    * the format `projects/*/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(); /** - * - * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -114,13 +79,10 @@ public interface ListRegistrationsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -138,8 +100,8 @@ public interface ListRegistrationsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java similarity index 74% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java index 38b0460c..f2924de9 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Response for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ListRegistrationsResponse} */ -public final class ListRegistrationsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRegistrationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ListRegistrationsResponse) ListRegistrationsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRegistrationsResponse.newBuilder() to construct. private ListRegistrationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRegistrationsResponse() { registrations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRegistrationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRegistrationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRegistrationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListRegistrationsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registrations_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - registrations_.add( - input.readMessage( - com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registrations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + registrations_.add( + input.readMessage(com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListRegistrationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registrations_ = java.util.Collections.unmodifiableList(registrations_); @@ -114,27 +94,22 @@ private ListRegistrationsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, - com.google.cloud.domains.v1beta1.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, com.google.cloud.domains.v1beta1.ListRegistrationsResponse.Builder.class); } public static final int REGISTRATIONS_FIELD_NUMBER = 1; private java.util.List registrations_; /** - * - * *
    * A list of `Registration`s.
    * 
@@ -146,8 +121,6 @@ public java.util.List getRegistra return registrations_; } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -155,13 +128,11 @@ public java.util.List getRegistra * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegistrationsOrBuilderList() { return registrations_; } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -173,8 +144,6 @@ public int getRegistrationsCount() { return registrations_.size(); } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -186,8 +155,6 @@ public com.google.cloud.domains.v1beta1.Registration getRegistrations(int index) return registrations_.get(index); } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -203,15 +170,12 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -220,30 +184,30 @@ 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; } } /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * 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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < registrations_.size(); i++) { output.writeMessage(1, registrations_.get(i)); } @@ -281,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registrations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, registrations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, registrations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1beta1.ListRegistrationsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ListRegistrationsResponse other = - (com.google.cloud.domains.v1beta1.ListRegistrationsResponse) obj; + com.google.cloud.domains.v1beta1.ListRegistrationsResponse other = (com.google.cloud.domains.v1beta1.ListRegistrationsResponse) obj; - if (!getRegistrationsList().equals(other.getRegistrationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRegistrationsList() + .equals(other.getRegistrationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +293,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.ListRegistrationsResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.ListRegistrationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ListRegistrationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ListRegistrationsResponse) com.google.cloud.domains.v1beta1.ListRegistrationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, - com.google.cloud.domains.v1beta1.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, com.google.cloud.domains.v1beta1.ListRegistrationsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ListRegistrationsResponse.newBuilder() @@ -455,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRegistrationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; } @java.lang.Override @@ -502,8 +458,7 @@ public com.google.cloud.domains.v1beta1.ListRegistrationsResponse build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ListRegistrationsResponse buildPartial() { - com.google.cloud.domains.v1beta1.ListRegistrationsResponse result = - new com.google.cloud.domains.v1beta1.ListRegistrationsResponse(this); + com.google.cloud.domains.v1beta1.ListRegistrationsResponse result = new com.google.cloud.domains.v1beta1.ListRegistrationsResponse(this); int from_bitField0_ = bitField0_; if (registrationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.cloud.domains.v1beta1.ListRegistrationsResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ListRegistrationsResponse) { - return mergeFrom((com.google.cloud.domains.v1beta1.ListRegistrationsResponse) other); + return mergeFrom((com.google.cloud.domains.v1beta1.ListRegistrationsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ListRegistrationsResponse other) { - if (other == com.google.cloud.domains.v1beta1.ListRegistrationsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.ListRegistrationsResponse.getDefaultInstance()) return this; if (registrationsBuilder_ == null) { if (!other.registrations_.isEmpty()) { if (registrations_.isEmpty()) { @@ -583,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.ListRegistrationsRespo registrationsBuilder_ = null; registrations_ = other.registrations_; bitField0_ = (bitField0_ & ~0x00000001); - registrationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRegistrationsFieldBuilder() - : null; + registrationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRegistrationsFieldBuilder() : null; } else { registrationsBuilder_.addAllMessages(other.registrations_); } @@ -615,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.ListRegistrationsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.ListRegistrationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -625,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List registrations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRegistrationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registrations_ = - new java.util.ArrayList(registrations_); + registrations_ = new java.util.ArrayList(registrations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder> - registrationsBuilder_; + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> registrationsBuilder_; /** - * - * *
      * A list of `Registration`s.
      * 
@@ -662,8 +605,6 @@ public java.util.List getRegistra } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -678,8 +619,6 @@ public int getRegistrationsCount() { } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -694,8 +633,6 @@ public com.google.cloud.domains.v1beta1.Registration getRegistrations(int index) } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -717,8 +654,6 @@ public Builder setRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -737,8 +672,6 @@ public Builder setRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -759,8 +692,6 @@ public Builder addRegistrations(com.google.cloud.domains.v1beta1.Registration va return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -782,8 +713,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -802,8 +731,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -822,8 +749,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -834,7 +759,8 @@ public Builder addAllRegistrations( java.lang.Iterable values) { if (registrationsBuilder_ == null) { ensureRegistrationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registrations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, registrations_); onChanged(); } else { registrationsBuilder_.addAllMessages(values); @@ -842,8 +768,6 @@ public Builder addAllRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -861,8 +785,6 @@ public Builder clearRegistrations() { return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -880,8 +802,6 @@ public Builder removeRegistrations(int index) { return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -893,8 +813,6 @@ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationsBui return getRegistrationsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -904,22 +822,19 @@ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationsBui public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOrBuilder( int index) { if (registrationsBuilder_ == null) { - return registrations_.get(index); - } else { + return registrations_.get(index); } else { return registrationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ - public java.util.List - getRegistrationsOrBuilderList() { + public java.util.List + getRegistrationsOrBuilderList() { if (registrationsBuilder_ != null) { return registrationsBuilder_.getMessageOrBuilderList(); } else { @@ -927,8 +842,6 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOr } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -936,12 +849,10 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOr * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ public com.google.cloud.domains.v1beta1.Registration.Builder addRegistrationsBuilder() { - return getRegistrationsFieldBuilder() - .addBuilder(com.google.cloud.domains.v1beta1.Registration.getDefaultInstance()); + return getRegistrationsFieldBuilder().addBuilder( + com.google.cloud.domains.v1beta1.Registration.getDefaultInstance()); } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -950,34 +861,26 @@ public com.google.cloud.domains.v1beta1.Registration.Builder addRegistrationsBui */ public com.google.cloud.domains.v1beta1.Registration.Builder addRegistrationsBuilder( int index) { - return getRegistrationsFieldBuilder() - .addBuilder(index, com.google.cloud.domains.v1beta1.Registration.getDefaultInstance()); + return getRegistrationsFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1beta1.Registration.getDefaultInstance()); } /** - * - * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ - public java.util.List - getRegistrationsBuilderList() { + public java.util.List + getRegistrationsBuilderList() { return getRegistrationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> getRegistrationsFieldBuilder() { if (registrationsBuilder_ == null) { - registrationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( + registrationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( registrations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -989,21 +892,19 @@ public com.google.cloud.domains.v1beta1.Registration.Builder addRegistrationsBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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; @@ -1012,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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 { @@ -1035,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1109,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ListRegistrationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ListRegistrationsResponse) private static final com.google.cloud.domains.v1beta1.ListRegistrationsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ListRegistrationsResponse(); } @@ -1123,16 +1016,16 @@ public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1beta1.ListRegistrationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java index 15b04ce1..5296ff2d 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ListRegistrationsResponseOrBuilder - extends +public interface ListRegistrationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ListRegistrationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ - java.util.List getRegistrationsList(); + java.util.List + getRegistrationsList(); /** - * - * *
    * A list of `Registration`s.
    * 
@@ -44,8 +25,6 @@ public interface ListRegistrationsResponseOrBuilder */ com.google.cloud.domains.v1beta1.Registration getRegistrations(int index); /** - * - * *
    * A list of `Registration`s.
    * 
@@ -54,51 +33,43 @@ public interface ListRegistrationsResponseOrBuilder */ int getRegistrationsCount(); /** - * - * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ - java.util.List + java.util.List getRegistrationsOrBuilderList(); /** - * - * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ - com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOrBuilder(int index); + com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOrBuilder( + int index); /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/LocationName.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/LocationName.java similarity index 100% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/LocationName.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/LocationName.java diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java similarity index 66% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java index 4d903fe5..4dfaf698 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Defines renewal, billing, and transfer settings for a `Registration`.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ManagementSettings} */ -public final class ManagementSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ManagementSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ManagementSettings) ManagementSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ManagementSettings.newBuilder() to construct. private ManagementSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ManagementSettings() { renewalMethod_ = 0; transferLockState_ = 0; @@ -44,15 +26,16 @@ private ManagementSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ManagementSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ManagementSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ManagementSettings( case 0: done = true; break; - case 24: - { - int rawValue = input.readEnum(); + case 24: { + int rawValue = input.readEnum(); - renewalMethod_ = rawValue; - break; - } - case 32: - { - int rawValue = input.readEnum(); + renewalMethod_ = rawValue; + break; + } + case 32: { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transferLockState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ManagementSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ManagementSettings.class, - com.google.cloud.domains.v1beta1.ManagementSettings.Builder.class); + com.google.cloud.domains.v1beta1.ManagementSettings.class, com.google.cloud.domains.v1beta1.ManagementSettings.Builder.class); } /** - * - * *
    * Defines how the `Registration` is renewed.
    * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod} */ - public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { + public enum RenewalMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The renewal method is undefined.
      * 
@@ -142,8 +118,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { */ RENEWAL_METHOD_UNSPECIFIED(0), /** - * - * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -154,8 +128,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     AUTOMATIC_RENEWAL(1),
     /**
-     *
-     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -171,8 +143,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The renewal method is undefined.
      * 
@@ -181,8 +151,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RENEWAL_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -193,8 +161,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AUTOMATIC_RENEWAL_VALUE = 1;
     /**
-     *
-     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -207,6 +173,7 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MANUAL_RENEWAL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -231,51 +198,49 @@ public static RenewalMethod valueOf(int value) {
      */
     public static RenewalMethod forNumber(int value) {
       switch (value) {
-        case 0:
-          return RENEWAL_METHOD_UNSPECIFIED;
-        case 1:
-          return AUTOMATIC_RENEWAL;
-        case 2:
-          return MANUAL_RENEWAL;
-        default:
-          return null;
+        case 0: return RENEWAL_METHOD_UNSPECIFIED;
+        case 1: return AUTOMATIC_RENEWAL;
+        case 2: return MANUAL_RENEWAL;
+        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<
+        RenewalMethod> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RenewalMethod findValueByNumber(int number) {
+              return RenewalMethod.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RenewalMethod findValueByNumber(int number) {
-            return RenewalMethod.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.domains.v1beta1.ManagementSettings.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1beta1.ManagementSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final RenewalMethod[] VALUES = values();
 
-    public static RenewalMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RenewalMethod 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;
@@ -295,85 +260,58 @@ private RenewalMethod(int value) {
   public static final int RENEWAL_METHOD_FIELD_NUMBER = 3;
   private int renewalMethod_;
   /**
-   *
-   *
    * 
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override - public int getRenewalMethodValue() { + @java.lang.Override public int getRenewalMethodValue() { return renewalMethod_; } /** - * - * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The renewalMethod. */ - @java.lang.Override - public com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod getRenewalMethod() { + @java.lang.Override public com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod result = - com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null - ? com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null ? com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ - @java.lang.Override - public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { + @java.lang.Override public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.TransferLockState result = - com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); - return result == null - ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.TransferLockState result = com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); + return result == null ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,16 +323,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (renewalMethod_ - != com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod - .RENEWAL_METHOD_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (renewalMethod_ != com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(3, renewalMethod_); } - if (transferLockState_ - != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { + if (transferLockState_ != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, transferLockState_); } unknownFields.writeTo(output); @@ -406,16 +340,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (renewalMethod_ - != com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod - .RENEWAL_METHOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, renewalMethod_); + if (renewalMethod_ != com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, renewalMethod_); } - if (transferLockState_ - != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); + if (transferLockState_ != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, transferLockState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -425,13 +356,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.domains.v1beta1.ManagementSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ManagementSettings other = - (com.google.cloud.domains.v1beta1.ManagementSettings) obj; + com.google.cloud.domains.v1beta1.ManagementSettings other = (com.google.cloud.domains.v1beta1.ManagementSettings) obj; if (renewalMethod_ != other.renewalMethod_) return false; if (transferLockState_ != other.transferLockState_) return false; @@ -456,126 +386,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ManagementSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ManagementSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.ManagementSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines renewal, billing, and transfer settings for a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ManagementSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ManagementSettings) com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ManagementSettings.class, - com.google.cloud.domains.v1beta1.ManagementSettings.Builder.class); + com.google.cloud.domains.v1beta1.ManagementSettings.class, com.google.cloud.domains.v1beta1.ManagementSettings.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ManagementSettings.newBuilder() @@ -583,15 +504,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -603,9 +525,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; } @java.lang.Override @@ -624,8 +546,7 @@ public com.google.cloud.domains.v1beta1.ManagementSettings build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ManagementSettings buildPartial() { - com.google.cloud.domains.v1beta1.ManagementSettings result = - new com.google.cloud.domains.v1beta1.ManagementSettings(this); + com.google.cloud.domains.v1beta1.ManagementSettings result = new com.google.cloud.domains.v1beta1.ManagementSettings(this); result.renewalMethod_ = renewalMethod_; result.transferLockState_ = transferLockState_; onBuilt(); @@ -636,39 +557,38 @@ public com.google.cloud.domains.v1beta1.ManagementSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ManagementSettings) { - return mergeFrom((com.google.cloud.domains.v1beta1.ManagementSettings) other); + return mergeFrom((com.google.cloud.domains.v1beta1.ManagementSettings)other); } else { super.mergeFrom(other); return this; @@ -676,8 +596,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ManagementSettings other) { - if (other == com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance()) return this; if (other.renewalMethod_ != 0) { setRenewalMethodValue(other.getRenewalMethodValue()); } @@ -703,8 +622,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.ManagementSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.ManagementSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -716,103 +634,73 @@ public Builder mergeFrom( private int renewalMethod_ = 0; /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override - public int getRenewalMethodValue() { + @java.lang.Override public int getRenewalMethodValue() { return renewalMethod_; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for renewalMethod to set. * @return This builder for chaining. */ public Builder setRenewalMethodValue(int value) { - + renewalMethod_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The renewalMethod. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod result = - com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null - ? com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null ? com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The renewalMethod to set. * @return This builder for chaining. */ - public Builder setRenewalMethod( - com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod value) { + public Builder setRenewalMethod(com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod value) { if (value == null) { throw new NullPointerException(); } - + renewalMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearRenewalMethod() { - + renewalMethod_ = 0; onChanged(); return this; @@ -820,67 +708,51 @@ public Builder clearRenewalMethod() { private int transferLockState_ = 0; /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.TransferLockState result = - com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); - return result == null - ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.TransferLockState result = com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); + return result == null ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED : result; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -888,31 +760,28 @@ public Builder setTransferLockState(com.google.cloud.domains.v1beta1.TransferLoc if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -922,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ManagementSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ManagementSettings) private static final com.google.cloud.domains.v1beta1.ManagementSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ManagementSettings(); } @@ -936,16 +805,16 @@ public static com.google.cloud.domains.v1beta1.ManagementSettings getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagementSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ManagementSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagementSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ManagementSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -960,4 +829,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.ManagementSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java similarity index 56% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java index a165634f..12b85271 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java @@ -1,78 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ManagementSettingsOrBuilder - extends +public interface ManagementSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ManagementSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for renewalMethod. */ int getRenewalMethodValue(); /** - * - * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The renewalMethod. */ com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod getRenewalMethod(); /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** - * - * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState(); diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java similarity index 71% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java index d6cfab2d..94087888 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Represents the metadata of the long-running operation. Output only.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.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.domains.v1beta1.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,15 +28,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,71 +56,63 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusDetail_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusDetail_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -145,39 +120,34 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.OperationMetadata.class, - com.google.cloud.domains.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.domains.v1beta1.OperationMetadata.class, com.google.cloud.domains.v1beta1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -185,14 +155,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -200,8 +167,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -216,14 +181,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -231,14 +193,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -246,8 +205,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -262,14 +219,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ @java.lang.Override @@ -278,29 +232,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; } } /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @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 { @@ -311,14 +265,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ @java.lang.Override @@ -327,29 +278,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; } } /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @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 { @@ -360,14 +311,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int STATUS_DETAIL_FIELD_NUMBER = 5; private volatile java.lang.Object statusDetail_; /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ @java.lang.Override @@ -376,29 +324,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -409,14 +357,11 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { public static final int API_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object apiVersion_; /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @return The apiVersion. */ @java.lang.Override @@ -425,29 +370,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; } } /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @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 { @@ -456,7 +401,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,7 +412,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -497,10 +442,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_); @@ -522,26 +469,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1beta1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.OperationMetadata other = - (com.google.cloud.domains.v1beta1.OperationMetadata) obj; + com.google.cloud.domains.v1beta1.OperationMetadata other = (com.google.cloud.domains.v1beta1.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 (!getStatusDetail().equals(other.getStatusDetail())) 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 (!getStatusDetail() + .equals(other.getStatusDetail())) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -575,126 +527,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.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.domains.v1beta1.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.domains.v1beta1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.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.domains.v1beta1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.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.domains.v1beta1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.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.domains.v1beta1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.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.domains.v1beta1.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.domains.v1beta1.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.domains.v1beta1.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. Output only.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.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.domains.v1beta1.OperationMetadata) com.google.cloud.domains.v1beta1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.OperationMetadata.class, - com.google.cloud.domains.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.domains.v1beta1.OperationMetadata.class, com.google.cloud.domains.v1beta1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.OperationMetadata.newBuilder() @@ -702,15 +645,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -738,9 +682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; } @java.lang.Override @@ -759,8 +703,7 @@ public com.google.cloud.domains.v1beta1.OperationMetadata build() { @java.lang.Override public com.google.cloud.domains.v1beta1.OperationMetadata buildPartial() { - com.google.cloud.domains.v1beta1.OperationMetadata result = - new com.google.cloud.domains.v1beta1.OperationMetadata(this); + com.google.cloud.domains.v1beta1.OperationMetadata result = new com.google.cloud.domains.v1beta1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -783,39 +726,38 @@ public com.google.cloud.domains.v1beta1.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.OperationMetadata) { - return mergeFrom((com.google.cloud.domains.v1beta1.OperationMetadata) other); + return mergeFrom((com.google.cloud.domains.v1beta1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -823,8 +765,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.OperationMetadata other) { - if (other == com.google.cloud.domains.v1beta1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -866,8 +807,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -879,47 +819,34 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time the operation was created.
      * 
@@ -940,15 +867,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -959,8 +885,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -971,7 +895,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -983,8 +907,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1003,8 +925,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1012,13 +932,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation was created.
      * 
@@ -1029,14 +947,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time the operation was created.
      * 
@@ -1044,17 +959,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1062,33 +974,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_; /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1099,8 +1002,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1121,15 +1022,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1140,8 +1040,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1152,7 +1050,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1164,8 +1062,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1184,8 +1080,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1193,13 +1087,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1210,12 +1102,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1223,17 +1114,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1241,20 +1129,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @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; @@ -1263,21 +1149,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @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 { @@ -1285,61 +1170,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1347,20 +1225,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @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; @@ -1369,21 +1245,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @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 { @@ -1391,61 +1266,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1453,20 +1321,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusDetail_ = ""; /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1475,21 +1341,20 @@ public java.lang.String getStatusDetail() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1497,61 +1362,54 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail(java.lang.String value) { + public Builder setStatusDetail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @return This builder for chaining. */ public Builder clearStatusDetail() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; - * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { + public Builder setStatusDetailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; @@ -1559,20 +1417,18 @@ public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @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; @@ -1581,21 +1437,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @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 { @@ -1603,68 +1458,61 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 6; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1674,12 +1522,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.OperationMetadata) private static final com.google.cloud.domains.v1beta1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.OperationMetadata(); } @@ -1688,16 +1536,16 @@ public static com.google.cloud.domains.v1beta1.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1712,4 +1560,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java similarity index 74% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java index bbfedc09..00ca25b7 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
@@ -59,32 +35,24 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
@@ -94,102 +62,82 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; - * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString getStatusDetailBytes(); + com.google.protobuf.ByteString + getStatusDetailBytes(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 6; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java similarity index 75% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java index 3726820b..4f30c58e 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `RegisterDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RegisterDomainRequest} */ -public final class RegisterDomainRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RegisterDomainRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RegisterDomainRequest) RegisterDomainRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RegisterDomainRequest.newBuilder() to construct. private RegisterDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RegisterDomainRequest() { parent_ = ""; domainNotices_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private RegisterDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RegisterDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RegisterDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,105 +56,96 @@ private RegisterDomainRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = input.readMessage(com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = - input.readMessage( - com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + domainNotices_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } domainNotices_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - domainNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 32: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 32: - { + contactNotices_.add(rawValue); + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } contactNotices_.add(rawValue); - break; - } - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - contactNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; } - case 42: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + input.popLimit(oldLimit); + break; + } + case 42: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 48: - { - validateOnly_ = input.readBool(); - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 48: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -179,7 +153,8 @@ private RegisterDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = java.util.Collections.unmodifiableList(domainNotices_); @@ -191,36 +166,28 @@ private RegisterDomainRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, - com.google.cloud.domains.v1beta1.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, com.google.cloud.domains.v1beta1.RegisterDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -229,32 +196,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -265,16 +230,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.Registration registration_; /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ @java.lang.Override @@ -282,34 +242,23 @@ public boolean hasRegistration() { return registration_ != null; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1beta1.Registration getRegistration() { - return registration_ == null - ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -319,47 +268,36 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB public static final int DOMAIN_NOTICES_FIELD_NUMBER = 3; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice> - domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice> domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>() { public com.google.cloud.domains.v1beta1.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DomainNotice result = - com.google.cloud.domains.v1beta1.DomainNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1beta1.DomainNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.DomainNotice result = com.google.cloud.domains.v1beta1.DomainNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1beta1.DomainNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @return The count of domainNotices. */ @java.lang.Override @@ -367,15 +305,12 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -384,31 +319,26 @@ public com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index) return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return domainNotices_; } /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -416,28 +346,21 @@ public java.util.List getDomainNoticesValueList() { public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } - private int domainNoticesMemoizedSerializedSize; public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> - contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>() { public com.google.cloud.domains.v1beta1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactNotice result = - com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.ContactNotice result = com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -445,18 +368,14 @@ public com.google.cloud.domains.v1beta1.ContactNotice convert(java.lang.Integer
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -464,7 +383,6 @@ public java.util.List getContact
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ @java.lang.Override @@ -472,8 +390,6 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -481,7 +397,6 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -490,8 +405,6 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -499,16 +412,14 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return contactNotices_; } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -516,7 +427,6 @@ public java.util.List getContactNoticesValueList() {
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -524,14 +434,11 @@ public java.util.List getContactNoticesValueList() { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } - private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -539,7 +446,6 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -547,8 +453,6 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -556,7 +460,6 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ @java.lang.Override @@ -564,8 +467,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -582,8 +483,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
-   *
-   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -591,7 +490,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -600,7 +498,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -612,7 +509,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -653,39 +551,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }domainNoticesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getYearlyPrice()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -695,26 +594,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.domains.v1beta1.RegisterDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RegisterDomainRequest other = - (com.google.cloud.domains.v1beta1.RegisterDomainRequest) obj; + com.google.cloud.domains.v1beta1.RegisterDomainRequest other = (com.google.cloud.domains.v1beta1.RegisterDomainRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; } if (!domainNotices_.equals(other.domainNotices_)) return false; if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -745,134 +647,125 @@ public int hashCode() { hash = (53 * hash) + getYearlyPrice().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.RegisterDomainRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.RegisterDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RegisterDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RegisterDomainRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RegisterDomainRequest) com.google.cloud.domains.v1beta1.RegisterDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, - com.google.cloud.domains.v1beta1.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, com.google.cloud.domains.v1beta1.RegisterDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.RegisterDomainRequest.newBuilder() @@ -880,15 +773,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -916,9 +810,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; } @java.lang.Override @@ -937,8 +831,7 @@ public com.google.cloud.domains.v1beta1.RegisterDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.RegisterDomainRequest buildPartial() { - com.google.cloud.domains.v1beta1.RegisterDomainRequest result = - new com.google.cloud.domains.v1beta1.RegisterDomainRequest(this); + com.google.cloud.domains.v1beta1.RegisterDomainRequest result = new com.google.cloud.domains.v1beta1.RegisterDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -970,39 +863,38 @@ public com.google.cloud.domains.v1beta1.RegisterDomainRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RegisterDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.RegisterDomainRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.RegisterDomainRequest)other); } else { super.mergeFrom(other); return this; @@ -1010,8 +902,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.RegisterDomainRequest other) { - if (other == com.google.cloud.domains.v1beta1.RegisterDomainRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.RegisterDomainRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1064,8 +955,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.RegisterDomainRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.RegisterDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1074,28 +964,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -1104,24 +989,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -1129,70 +1011,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1200,58 +1069,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1beta1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder> - registrationBuilder_; + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> registrationBuilder_; /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ public com.google.cloud.domains.v1beta1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null - ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; } else { return registrationBuilder_.getMessage(); } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration value) { if (registrationBuilder_ == null) { @@ -1267,15 +1117,11 @@ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration val return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration( com.google.cloud.domains.v1beta1.Registration.Builder builderForValue) { @@ -1289,23 +1135,17 @@ public Builder setRegistration( return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); } else { registration_ = value; } @@ -1317,15 +1157,11 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1339,71 +1175,55 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null - ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? + com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( - getRegistration(), getParentForChildren(), isClean()); + registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( + getRegistration(), + getParentForChildren(), + isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List domainNotices_ = java.util.Collections.emptyList(); - + private java.util.List domainNotices_ = + java.util.Collections.emptyList(); private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1411,47 +1231,37 @@ private void ensureDomainNoticesIsMutable() { } } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1459,15 +1269,12 @@ public com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index) return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. @@ -1483,15 +1290,12 @@ public Builder setDomainNotices( return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1505,15 +1309,12 @@ public Builder addDomainNotices(com.google.cloud.domains.v1beta1.DomainNotice va return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1527,15 +1328,12 @@ public Builder addAllDomainNotices( return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1545,30 +1343,25 @@ public Builder clearDomainNotices() { return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1576,35 +1369,30 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue(int index, int value) { + public Builder setDomainNoticesValue( + int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1615,19 +1403,17 @@ public Builder addDomainNoticesValue(int value) { return this; } /** - * - * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue(java.lang.Iterable values) { + public Builder addAllDomainNoticesValue( + java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1636,8 +1422,8 @@ public Builder addAllDomainNoticesValue(java.lang.Iterable va return this; } - private java.util.List contactNotices_ = java.util.Collections.emptyList(); - + private java.util.List contactNotices_ = + java.util.Collections.emptyList(); private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1645,8 +1431,6 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1654,17 +1438,13 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1672,15 +1452,12 @@ public java.util.List getContact
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1688,7 +1465,6 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1696,8 +1472,6 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1705,7 +1479,6 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1721,8 +1494,6 @@ public Builder setContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1730,7 +1501,6 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1744,8 +1514,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1753,7 +1521,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1767,8 +1534,6 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1776,7 +1541,6 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1786,8 +1550,6 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1795,15 +1557,13 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1811,7 +1571,6 @@ public java.util.List getContactNoticesValueList() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1819,8 +1578,6 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1828,20 +1585,18 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue(int index, int value) { + public Builder setContactNoticesValue( + int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1849,7 +1604,6 @@ public Builder setContactNoticesValue(int index, int value) {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1860,8 +1614,6 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1869,11 +1621,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue(java.lang.Iterable values) { + public Builder addAllContactNoticesValue( + java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1884,11 +1636,8 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1896,15 +1645,12 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1912,7 +1658,6 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1923,8 +1668,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1947,8 +1690,6 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1957,7 +1698,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(
+        com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1968,8 +1710,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1982,7 +1722,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1994,8 +1734,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2016,8 +1754,6 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2027,13 +1763,11 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-
+      
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2046,12 +1780,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ?
+            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -2061,24 +1794,21 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Money,
-                com.google.type.Money.Builder,
-                com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(), getParentForChildren(), isClean());
+        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(),
+                getParentForChildren(),
+                isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
     }
 
-    private boolean validateOnly_;
+    private boolean validateOnly_ ;
     /**
-     *
-     *
      * 
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -2086,7 +1816,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -2094,8 +1823,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -2103,19 +1830,16 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -2123,18 +1847,17 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2144,12 +1867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RegisterDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RegisterDomainRequest) private static final com.google.cloud.domains.v1beta1.RegisterDomainRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RegisterDomainRequest(); } @@ -2158,16 +1881,16 @@ public static com.google.cloud.domains.v1beta1.RegisterDomainRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2182,4 +1905,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.RegisterDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java index 2c2f6cd1..5f125ed3 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java @@ -1,171 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RegisterDomainRequestOrBuilder - extends +public interface RegisterDomainRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RegisterDomainRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ boolean hasRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ com.google.cloud.domains.v1beta1.Registration getRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List getDomainNoticesValueList(); + java.util.List + getDomainNoticesValueList(); /** - * - * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -173,13 +118,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -187,13 +129,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ int getContactNoticesCount(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -201,14 +140,11 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int index); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -216,13 +152,11 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List getContactNoticesValueList(); + java.util.List + getContactNoticesValueList(); /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -230,15 +164,12 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -246,13 +177,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -260,13 +188,10 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -278,8 +203,6 @@ public interface RegisterDomainRequestOrBuilder
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
-   *
-   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -287,7 +210,6 @@ public interface RegisterDomainRequestOrBuilder
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java similarity index 76% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java index df5fd9f0..642a57a1 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Parameters required to register a new domain.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RegisterParameters} */ -public final class RegisterParameters extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RegisterParameters extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RegisterParameters) RegisterParametersOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RegisterParameters.newBuilder() to construct. private RegisterParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RegisterParameters() { domainName_ = ""; availability_ = 0; @@ -46,15 +28,16 @@ private RegisterParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RegisterParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RegisterParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,91 +57,84 @@ private RegisterParameters( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + domainName_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - availability_ = rawValue; - break; + availability_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + supportedPrivacy_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } supportedPrivacy_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - supportedPrivacy_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 32: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 32: - { + domainNotices_.add(rawValue); + break; + } + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } domainNotices_.add(rawValue); - break; } - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - domainNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 42: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 42: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -166,7 +142,8 @@ private RegisterParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = java.util.Collections.unmodifiableList(supportedPrivacy_); @@ -178,35 +155,29 @@ private RegisterParameters( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RegisterParameters.class, - com.google.cloud.domains.v1beta1.RegisterParameters.Builder.class); + com.google.cloud.domains.v1beta1.RegisterParameters.class, com.google.cloud.domains.v1beta1.RegisterParameters.Builder.class); } /** - * - * *
    * Possible availability states of a domain name.
    * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.RegisterParameters.Availability} */ - public enum Availability implements com.google.protobuf.ProtocolMessageEnum { + public enum Availability + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The availability is unspecified.
      * 
@@ -215,8 +186,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ AVAILABILITY_UNSPECIFIED(0), /** - * - * *
      * The domain is available for registration.
      * 
@@ -225,8 +194,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ AVAILABLE(1), /** - * - * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -236,8 +203,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNAVAILABLE(2),
     /**
-     *
-     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -247,8 +212,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNSUPPORTED(3),
     /**
-     *
-     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -261,8 +224,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The availability is unspecified.
      * 
@@ -271,8 +232,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABILITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is available for registration.
      * 
@@ -281,8 +240,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABLE_VALUE = 1; /** - * - * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -292,8 +249,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNAVAILABLE_VALUE = 2;
     /**
-     *
-     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -303,8 +258,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNSUPPORTED_VALUE = 3;
     /**
-     *
-     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -314,6 +267,7 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNKNOWN_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -338,55 +292,51 @@ public static Availability valueOf(int value) {
      */
     public static Availability forNumber(int value) {
       switch (value) {
-        case 0:
-          return AVAILABILITY_UNSPECIFIED;
-        case 1:
-          return AVAILABLE;
-        case 2:
-          return UNAVAILABLE;
-        case 3:
-          return UNSUPPORTED;
-        case 4:
-          return UNKNOWN;
-        default:
-          return null;
+        case 0: return AVAILABILITY_UNSPECIFIED;
+        case 1: return AVAILABLE;
+        case 2: return UNAVAILABLE;
+        case 3: return UNSUPPORTED;
+        case 4: return UNKNOWN;
+        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<
+        Availability> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Availability findValueByNumber(int number) {
+              return Availability.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Availability findValueByNumber(int number) {
-            return Availability.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.domains.v1beta1.RegisterParameters.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1beta1.RegisterParameters.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Availability[] VALUES = values();
 
-    public static Availability valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Availability 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;
@@ -406,14 +356,11 @@ private Availability(int value) {
   public static final int DOMAIN_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object domainName_;
   /**
-   *
-   *
    * 
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ @java.lang.Override @@ -422,29 +369,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -455,8 +402,6 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int AVAILABILITY_FIELD_NUMBER = 2; private int availability_; /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -464,16 +409,12 @@ public com.google.protobuf.ByteString getDomainNameBytes() {
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; - * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override - public int getAvailabilityValue() { + @java.lang.Override public int getAvailabilityValue() { return availability_; } /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -481,61 +422,45 @@ public int getAvailabilityValue() {
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; - * * @return The availability. */ - @java.lang.Override - public com.google.cloud.domains.v1beta1.RegisterParameters.Availability getAvailability() { + @java.lang.Override public com.google.cloud.domains.v1beta1.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.RegisterParameters.Availability result = - com.google.cloud.domains.v1beta1.RegisterParameters.Availability.valueOf(availability_); - return result == null - ? com.google.cloud.domains.v1beta1.RegisterParameters.Availability.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.RegisterParameters.Availability result = com.google.cloud.domains.v1beta1.RegisterParameters.Availability.valueOf(availability_); + return result == null ? com.google.cloud.domains.v1beta1.RegisterParameters.Availability.UNRECOGNIZED : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 3; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> - supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>() { public com.google.cloud.domains.v1beta1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactPrivacy result = - com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); - return result == null - ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.ContactPrivacy result = com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); + return result == null ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED : result; } }; /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -543,14 +468,11 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -559,29 +481,24 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return supportedPrivacy_; } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -589,51 +506,39 @@ public java.util.List getSupportedPrivacyValueList() { public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } - private int supportedPrivacyMemoizedSerializedSize; public static final int DOMAIN_NOTICES_FIELD_NUMBER = 4; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice> - domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice> domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>() { public com.google.cloud.domains.v1beta1.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DomainNotice result = - com.google.cloud.domains.v1beta1.DomainNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1beta1.DomainNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.DomainNotice result = com.google.cloud.domains.v1beta1.DomainNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1beta1.DomainNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @return The count of domainNotices. */ @java.lang.Override @@ -641,14 +546,11 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -657,29 +559,24 @@ public com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index) return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return domainNotices_; } /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -687,20 +584,16 @@ public java.util.List getDomainNoticesValueList() { public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } - private int domainNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -708,14 +601,11 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return The yearlyPrice. */ @java.lang.Override @@ -723,8 +613,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Price to register or renew the domain for one year.
    * 
@@ -737,7 +625,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -749,14 +636,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } - if (availability_ - != com.google.cloud.domains.v1beta1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED - .getNumber()) { + if (availability_ != com.google.cloud.domains.v1beta1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { output.writeEnum(2, availability_); } if (getSupportedPrivacyList().size() > 0) { @@ -788,39 +674,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domainName_); } - if (availability_ - != com.google.cloud.domains.v1beta1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, availability_); + if (availability_ != com.google.cloud.domains.v1beta1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, availability_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedPrivacyMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }domainNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -830,21 +714,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.domains.v1beta1.RegisterParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RegisterParameters other = - (com.google.cloud.domains.v1beta1.RegisterParameters) obj; + com.google.cloud.domains.v1beta1.RegisterParameters other = (com.google.cloud.domains.v1beta1.RegisterParameters) obj; - if (!getDomainName().equals(other.getDomainName())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; if (availability_ != other.availability_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!domainNotices_.equals(other.domainNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -879,126 +764,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RegisterParameters parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RegisterParameters parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.RegisterParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters required to register a new domain.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RegisterParameters} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RegisterParameters) com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RegisterParameters.class, - com.google.cloud.domains.v1beta1.RegisterParameters.Builder.class); + com.google.cloud.domains.v1beta1.RegisterParameters.class, com.google.cloud.domains.v1beta1.RegisterParameters.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.RegisterParameters.newBuilder() @@ -1006,15 +882,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1036,9 +913,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; } @java.lang.Override @@ -1057,8 +934,7 @@ public com.google.cloud.domains.v1beta1.RegisterParameters build() { @java.lang.Override public com.google.cloud.domains.v1beta1.RegisterParameters buildPartial() { - com.google.cloud.domains.v1beta1.RegisterParameters result = - new com.google.cloud.domains.v1beta1.RegisterParameters(this); + com.google.cloud.domains.v1beta1.RegisterParameters result = new com.google.cloud.domains.v1beta1.RegisterParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.availability_ = availability_; @@ -1085,39 +961,38 @@ public com.google.cloud.domains.v1beta1.RegisterParameters buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RegisterParameters) { - return mergeFrom((com.google.cloud.domains.v1beta1.RegisterParameters) other); + return mergeFrom((com.google.cloud.domains.v1beta1.RegisterParameters)other); } else { super.mergeFrom(other); return this; @@ -1125,8 +1000,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.RegisterParameters other) { - if (other == com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -1176,8 +1050,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.RegisterParameters) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.RegisterParameters) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1186,25 +1059,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object domainName_ = ""; /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -1213,21 +1083,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -1235,61 +1104,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -1297,8 +1159,6 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private int availability_ = 0; /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1306,16 +1166,12 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; - * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override - public int getAvailabilityValue() { + @java.lang.Override public int getAvailabilityValue() { return availability_; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1323,19 +1179,16 @@ public int getAvailabilityValue() {
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; - * * @param value The enum numeric value on the wire for availability to set. * @return This builder for chaining. */ public Builder setAvailabilityValue(int value) { - + availability_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1343,21 +1196,15 @@ public Builder setAvailabilityValue(int value) {
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; - * * @return The availability. */ @java.lang.Override public com.google.cloud.domains.v1beta1.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.RegisterParameters.Availability result = - com.google.cloud.domains.v1beta1.RegisterParameters.Availability.valueOf(availability_); - return result == null - ? com.google.cloud.domains.v1beta1.RegisterParameters.Availability.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.RegisterParameters.Availability result = com.google.cloud.domains.v1beta1.RegisterParameters.Availability.valueOf(availability_); + return result == null ? com.google.cloud.domains.v1beta1.RegisterParameters.Availability.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1365,23 +1212,19 @@ public com.google.cloud.domains.v1beta1.RegisterParameters.Availability getAvail
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; - * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability( - com.google.cloud.domains.v1beta1.RegisterParameters.Availability value) { + public Builder setAvailability(com.google.cloud.domains.v1beta1.RegisterParameters.Availability value) { if (value == null) { throw new NullPointerException(); } - + availability_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1389,18 +1232,17 @@ public Builder setAvailability(
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; - * * @return This builder for chaining. */ public Builder clearAvailability() { - + availability_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); - + private java.util.List supportedPrivacy_ = + java.util.Collections.emptyList(); private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1408,45 +1250,34 @@ private void ensureSupportedPrivacyIsMutable() { } } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the supportedPrivacy. */ - public java.util.List - getSupportedPrivacyList() { + public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1454,14 +1285,11 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1477,14 +1305,11 @@ public Builder setSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1498,14 +1323,11 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1beta1.ContactPriva return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1519,14 +1341,11 @@ public Builder addAllSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1536,28 +1355,23 @@ public Builder clearSupportedPrivacy() { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1565,33 +1379,28 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue(int index, int value) { + public Builder setSupportedPrivacyValue( + int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1602,18 +1411,16 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue( + java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1622,8 +1429,8 @@ public Builder addAllSupportedPrivacyValue(java.lang.Iterable return this; } - private java.util.List domainNotices_ = java.util.Collections.emptyList(); - + private java.util.List domainNotices_ = + java.util.Collections.emptyList(); private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1631,44 +1438,34 @@ private void ensureDomainNoticesIsMutable() { } } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>( - domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>(domainNotices_, domainNotices_converter_); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1676,14 +1473,11 @@ public com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index) return domainNotices_converter_.convert(domainNotices_.get(index)); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. @@ -1699,14 +1493,11 @@ public Builder setDomainNotices( return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1720,14 +1511,11 @@ public Builder addDomainNotices(com.google.cloud.domains.v1beta1.DomainNotice va return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1741,14 +1529,11 @@ public Builder addAllDomainNotices( return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1758,28 +1543,23 @@ public Builder clearDomainNotices() { return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List getDomainNoticesValueList() { + public java.util.List + getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1787,33 +1567,28 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue(int index, int value) { + public Builder setDomainNoticesValue( + int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1824,18 +1599,16 @@ public Builder addDomainNoticesValue(int value) { return this; } /** - * - * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue(java.lang.Iterable values) { + public Builder addAllDomainNoticesValue( + java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1846,31 +1619,24 @@ public Builder addAllDomainNoticesValue(java.lang.Iterable va private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1881,8 +1647,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1903,15 +1667,14 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; */ - public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice( + com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1922,8 +1685,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1934,7 +1695,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1946,8 +1707,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1966,8 +1725,6 @@ public Builder clearYearlyPrice() { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1975,13 +1732,11 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 5; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1992,12 +1747,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? + com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -2005,22 +1759,21 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - getYearlyPrice(), getParentForChildren(), isClean()); + yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + getYearlyPrice(), + getParentForChildren(), + isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2030,12 +1783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RegisterParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RegisterParameters) private static final com.google.cloud.domains.v1beta1.RegisterParameters DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RegisterParameters(); } @@ -2044,16 +1797,16 @@ public static com.google.cloud.domains.v1beta1.RegisterParameters getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2068,4 +1821,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.RegisterParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java similarity index 83% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java index e6d68022..39df6b55 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RegisterParametersOrBuilder - extends +public interface RegisterParametersOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RegisterParameters) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -58,13 +35,10 @@ public interface RegisterParametersOrBuilder
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; - * * @return The enum numeric value on the wire for availability. */ int getAvailabilityValue(); /** - * - * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -72,164 +46,127 @@ public interface RegisterParametersOrBuilder
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; - * * @return The availability. */ com.google.cloud.domains.v1beta1.RegisterParameters.Availability getAvailability(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int index); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List getSupportedPrivacyValueList(); + java.util.List + getSupportedPrivacyValueList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List getDomainNoticesValueList(); + java.util.List + getDomainNoticesValueList(); /** - * - * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Price to register or renew the domain for one year.
    * 
diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java similarity index 68% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java index 198dd8e5..cbc1ced2 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * The `Registration` resource facilitates managing and configuring domain name
  * registrations.
@@ -39,16 +22,15 @@
  *
  * Protobuf type {@code google.cloud.domains.v1beta1.Registration}
  */
-public final class Registration extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Registration extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.Registration)
     RegistrationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Registration.newBuilder() to construct.
   private Registration(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Registration() {
     name_ = "";
     domainName_ = "";
@@ -59,15 +41,16 @@ private Registration() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Registration();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Registration(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -87,192 +70,168 @@ private Registration(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              domainName_ = s;
-              break;
+            domainName_ = s;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (expireTime_ != null) {
-                subBuilder = expireTime_.toBuilder();
-              }
-              expireTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(expireTime_);
-                expireTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (expireTime_ != null) {
+              subBuilder = expireTime_.toBuilder();
+            }
+            expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(expireTime_);
+              expireTime_ = subBuilder.buildPartial();
             }
-          case 56:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 64: {
+            int rawValue = input.readEnum();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              issues_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 64:
-            {
+            issues_.add(rawValue);
+            break;
+          }
+          case 66: {
+            int length = input.readRawVarint32();
+            int oldLimit = input.pushLimit(length);
+            while(input.getBytesUntilLimit() > 0) {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                 issues_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000001;
               }
               issues_.add(rawValue);
-              break;
             }
-          case 66:
-            {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while (input.getBytesUntilLimit() > 0) {
-                int rawValue = input.readEnum();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  issues_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                issues_.add(rawValue);
-              }
-              input.popLimit(oldLimit);
-              break;
+            input.popLimit(oldLimit);
+            break;
+          }
+          case 74: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 74:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 82: {
+            com.google.cloud.domains.v1beta1.ManagementSettings.Builder subBuilder = null;
+            if (managementSettings_ != null) {
+              subBuilder = managementSettings_.toBuilder();
+            }
+            managementSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.ManagementSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(managementSettings_);
+              managementSettings_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              com.google.cloud.domains.v1beta1.ManagementSettings.Builder subBuilder = null;
-              if (managementSettings_ != null) {
-                subBuilder = managementSettings_.toBuilder();
-              }
-              managementSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1beta1.ManagementSettings.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(managementSettings_);
-                managementSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 90: {
+            com.google.cloud.domains.v1beta1.DnsSettings.Builder subBuilder = null;
+            if (dnsSettings_ != null) {
+              subBuilder = dnsSettings_.toBuilder();
+            }
+            dnsSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(dnsSettings_);
+              dnsSettings_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.cloud.domains.v1beta1.DnsSettings.Builder subBuilder = null;
-              if (dnsSettings_ != null) {
-                subBuilder = dnsSettings_.toBuilder();
-              }
-              dnsSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1beta1.DnsSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(dnsSettings_);
-                dnsSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 98: {
+            com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null;
+            if (contactSettings_ != null) {
+              subBuilder = contactSettings_.toBuilder();
+            }
+            contactSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(contactSettings_);
+              contactSettings_ = subBuilder.buildPartial();
             }
-          case 98:
-            {
-              com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null;
-              if (contactSettings_ != null) {
-                subBuilder = contactSettings_.toBuilder();
-              }
-              contactSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(contactSettings_);
-                contactSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 106: {
+            com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null;
+            if (pendingContactSettings_ != null) {
+              subBuilder = pendingContactSettings_.toBuilder();
+            }
+            pendingContactSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(pendingContactSettings_);
+              pendingContactSettings_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null;
-              if (pendingContactSettings_ != null) {
-                subBuilder = pendingContactSettings_.toBuilder();
-              }
-              pendingContactSettings_ =
-                  input.readMessage(
-                      com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(pendingContactSettings_);
-                pendingContactSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 112: {
+            int rawValue = input.readEnum();
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              supportedPrivacy_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 112:
-            {
+            supportedPrivacy_.add(rawValue);
+            break;
+          }
+          case 114: {
+            int length = input.readRawVarint32();
+            int oldLimit = input.pushLimit(length);
+            while(input.getBytesUntilLimit() > 0) {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                 supportedPrivacy_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000004;
               }
               supportedPrivacy_.add(rawValue);
-              break;
-            }
-          case 114:
-            {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while (input.getBytesUntilLimit() > 0) {
-                int rawValue = input.readEnum();
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  supportedPrivacy_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                supportedPrivacy_.add(rawValue);
-              }
-              input.popLimit(oldLimit);
-              break;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            input.popLimit(oldLimit);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -280,7 +239,8 @@ private Registration(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         issues_ = java.util.Collections.unmodifiableList(issues_);
@@ -292,46 +252,41 @@ private Registration(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.domains.v1beta1.DomainsProto
-        .internal_static_google_cloud_domains_v1beta1_Registration_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_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 9:
         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.domains.v1beta1.DomainsProto
-        .internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable
+    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1beta1.Registration.class,
-            com.google.cloud.domains.v1beta1.Registration.Builder.class);
+            com.google.cloud.domains.v1beta1.Registration.class, com.google.cloud.domains.v1beta1.Registration.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.Registration.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is undefined.
      * 
@@ -340,8 +295,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The domain is being registered.
      * 
@@ -350,8 +303,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ REGISTRATION_PENDING(1), /** - * - * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -361,8 +312,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     REGISTRATION_FAILED(2),
     /**
-     *
-     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -371,8 +320,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_PENDING(3), /** - * - * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -383,8 +330,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     TRANSFER_FAILED(4),
     /**
-     *
-     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -394,8 +339,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ACTIVE(6),
     /**
-     *
-     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -405,8 +348,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUSPENDED(7),
     /**
-     *
-     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -422,8 +363,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state is undefined.
      * 
@@ -432,8 +371,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is being registered.
      * 
@@ -442,8 +379,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REGISTRATION_PENDING_VALUE = 1; /** - * - * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -453,8 +388,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REGISTRATION_FAILED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -463,8 +396,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSFER_PENDING_VALUE = 3; /** - * - * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -475,8 +406,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TRANSFER_FAILED_VALUE = 4;
     /**
-     *
-     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -486,8 +415,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ACTIVE_VALUE = 6;
     /**
-     *
-     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -497,8 +424,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUSPENDED_VALUE = 7;
     /**
-     *
-     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -511,6 +436,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int EXPORTED_VALUE = 8;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -535,59 +461,54 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return REGISTRATION_PENDING;
-        case 2:
-          return REGISTRATION_FAILED;
-        case 3:
-          return TRANSFER_PENDING;
-        case 4:
-          return TRANSFER_FAILED;
-        case 6:
-          return ACTIVE;
-        case 7:
-          return SUSPENDED;
-        case 8:
-          return EXPORTED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return REGISTRATION_PENDING;
+        case 2: return REGISTRATION_FAILED;
+        case 3: return TRANSFER_PENDING;
+        case 4: return TRANSFER_FAILED;
+        case 6: return ACTIVE;
+        case 7: return SUSPENDED;
+        case 8: return EXPORTED;
+        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.domains.v1beta1.Registration.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;
@@ -605,18 +526,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Possible issues with a `Registration` that require attention.
    * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.Registration.Issue} */ - public enum Issue implements com.google.protobuf.ProtocolMessageEnum { + public enum Issue + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The issue is undefined.
      * 
@@ -625,8 +543,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ ISSUE_UNSPECIFIED(0), /** - * - * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -635,8 +551,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ CONTACT_SUPPORT(1), /** - * - * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -655,8 +569,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The issue is undefined.
      * 
@@ -665,8 +577,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ISSUE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -675,8 +585,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTACT_SUPPORT_VALUE = 1; /** - * - * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -692,6 +600,7 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNVERIFIED_EMAIL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -716,49 +625,49 @@ public static Issue valueOf(int value) {
      */
     public static Issue forNumber(int value) {
       switch (value) {
-        case 0:
-          return ISSUE_UNSPECIFIED;
-        case 1:
-          return CONTACT_SUPPORT;
-        case 2:
-          return UNVERIFIED_EMAIL;
-        default:
-          return null;
+        case 0: return ISSUE_UNSPECIFIED;
+        case 1: return CONTACT_SUPPORT;
+        case 2: return UNVERIFIED_EMAIL;
+        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<
+        Issue> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Issue findValueByNumber(int number) {
+              return Issue.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Issue findValueByNumber(int number) {
-            return Issue.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.domains.v1beta1.Registration.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Issue[] VALUES = values();
 
-    public static Issue valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Issue 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;
@@ -778,15 +687,12 @@ private Issue(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -795,30 +701,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 `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * 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 { @@ -829,16 +735,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DOMAIN_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object domainName_; /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The domainName. */ @java.lang.Override @@ -847,31 +748,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -882,15 +781,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -898,15 +793,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -914,14 +805,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -931,15 +819,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -947,15 +831,11 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -963,14 +843,11 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -980,92 +857,61 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 7; private int state_; /** - * - * *
    * Output only. The state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.Registration.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 state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.domains.v1beta1.Registration.State getState() { + @java.lang.Override public com.google.cloud.domains.v1beta1.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.Registration.State result = - com.google.cloud.domains.v1beta1.Registration.State.valueOf(state_); - return result == null - ? com.google.cloud.domains.v1beta1.Registration.State.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.Registration.State result = com.google.cloud.domains.v1beta1.Registration.State.valueOf(state_); + return result == null ? com.google.cloud.domains.v1beta1.Registration.State.UNRECOGNIZED : result; } public static final int ISSUES_FIELD_NUMBER = 8; private java.util.List issues_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue> - issues_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue> issues_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue>() { - public com.google.cloud.domains.v1beta1.Registration.Issue convert( - java.lang.Integer from) { + public com.google.cloud.domains.v1beta1.Registration.Issue convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.Registration.Issue result = - com.google.cloud.domains.v1beta1.Registration.Issue.valueOf(from); - return result == null - ? com.google.cloud.domains.v1beta1.Registration.Issue.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.Registration.Issue result = com.google.cloud.domains.v1beta1.Registration.Issue.valueOf(from); + return result == null ? com.google.cloud.domains.v1beta1.Registration.Issue.UNRECOGNIZED : result; } }; /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the issues. */ @java.lang.Override public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue>( - issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue>(issues_, issues_converter_); } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of issues. */ @java.lang.Override @@ -1073,16 +919,11 @@ public int getIssuesCount() { return issues_.size(); } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The issues at the given index. */ @@ -1091,33 +932,24 @@ public com.google.cloud.domains.v1beta1.Registration.Issue getIssues(int index) return issues_converter_.convert(issues_.get(index)); } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for issues. */ @java.lang.Override - public java.util.List getIssuesValueList() { + public java.util.List + getIssuesValueList() { return issues_; } /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -1125,27 +957,27 @@ public java.util.List getIssuesValueList() { public int getIssuesValue(int index) { return issues_.get(index); } - private int issuesMemoizedSerializedSize; public static final int LABELS_FIELD_NUMBER = 9; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1154,30 +986,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ + @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(); } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1185,12 +1015,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1198,16 +1027,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1215,11 +1044,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 9; */ @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(); } @@ -1229,8 +1059,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 10; private com.google.cloud.domains.v1beta1.ManagementSettings managementSettings_; /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1239,7 +1067,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; - * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -1247,8 +1074,6 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1257,18 +1082,13 @@ public boolean hasManagementSettings() {
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; - * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings() { - return managementSettings_ == null - ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_; } /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1279,16 +1099,13 @@ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings
    * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder
-      getManagementSettingsOrBuilder() {
+  public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() {
     return getManagementSettings();
   }
 
   public static final int DNS_SETTINGS_FIELD_NUMBER = 11;
   private com.google.cloud.domains.v1beta1.DnsSettings dnsSettings_;
   /**
-   *
-   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1296,7 +1113,6 @@ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; - * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -1304,8 +1120,6 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1313,18 +1127,13 @@ public boolean hasDnsSettings() {
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; - * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings() { - return dnsSettings_ == null - ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_; } /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1341,18 +1150,13 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
   public static final int CONTACT_SETTINGS_FIELD_NUMBER = 12;
   private com.google.cloud.domains.v1beta1.ContactSettings contactSettings_;
   /**
-   *
-   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -1360,38 +1164,27 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings getContactSettings() { - return contactSettings_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; } /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSettingsOrBuilder() { @@ -1401,8 +1194,6 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti public static final int PENDING_CONTACT_SETTINGS_FIELD_NUMBER = 13; private com.google.cloud.domains.v1beta1.ContactSettings pendingContactSettings_; /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1413,10 +1204,7 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pendingContactSettings field is set. */ @java.lang.Override @@ -1424,8 +1212,6 @@ public boolean hasPendingContactSettings() { return pendingContactSettings_ != null; } /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1436,21 +1222,14 @@ public boolean hasPendingContactSettings() {
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pendingContactSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings getPendingContactSettings() { - return pendingContactSettings_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() - : pendingContactSettings_; + return pendingContactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : pendingContactSettings_; } /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1461,64 +1240,46 @@ public com.google.cloud.domains.v1beta1.ContactSettings getPendingContactSetting
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder - getPendingContactSettingsOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { return getPendingContactSettings(); } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 14; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> - supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>() { public com.google.cloud.domains.v1beta1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactPrivacy result = - com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); - return result == null - ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.ContactPrivacy result = com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); + return result == null ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED : result; } }; /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of supportedPrivacy. */ @java.lang.Override @@ -1526,17 +1287,12 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1545,35 +1301,26 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return supportedPrivacy_; } /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1581,11 +1328,9 @@ public java.util.List getSupportedPrivacyValueList() { public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } - private int supportedPrivacyMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1597,7 +1342,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -1611,8 +1357,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (expireTime_ != null) { output.writeMessage(6, getExpireTime()); } - if (state_ - != com.google.cloud.domains.v1beta1.Registration.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.domains.v1beta1.Registration.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } if (getIssuesList().size() > 0) { @@ -1622,8 +1367,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < issues_.size(); i++) { output.writeEnumNoTag(issues_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 9); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 9); if (managementSettings_ != null) { output.writeMessage(10, getManagementSettings()); } @@ -1659,62 +1408,66 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domainName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getExpireTime()); } - if (state_ - != com.google.cloud.domains.v1beta1.Registration.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + if (state_ != com.google.cloud.domains.v1beta1.Registration.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } { int dataSize = 0; for (int i = 0; i < issues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(issues_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(issues_.get(i)); } size += dataSize; - if (!getIssuesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - issuesMemoizedSerializedSize = dataSize; - } - 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(9, labels__); + if (!getIssuesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }issuesMemoizedSerializedSize = dataSize; + } + 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(9, labels__); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getManagementSettings()); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getDnsSettings()); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getContactSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getContactSettings()); } if (pendingContactSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(13, getPendingContactSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getPendingContactSettings()); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedPrivacyMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1724,42 +1477,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1beta1.Registration)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.Registration other = - (com.google.cloud.domains.v1beta1.Registration) obj; + com.google.cloud.domains.v1beta1.Registration other = (com.google.cloud.domains.v1beta1.Registration) obj; - if (!getName().equals(other.getName())) return false; - if (!getDomainName().equals(other.getDomainName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDomainName() + .equals(other.getDomainName())) 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 (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (state_ != other.state_) return false; if (!issues_.equals(other.issues_)) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings().equals(other.getManagementSettings())) return false; + if (!getManagementSettings() + .equals(other.getManagementSettings())) return false; } if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings().equals(other.getDnsSettings())) return false; + if (!getDnsSettings() + .equals(other.getDnsSettings())) return false; } if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings().equals(other.getContactSettings())) return false; + if (!getContactSettings() + .equals(other.getContactSettings())) return false; } if (hasPendingContactSettings() != other.hasPendingContactSettings()) return false; if (hasPendingContactSettings()) { - if (!getPendingContactSettings().equals(other.getPendingContactSettings())) return false; + if (!getPendingContactSettings() + .equals(other.getPendingContactSettings())) return false; } if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1820,104 +1581,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1beta1.Registration parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1beta1.Registration parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.Registration parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.Registration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.Registration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.Registration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.Registration parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.Registration parseFrom(java.io.InputStream input) 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.domains.v1beta1.Registration parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.Registration parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.Registration parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.Registration parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.Registration parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.Registration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.Registration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The `Registration` resource facilitates managing and configuring domain name
    * registrations.
@@ -1936,43 +1690,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.Registration}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.Registration)
       com.google.cloud.domains.v1beta1.RegistrationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_Registration_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 9:
           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 9:
           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.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.Registration.class,
-              com.google.cloud.domains.v1beta1.Registration.Builder.class);
+              com.google.cloud.domains.v1beta1.Registration.class, com.google.cloud.domains.v1beta1.Registration.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1beta1.Registration.newBuilder()
@@ -1980,15 +1734,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2043,9 +1798,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.domains.v1beta1.DomainsProto
-          .internal_static_google_cloud_domains_v1beta1_Registration_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_descriptor;
     }
 
     @java.lang.Override
@@ -2064,8 +1819,7 @@ public com.google.cloud.domains.v1beta1.Registration build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1beta1.Registration buildPartial() {
-      com.google.cloud.domains.v1beta1.Registration result =
-          new com.google.cloud.domains.v1beta1.Registration(this);
+      com.google.cloud.domains.v1beta1.Registration result = new com.google.cloud.domains.v1beta1.Registration(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.domainName_ = domainName_;
@@ -2120,39 +1874,38 @@ public com.google.cloud.domains.v1beta1.Registration buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1beta1.Registration) {
-        return mergeFrom((com.google.cloud.domains.v1beta1.Registration) other);
+        return mergeFrom((com.google.cloud.domains.v1beta1.Registration)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2188,7 +1941,8 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.Registration other) {
         }
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.hasManagementSettings()) {
         mergeManagementSettings(other.getManagementSettings());
       }
@@ -2239,26 +1993,23 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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; @@ -2267,22 +2018,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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 { @@ -2290,64 +2040,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2355,22 +2098,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object domainName_ = ""; /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -2379,23 +2118,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -2403,67 +2139,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -2471,58 +2194,39 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2538,17 +2242,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2558,22 +2259,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } - /** - * - * + /** *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2585,15 +2282,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2607,64 +2300,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2672,58 +2349,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -2739,17 +2397,14 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -2760,21 +2415,17 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -2786,15 +2437,11 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -2808,64 +2455,48 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -2873,75 +2504,51 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.Registration.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 state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.domains.v1beta1.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.Registration.State result = - com.google.cloud.domains.v1beta1.Registration.State.valueOf(state_); - return result == null - ? com.google.cloud.domains.v1beta1.Registration.State.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.Registration.State result = com.google.cloud.domains.v1beta1.Registration.State.valueOf(state_); + return result == null ? com.google.cloud.domains.v1beta1.Registration.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2949,33 +2556,28 @@ public Builder setState(com.google.cloud.domains.v1beta1.Registration.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the `Registration`
      * 
* - * - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private java.util.List issues_ = java.util.Collections.emptyList(); - + private java.util.List issues_ = + java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); @@ -2983,50 +2585,34 @@ private void ensureIssuesIsMutable() { } } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the issues. */ public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue>( - issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue>(issues_, issues_converter_); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of issues. */ public int getIssuesCount() { return issues_.size(); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The issues at the given index. */ @@ -3034,21 +2620,17 @@ public com.google.cloud.domains.v1beta1.Registration.Issue getIssues(int index) return issues_converter_.convert(issues_.get(index)); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The issues to set. * @return This builder for chaining. */ - public Builder setIssues(int index, com.google.cloud.domains.v1beta1.Registration.Issue value) { + public Builder setIssues( + int index, com.google.cloud.domains.v1beta1.Registration.Issue value) { if (value == null) { throw new NullPointerException(); } @@ -3058,16 +2640,11 @@ public Builder setIssues(int index, com.google.cloud.domains.v1beta1.Registratio return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The issues to add. * @return This builder for chaining. */ @@ -3081,16 +2658,11 @@ public Builder addIssues(com.google.cloud.domains.v1beta1.Registration.Issue val return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The issues to add. * @return This builder for chaining. */ @@ -3104,16 +2676,11 @@ public Builder addAllIssues( return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearIssues() { @@ -3123,32 +2690,23 @@ public Builder clearIssues() { return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for issues. */ - public java.util.List getIssuesValueList() { + public java.util.List + getIssuesValueList() { return java.util.Collections.unmodifiableList(issues_); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -3156,37 +2714,28 @@ public int getIssuesValue(int index) { return issues_.get(index); } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. * @return This builder for chaining. */ - public Builder setIssuesValue(int index, int value) { + public Builder setIssuesValue( + int index, int value) { ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for issues to add. * @return This builder for chaining. */ @@ -3197,20 +2746,16 @@ public Builder addIssuesValue(int value) { return this; } /** - * - * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for issues to add. * @return This builder for chaining. */ - public Builder addAllIssuesValue(java.lang.Iterable values) { + public Builder addAllIssuesValue( + java.lang.Iterable values) { ensureIssuesIsMutable(); for (int value : values) { issues_.add(value); @@ -3219,21 +2764,22 @@ public Builder addAllIssuesValue(java.lang.Iterable values) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3245,30 +2791,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ + @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(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3276,12 +2820,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3289,17 +2832,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3307,11 +2849,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 9; */ @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(); } @@ -3319,73 +2862,71 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } private com.google.cloud.domains.v1beta1.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ManagementSettings, - com.google.cloud.domains.v1beta1.ManagementSettings.Builder, - com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> - managementSettingsBuilder_; + com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> managementSettingsBuilder_; /** - * - * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3394,15 +2935,12 @@ public Builder putAllLabels(java.util.Map va
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; - * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** - * - * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3411,21 +2949,16 @@ public boolean hasManagementSettings() {
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; - * * @return The managementSettings. */ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null - ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() - : managementSettings_; + return managementSettings_ == null ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** - * - * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3435,8 +2968,7 @@ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings
      *
      * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
      */
-    public Builder setManagementSettings(
-        com.google.cloud.domains.v1beta1.ManagementSettings value) {
+    public Builder setManagementSettings(com.google.cloud.domains.v1beta1.ManagementSettings value) {
       if (managementSettingsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3450,8 +2982,6 @@ public Builder setManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3473,8 +3003,6 @@ public Builder setManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3484,14 +3012,11 @@ public Builder setManagementSettings(
      *
      * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
      */
-    public Builder mergeManagementSettings(
-        com.google.cloud.domains.v1beta1.ManagementSettings value) {
+    public Builder mergeManagementSettings(com.google.cloud.domains.v1beta1.ManagementSettings value) {
       if (managementSettingsBuilder_ == null) {
         if (managementSettings_ != null) {
           managementSettings_ =
-              com.google.cloud.domains.v1beta1.ManagementSettings.newBuilder(managementSettings_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.domains.v1beta1.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial();
         } else {
           managementSettings_ = value;
         }
@@ -3503,8 +3028,6 @@ public Builder mergeManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3526,8 +3049,6 @@ public Builder clearManagementSettings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3537,15 +3058,12 @@ public Builder clearManagementSettings() {
      *
      * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
      */
-    public com.google.cloud.domains.v1beta1.ManagementSettings.Builder
-        getManagementSettingsBuilder() {
-
+    public com.google.cloud.domains.v1beta1.ManagementSettings.Builder getManagementSettingsBuilder() {
+      
       onChanged();
       return getManagementSettingsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3555,19 +3073,15 @@ public Builder clearManagementSettings() {
      *
      * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
      */
-    public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder
-        getManagementSettingsOrBuilder() {
+    public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() {
       if (managementSettingsBuilder_ != null) {
         return managementSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return managementSettings_ == null
-            ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance()
-            : managementSettings_;
+        return managementSettings_ == null ?
+            com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3578,17 +3092,14 @@ public Builder clearManagementSettings() {
      * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1beta1.ManagementSettings,
-            com.google.cloud.domains.v1beta1.ManagementSettings.Builder,
-            com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder>
+        com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> 
         getManagementSettingsFieldBuilder() {
       if (managementSettingsBuilder_ == null) {
-        managementSettingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.domains.v1beta1.ManagementSettings,
-                com.google.cloud.domains.v1beta1.ManagementSettings.Builder,
-                com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder>(
-                getManagementSettings(), getParentForChildren(), isClean());
+        managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder>(
+                getManagementSettings(),
+                getParentForChildren(),
+                isClean());
         managementSettings_ = null;
       }
       return managementSettingsBuilder_;
@@ -3596,13 +3107,8 @@ public Builder clearManagementSettings() {
 
     private com.google.cloud.domains.v1beta1.DnsSettings dnsSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1beta1.DnsSettings,
-            com.google.cloud.domains.v1beta1.DnsSettings.Builder,
-            com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>
-        dnsSettingsBuilder_;
+        com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> dnsSettingsBuilder_;
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3610,15 +3116,12 @@ public Builder clearManagementSettings() {
      * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; - * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** - * - * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3626,21 +3129,16 @@ public boolean hasDnsSettings() {
      * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; - * * @return The dnsSettings. */ public com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null - ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() - : dnsSettings_; + return dnsSettings_ == null ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** - * - * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3663,8 +3161,6 @@ public Builder setDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings value
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3685,8 +3181,6 @@ public Builder setDnsSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3699,9 +3193,7 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings val
       if (dnsSettingsBuilder_ == null) {
         if (dnsSettings_ != null) {
           dnsSettings_ =
-              com.google.cloud.domains.v1beta1.DnsSettings.newBuilder(dnsSettings_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.domains.v1beta1.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial();
         } else {
           dnsSettings_ = value;
         }
@@ -3713,8 +3205,6 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings val
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3735,8 +3225,6 @@ public Builder clearDnsSettings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3746,13 +3234,11 @@ public Builder clearDnsSettings() {
      * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;
      */
     public com.google.cloud.domains.v1beta1.DnsSettings.Builder getDnsSettingsBuilder() {
-
+      
       onChanged();
       return getDnsSettingsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3765,14 +3251,11 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
       if (dnsSettingsBuilder_ != null) {
         return dnsSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return dnsSettings_ == null
-            ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance()
-            : dnsSettings_;
+        return dnsSettings_ == null ?
+            com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3782,17 +3265,14 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
      * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1beta1.DnsSettings,
-            com.google.cloud.domains.v1beta1.DnsSettings.Builder,
-            com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>
+        com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> 
         getDnsSettingsFieldBuilder() {
       if (dnsSettingsBuilder_ == null) {
-        dnsSettingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.domains.v1beta1.DnsSettings,
-                com.google.cloud.domains.v1beta1.DnsSettings.Builder,
-                com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>(
-                getDnsSettings(), getParentForChildren(), isClean());
+        dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>(
+                getDnsSettings(),
+                getParentForChildren(),
+                isClean());
         dnsSettings_ = null;
       }
       return dnsSettingsBuilder_;
@@ -3800,64 +3280,45 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
 
     private com.google.cloud.domains.v1beta1.ContactSettings contactSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1beta1.ContactSettings,
-            com.google.cloud.domains.v1beta1.ContactSettings.Builder,
-            com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>
-        contactSettingsBuilder_;
+        com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> contactSettingsBuilder_;
     /**
-     *
-     *
      * 
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The contactSettings. */ public com.google.cloud.domains.v1beta1.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setContactSettings(com.google.cloud.domains.v1beta1.ContactSettings value) { if (contactSettingsBuilder_ == null) { @@ -3873,17 +3334,13 @@ public Builder setContactSettings(com.google.cloud.domains.v1beta1.ContactSettin return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setContactSettings( com.google.cloud.domains.v1beta1.ContactSettings.Builder builderForValue) { @@ -3897,25 +3354,19 @@ public Builder setContactSettings( return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeContactSettings(com.google.cloud.domains.v1beta1.ContactSettings value) { if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(contactSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); } else { contactSettings_ = value; } @@ -3927,17 +3378,13 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1beta1.ContactSett return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearContactSettings() { if (contactSettingsBuilder_ == null) { @@ -3951,70 +3398,54 @@ public Builder clearContactSettings() { return this; } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1beta1.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSettingsOrBuilder() { if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() - : contactSettings_; + return contactSettings_ == null ? + com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; } } /** - * - * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, - com.google.cloud.domains.v1beta1.ContactSettings.Builder, - com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, - com.google.cloud.domains.v1beta1.ContactSettings.Builder, - com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( - getContactSettings(), getParentForChildren(), isClean()); + contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( + getContactSettings(), + getParentForChildren(), + isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -4022,13 +3453,8 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti private com.google.cloud.domains.v1beta1.ContactSettings pendingContactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, - com.google.cloud.domains.v1beta1.ContactSettings.Builder, - com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> - pendingContactSettingsBuilder_; + com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> pendingContactSettingsBuilder_; /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4039,18 +3465,13 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pendingContactSettings field is set. */ public boolean hasPendingContactSettings() { return pendingContactSettingsBuilder_ != null || pendingContactSettings_ != null; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4061,24 +3482,17 @@ public boolean hasPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pendingContactSettings. */ public com.google.cloud.domains.v1beta1.ContactSettings getPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { - return pendingContactSettings_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() - : pendingContactSettings_; + return pendingContactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : pendingContactSettings_; } else { return pendingContactSettingsBuilder_.getMessage(); } } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4089,12 +3503,9 @@ public com.google.cloud.domains.v1beta1.ContactSettings getPendingContactSetting
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPendingContactSettings( - com.google.cloud.domains.v1beta1.ContactSettings value) { + public Builder setPendingContactSettings(com.google.cloud.domains.v1beta1.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4108,8 +3519,6 @@ public Builder setPendingContactSettings( return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4120,9 +3529,7 @@ public Builder setPendingContactSettings(
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPendingContactSettings( com.google.cloud.domains.v1beta1.ContactSettings.Builder builderForValue) { @@ -4136,8 +3543,6 @@ public Builder setPendingContactSettings( return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4148,18 +3553,13 @@ public Builder setPendingContactSettings(
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergePendingContactSettings( - com.google.cloud.domains.v1beta1.ContactSettings value) { + public Builder mergePendingContactSettings(com.google.cloud.domains.v1beta1.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { if (pendingContactSettings_ != null) { pendingContactSettings_ = - com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(pendingContactSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(pendingContactSettings_).mergeFrom(value).buildPartial(); } else { pendingContactSettings_ = value; } @@ -4171,8 +3571,6 @@ public Builder mergePendingContactSettings( return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4183,9 +3581,7 @@ public Builder mergePendingContactSettings(
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { @@ -4199,8 +3595,6 @@ public Builder clearPendingContactSettings() { return this; } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4211,19 +3605,14 @@ public Builder clearPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.domains.v1beta1.ContactSettings.Builder - getPendingContactSettingsBuilder() { - + public com.google.cloud.domains.v1beta1.ContactSettings.Builder getPendingContactSettingsBuilder() { + onChanged(); return getPendingContactSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4234,23 +3623,17 @@ public Builder clearPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder - getPendingContactSettingsOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { if (pendingContactSettingsBuilder_ != null) { return pendingContactSettingsBuilder_.getMessageOrBuilder(); } else { - return pendingContactSettings_ == null - ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() - : pendingContactSettings_; + return pendingContactSettings_ == null ? + com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : pendingContactSettings_; } } /** - * - * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -4261,29 +3644,24 @@ public Builder clearPendingContactSettings() {
      * email they receive.
      * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, - com.google.cloud.domains.v1beta1.ContactSettings.Builder, - com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> getPendingContactSettingsFieldBuilder() { if (pendingContactSettingsBuilder_ == null) { - pendingContactSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, - com.google.cloud.domains.v1beta1.ContactSettings.Builder, - com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( - getPendingContactSettings(), getParentForChildren(), isClean()); + pendingContactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( + getPendingContactSettings(), + getParentForChildren(), + isClean()); pendingContactSettings_ = null; } return pendingContactSettingsBuilder_; } - private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); - + private java.util.List supportedPrivacy_ = + java.util.Collections.emptyList(); private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -4291,54 +3669,37 @@ private void ensureSupportedPrivacyIsMutable() { } } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the supportedPrivacy. */ - public java.util.List - getSupportedPrivacyList() { + public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -4346,17 +3707,12 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -4372,17 +3728,12 @@ public Builder setSupportedPrivacy( return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -4396,17 +3747,12 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1beta1.ContactPriva return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -4420,17 +3766,12 @@ public Builder addAllSupportedPrivacy( return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -4440,34 +3781,25 @@ public Builder clearSupportedPrivacy() { return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -4475,39 +3807,30 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue(int index, int value) { + public Builder setSupportedPrivacyValue( + int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -4518,21 +3841,17 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** - * - * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue( + java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -4540,9 +3859,9 @@ public Builder addAllSupportedPrivacyValue(java.lang.Iterable onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4552,12 +3871,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.Registration) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.Registration) private static final com.google.cloud.domains.v1beta1.Registration DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.Registration(); } @@ -4566,16 +3885,16 @@ public static com.google.cloud.domains.v1beta1.Registration getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Registration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Registration(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Registration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Registration(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4590,4 +3909,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.Registration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationName.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationName.java similarity index 100% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationName.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationName.java diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java similarity index 71% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java index e9c1ed1f..50ae8cc3 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java @@ -1,265 +1,177 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RegistrationOrBuilder - extends +public interface RegistrationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.Registration) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Output only. The state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the `Registration`
    * 
* - * - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.domains.v1beta1.Registration.State getState(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the issues. */ java.util.List getIssuesList(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of issues. */ int getIssuesCount(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The issues at the given index. */ com.google.cloud.domains.v1beta1.Registration.Issue getIssues(int index); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for issues. */ - java.util.List getIssuesValueList(); + java.util.List + getIssuesValueList(); /** - * - * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ int getIssuesValue(int index); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -268,31 +180,30 @@ public interface RegistrationOrBuilder */ int getLabelsCount(); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - 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(); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -301,24 +212,22 @@ public interface RegistrationOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -327,13 +236,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; - * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -342,13 +248,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; - * * @return The managementSettings. */ com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings(); /** - * - * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -361,8 +264,6 @@ java.lang.String getLabelsOrDefault(
   com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -370,13 +271,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; - * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -384,13 +282,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; - * * @return The dnsSettings. */ com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings(); /** - * - * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -402,55 +297,39 @@ java.lang.String getLabelsOrDefault(
   com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The contactSettings. */ com.google.cloud.domains.v1beta1.ContactSettings getContactSettings(); /** - * - * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -461,16 +340,11 @@ java.lang.String getLabelsOrDefault(
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the pendingContactSettings field is set. */ boolean hasPendingContactSettings(); /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -481,16 +355,11 @@ java.lang.String getLabelsOrDefault(
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The pendingContactSettings. */ com.google.cloud.domains.v1beta1.ContactSettings getPendingContactSettings(); /** - * - * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -501,85 +370,59 @@ java.lang.String getLabelsOrDefault(
    * email they receive.
    * 
* - * - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int index); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List getSupportedPrivacyValueList(); + java.util.List + getSupportedPrivacyValueList(); /** - * - * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java similarity index 64% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java index da738ce3..e40dae0e 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `ResetAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest} */ -public final class ResetAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResetAuthorizationCodeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) ResetAuthorizationCodeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResetAuthorizationCodeRequest.newBuilder() to construct. private ResetAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResetAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResetAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResetAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResetAuthorizationCodeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registration_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResetAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -205,15 +178,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.domains.v1beta1.ResetAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest other = - (com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest other = (com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ResetAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.getDefaultInstance(); } @@ -401,8 +364,7 @@ public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest result = - new com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest(this); + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest result = new com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -412,39 +374,38 @@ public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest)other); } else { super.mergeFrom(other); return this; @@ -452,9 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest other) { - if (other - == com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -478,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -492,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -517,24 +470,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -542,77 +492,64 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -622,32 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) - private static final com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest(); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResetAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -659,8 +594,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..3321ba57 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1beta1/domains.proto + +package com.google.cloud.domains.v1beta1; + +public interface ResetAuthorizationCodeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The registration. + */ + java.lang.String getRegistration(); + /** + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for registration. + */ + com.google.protobuf.ByteString + getRegistrationBytes(); +} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java similarity index 62% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java index 4f2f6956..fe7f10af 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `RetrieveAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest} */ -public final class RetrieveAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveAuthorizationCodeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) RetrieveAuthorizationCodeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveAuthorizationCodeRequest.newBuilder() to construct. - private RetrieveAuthorizationCodeRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private RetrieveAuthorizationCodeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registration_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,42 +73,35 @@ private RetrieveAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ @java.lang.Override @@ -136,32 +110,30 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** - * - * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -206,15 +178,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.domains.v1beta1.RetrieveAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest other = - (com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest other = (com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) obj; - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,145 +206,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest - 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.domains.v1beta1.RetrieveAuthorizationCodeRequest 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.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.Builder.class); } - // Construct using - // com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.newBuilder() + // Construct using com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { return com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.getDefaultInstance(); } @@ -404,8 +364,7 @@ public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest build() @java.lang.Override public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest result = - new com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest(this); + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest result = new com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -415,50 +374,46 @@ public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest other) { - if (other - == com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest other) { + if (other == com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -482,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -521,24 +470,21 @@ public java.lang.String getRegistration() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for registration. */ - public com.google.protobuf.ByteString getRegistrationBytes() { + public com.google.protobuf.ByteString + getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); registration_ = b; return b; } else { @@ -546,77 +492,64 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration(java.lang.String value) { + public Builder setRegistration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** - * - * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -626,32 +559,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) - private static final com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest(); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,8 +594,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..f46a6f5c --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1beta1/domains.proto + +package com.google.cloud.domains.v1beta1; + +public interface RetrieveAuthorizationCodeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The registration. + */ + java.lang.String getRegistration(); + /** + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for registration. + */ + com.google.protobuf.ByteString + getRegistrationBytes(); +} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java similarity index 63% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java index a772a1c1..260ea9b5 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest} */ -public final class RetrieveRegisterParametersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveRegisterParametersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) RetrieveRegisterParametersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersRequest.newBuilder() to construct. - private RetrieveRegisterParametersRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveRegisterParametersRequest() { domainName_ = ""; location_ = ""; @@ -45,15 +26,16 @@ private RetrieveRegisterParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveRegisterParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveRegisterParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,25 @@ private RetrieveRegisterParametersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +80,34 @@ private RetrieveRegisterParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ @java.lang.Override @@ -141,29 +116,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -174,16 +149,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -192,31 +162,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -225,7 +193,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -267,16 +235,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.domains.v1beta1.RetrieveRegisterParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest other = - (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) obj; + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest other = (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) obj; - if (!getDomainName().equals(other.getDomainName())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,145 +267,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest - 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.domains.v1beta1.RetrieveRegisterParametersRequest 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.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.Builder.class); } - // Construct using - // com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.newBuilder() + // Construct using com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -448,16 +406,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest - getDefaultInstanceForType() { - return com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest - .getDefaultInstance(); + public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest getDefaultInstanceForType() { + return com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.getDefaultInstance(); } @java.lang.Override @@ -471,8 +427,7 @@ public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest build( @java.lang.Override public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest buildPartial() { - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest result = - new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest(this); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest result = new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -483,51 +438,46 @@ public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) { - return mergeFrom( - (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest other) { - if (other - == com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest other) { + if (other == com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -555,9 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -569,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -591,21 +537,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -613,61 +558,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -675,22 +613,18 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -699,23 +633,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -723,74 +654,61 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -800,32 +718,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) - private static final com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest(); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,8 +753,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java index 3e925b59..004b285f 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RetrieveRegisterParametersRequestOrBuilder - extends +public interface RetrieveRegisterParametersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java similarity index 64% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java index 25e91b2c..1ea86e75 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Response for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse} */ -public final class RetrieveRegisterParametersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveRegisterParametersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) RetrieveRegisterParametersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersResponse.newBuilder() to construct. - private RetrieveRegisterParametersResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RetrieveRegisterParametersResponse() {} + private RetrieveRegisterParametersResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveRegisterParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveRegisterParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,30 +52,26 @@ private RetrieveRegisterParametersResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.domains.v1beta1.RegisterParameters.Builder subBuilder = null; - if (registerParameters_ != null) { - subBuilder = registerParameters_.toBuilder(); - } - registerParameters_ = - input.readMessage( - com.google.cloud.domains.v1beta1.RegisterParameters.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registerParameters_); - registerParameters_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.domains.v1beta1.RegisterParameters.Builder subBuilder = null; + if (registerParameters_ != null) { + subBuilder = registerParameters_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registerParameters_ = input.readMessage(com.google.cloud.domains.v1beta1.RegisterParameters.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registerParameters_); + registerParameters_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +79,34 @@ private RetrieveRegisterParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1beta1.RegisterParameters registerParameters_; /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * * @return Whether the registerParameters field is set. */ @java.lang.Override @@ -140,25 +114,18 @@ public boolean hasRegisterParameters() { return registerParameters_ != null; } /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * * @return The registerParameters. */ @java.lang.Override public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters() { - return registerParameters_ == null - ? com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() - : registerParameters_; + return registerParameters_ == null ? com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() : registerParameters_; } /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
@@ -166,13 +133,11 @@ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder - getRegisterParametersOrBuilder() { + public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder getRegisterParametersOrBuilder() { return getRegisterParameters(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (registerParameters_ != null) { output.writeMessage(1, getRegisterParameters()); } @@ -198,7 +164,8 @@ public int getSerializedSize() { size = 0; if (registerParameters_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegisterParameters()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRegisterParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -208,17 +175,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.domains.v1beta1.RetrieveRegisterParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse other = - (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) obj; + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse other = (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) obj; if (hasRegisterParameters() != other.hasRegisterParameters()) return false; if (hasRegisterParameters()) { - if (!getRegisterParameters().equals(other.getRegisterParameters())) return false; + if (!getRegisterParameters() + .equals(other.getRegisterParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -241,145 +208,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse - 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.domains.v1beta1.RetrieveRegisterParametersResponse 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.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.Builder.class); } - // Construct using - // com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.newBuilder() + // Construct using com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -393,16 +349,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse - getDefaultInstanceForType() { - return com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse - .getDefaultInstance(); + public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse getDefaultInstanceForType() { + return com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.getDefaultInstance(); } @java.lang.Override @@ -416,8 +370,7 @@ public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse build @java.lang.Override public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse buildPartial() { - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse result = - new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse(this); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse result = new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse(this); if (registerParametersBuilder_ == null) { result.registerParameters_ = registerParameters_; } else { @@ -431,51 +384,46 @@ public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) { - return mergeFrom( - (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) other); + return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse other) { - if (other - == com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse other) { + if (other == com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.getDefaultInstance()) return this; if (other.hasRegisterParameters()) { mergeRegisterParameters(other.getRegisterParameters()); } @@ -498,9 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,55 +458,41 @@ public Builder mergeFrom( private com.google.cloud.domains.v1beta1.RegisterParameters registerParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, - com.google.cloud.domains.v1beta1.RegisterParameters.Builder, - com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> - registerParametersBuilder_; + com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> registerParametersBuilder_; /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * * @return Whether the registerParameters field is set. */ public boolean hasRegisterParameters() { return registerParametersBuilder_ != null || registerParameters_ != null; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * * @return The registerParameters. */ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters() { if (registerParametersBuilder_ == null) { - return registerParameters_ == null - ? com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() - : registerParameters_; + return registerParameters_ == null ? com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() : registerParameters_; } else { return registerParametersBuilder_.getMessage(); } } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public Builder setRegisterParameters( - com.google.cloud.domains.v1beta1.RegisterParameters value) { + public Builder setRegisterParameters(com.google.cloud.domains.v1beta1.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -574,8 +506,6 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -594,22 +524,17 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public Builder mergeRegisterParameters( - com.google.cloud.domains.v1beta1.RegisterParameters value) { + public Builder mergeRegisterParameters(com.google.cloud.domains.v1beta1.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (registerParameters_ != null) { registerParameters_ = - com.google.cloud.domains.v1beta1.RegisterParameters.newBuilder(registerParameters_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.RegisterParameters.newBuilder(registerParameters_).mergeFrom(value).buildPartial(); } else { registerParameters_ = value; } @@ -621,8 +546,6 @@ public Builder mergeRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -641,42 +564,33 @@ public Builder clearRegisterParameters() { return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1beta1.RegisterParameters.Builder - getRegisterParametersBuilder() { - + public com.google.cloud.domains.v1beta1.RegisterParameters.Builder getRegisterParametersBuilder() { + onChanged(); return getRegisterParametersFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder - getRegisterParametersOrBuilder() { + public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder getRegisterParametersOrBuilder() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilder(); } else { - return registerParameters_ == null - ? com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() - : registerParameters_; + return registerParameters_ == null ? + com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() : registerParameters_; } } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -684,24 +598,21 @@ public Builder clearRegisterParameters() { * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, - com.google.cloud.domains.v1beta1.RegisterParameters.Builder, - com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> + com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, - com.google.cloud.domains.v1beta1.RegisterParameters.Builder, - com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder>( - getRegisterParameters(), getParentForChildren(), isClean()); + registerParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder>( + getRegisterParameters(), + getParentForChildren(), + isClean()); registerParameters_ = null; } return registerParametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -711,32 +622,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) - private static final com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse(); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse - getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -748,8 +657,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java similarity index 63% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java index 353e7f18..ff42db57 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RetrieveRegisterParametersResponseOrBuilder - extends +public interface RetrieveRegisterParametersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * * @return Whether the registerParameters field is set. */ boolean hasRegisterParameters(); /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * * @return The registerParameters. */ com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters(); /** - * - * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java similarity index 63% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java index 384aad0b..7510e3c6 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveTransferParametersRequest} */ -public final class RetrieveTransferParametersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveTransferParametersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) RetrieveTransferParametersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersRequest.newBuilder() to construct. - private RetrieveTransferParametersRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveTransferParametersRequest() { domainName_ = ""; location_ = ""; @@ -45,15 +26,16 @@ private RetrieveTransferParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveTransferParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveTransferParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,25 @@ private RetrieveTransferParametersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +80,34 @@ private RetrieveTransferParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ @java.lang.Override @@ -141,29 +116,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -174,16 +149,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -192,31 +162,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -225,7 +193,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -267,16 +235,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.domains.v1beta1.RetrieveTransferParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest other = - (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) obj; + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest other = (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) obj; - if (!getDomainName().equals(other.getDomainName())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,145 +267,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest - 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.domains.v1beta1.RetrieveTransferParametersRequest 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.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveTransferParametersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.Builder.class); } - // Construct using - // com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.newBuilder() + // Construct using com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -448,16 +406,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest - getDefaultInstanceForType() { - return com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest - .getDefaultInstance(); + public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest getDefaultInstanceForType() { + return com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.getDefaultInstance(); } @java.lang.Override @@ -471,8 +427,7 @@ public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest build( @java.lang.Override public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest buildPartial() { - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest result = - new com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest(this); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest result = new com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -483,51 +438,46 @@ public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) { - return mergeFrom( - (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest other) { - if (other - == com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest other) { + if (other == com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -555,9 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -569,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -591,21 +537,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -613,61 +558,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -675,22 +613,18 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -699,23 +633,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -723,74 +654,61 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -800,32 +718,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) - private static final com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest(); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest - getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,8 +753,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java index 38eaf7a4..84f2828f 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RetrieveTransferParametersRequestOrBuilder - extends +public interface RetrieveTransferParametersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java similarity index 64% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java index f65aaafb..d102a308 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Response for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveTransferParametersResponse} */ -public final class RetrieveTransferParametersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RetrieveTransferParametersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) RetrieveTransferParametersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersResponse.newBuilder() to construct. - private RetrieveTransferParametersResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RetrieveTransferParametersResponse() {} + private RetrieveTransferParametersResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RetrieveTransferParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RetrieveTransferParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,30 +52,26 @@ private RetrieveTransferParametersResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.domains.v1beta1.TransferParameters.Builder subBuilder = null; - if (transferParameters_ != null) { - subBuilder = transferParameters_.toBuilder(); - } - transferParameters_ = - input.readMessage( - com.google.cloud.domains.v1beta1.TransferParameters.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferParameters_); - transferParameters_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.domains.v1beta1.TransferParameters.Builder subBuilder = null; + if (transferParameters_ != null) { + subBuilder = transferParameters_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transferParameters_ = input.readMessage(com.google.cloud.domains.v1beta1.TransferParameters.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferParameters_); + transferParameters_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +79,34 @@ private RetrieveTransferParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.Builder.class); } public static final int TRANSFER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1beta1.TransferParameters transferParameters_; /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; - * * @return Whether the transferParameters field is set. */ @java.lang.Override @@ -140,25 +114,18 @@ public boolean hasTransferParameters() { return transferParameters_ != null; } /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; - * * @return The transferParameters. */ @java.lang.Override public com.google.cloud.domains.v1beta1.TransferParameters getTransferParameters() { - return transferParameters_ == null - ? com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() - : transferParameters_; + return transferParameters_ == null ? com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() : transferParameters_; } /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
@@ -166,13 +133,11 @@ public com.google.cloud.domains.v1beta1.TransferParameters getTransferParameters * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.TransferParametersOrBuilder - getTransferParametersOrBuilder() { + public com.google.cloud.domains.v1beta1.TransferParametersOrBuilder getTransferParametersOrBuilder() { return getTransferParameters(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (transferParameters_ != null) { output.writeMessage(1, getTransferParameters()); } @@ -198,7 +164,8 @@ public int getSerializedSize() { size = 0; if (transferParameters_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferParameters()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTransferParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -208,17 +175,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.domains.v1beta1.RetrieveTransferParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse other = - (com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) obj; + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse other = (com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) obj; if (hasTransferParameters() != other.hasTransferParameters()) return false; if (hasTransferParameters()) { - if (!getTransferParameters().equals(other.getTransferParameters())) return false; + if (!getTransferParameters() + .equals(other.getTransferParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -241,145 +208,134 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse - 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.domains.v1beta1.RetrieveTransferParametersResponse 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.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveTransferParametersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.Builder.class); } - // Construct using - // com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.newBuilder() + // Construct using com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -393,16 +349,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse - getDefaultInstanceForType() { - return com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse - .getDefaultInstance(); + public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse getDefaultInstanceForType() { + return com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.getDefaultInstance(); } @java.lang.Override @@ -416,8 +370,7 @@ public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse build @java.lang.Override public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse buildPartial() { - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse result = - new com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse(this); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse result = new com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse(this); if (transferParametersBuilder_ == null) { result.transferParameters_ = transferParameters_; } else { @@ -431,51 +384,46 @@ public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) { - return mergeFrom( - (com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) other); + return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse other) { - if (other - == com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse other) { + if (other == com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.getDefaultInstance()) return this; if (other.hasTransferParameters()) { mergeTransferParameters(other.getTransferParameters()); } @@ -498,9 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,55 +458,41 @@ public Builder mergeFrom( private com.google.cloud.domains.v1beta1.TransferParameters transferParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.TransferParameters, - com.google.cloud.domains.v1beta1.TransferParameters.Builder, - com.google.cloud.domains.v1beta1.TransferParametersOrBuilder> - transferParametersBuilder_; + com.google.cloud.domains.v1beta1.TransferParameters, com.google.cloud.domains.v1beta1.TransferParameters.Builder, com.google.cloud.domains.v1beta1.TransferParametersOrBuilder> transferParametersBuilder_; /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; - * * @return Whether the transferParameters field is set. */ public boolean hasTransferParameters() { return transferParametersBuilder_ != null || transferParameters_ != null; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; - * * @return The transferParameters. */ public com.google.cloud.domains.v1beta1.TransferParameters getTransferParameters() { if (transferParametersBuilder_ == null) { - return transferParameters_ == null - ? com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() - : transferParameters_; + return transferParameters_ == null ? com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() : transferParameters_; } else { return transferParametersBuilder_.getMessage(); } } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ - public Builder setTransferParameters( - com.google.cloud.domains.v1beta1.TransferParameters value) { + public Builder setTransferParameters(com.google.cloud.domains.v1beta1.TransferParameters value) { if (transferParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -574,8 +506,6 @@ public Builder setTransferParameters( return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -594,22 +524,17 @@ public Builder setTransferParameters( return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ - public Builder mergeTransferParameters( - com.google.cloud.domains.v1beta1.TransferParameters value) { + public Builder mergeTransferParameters(com.google.cloud.domains.v1beta1.TransferParameters value) { if (transferParametersBuilder_ == null) { if (transferParameters_ != null) { transferParameters_ = - com.google.cloud.domains.v1beta1.TransferParameters.newBuilder(transferParameters_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.TransferParameters.newBuilder(transferParameters_).mergeFrom(value).buildPartial(); } else { transferParameters_ = value; } @@ -621,8 +546,6 @@ public Builder mergeTransferParameters( return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -641,42 +564,33 @@ public Builder clearTransferParameters() { return this; } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ - public com.google.cloud.domains.v1beta1.TransferParameters.Builder - getTransferParametersBuilder() { - + public com.google.cloud.domains.v1beta1.TransferParameters.Builder getTransferParametersBuilder() { + onChanged(); return getTransferParametersFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ - public com.google.cloud.domains.v1beta1.TransferParametersOrBuilder - getTransferParametersOrBuilder() { + public com.google.cloud.domains.v1beta1.TransferParametersOrBuilder getTransferParametersOrBuilder() { if (transferParametersBuilder_ != null) { return transferParametersBuilder_.getMessageOrBuilder(); } else { - return transferParameters_ == null - ? com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() - : transferParameters_; + return transferParameters_ == null ? + com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() : transferParameters_; } } /** - * - * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -684,24 +598,21 @@ public Builder clearTransferParameters() { * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.TransferParameters, - com.google.cloud.domains.v1beta1.TransferParameters.Builder, - com.google.cloud.domains.v1beta1.TransferParametersOrBuilder> + com.google.cloud.domains.v1beta1.TransferParameters, com.google.cloud.domains.v1beta1.TransferParameters.Builder, com.google.cloud.domains.v1beta1.TransferParametersOrBuilder> getTransferParametersFieldBuilder() { if (transferParametersBuilder_ == null) { - transferParametersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.TransferParameters, - com.google.cloud.domains.v1beta1.TransferParameters.Builder, - com.google.cloud.domains.v1beta1.TransferParametersOrBuilder>( - getTransferParameters(), getParentForChildren(), isClean()); + transferParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.TransferParameters, com.google.cloud.domains.v1beta1.TransferParameters.Builder, com.google.cloud.domains.v1beta1.TransferParametersOrBuilder>( + getTransferParameters(), + getParentForChildren(), + isClean()); transferParameters_ = null; } return transferParametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -711,32 +622,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) - private static final com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse(); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse - getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -748,8 +657,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse - getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java similarity index 63% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java index 0f62cee3..c7263e6a 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RetrieveTransferParametersResponseOrBuilder - extends +public interface RetrieveTransferParametersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; - * * @return Whether the transferParameters field is set. */ boolean hasTransferParameters(); /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; - * * @return The transferParameters. */ com.google.cloud.domains.v1beta1.TransferParameters getTransferParameters(); /** - * - * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java similarity index 66% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java index 9e3ac8f0..10615b71 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.SearchDomainsRequest} */ -public final class SearchDomainsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchDomainsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.SearchDomainsRequest) SearchDomainsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchDomainsRequest.newBuilder() to construct. private SearchDomainsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchDomainsRequest() { query_ = ""; location_ = ""; @@ -44,15 +26,16 @@ private SearchDomainsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchDomainsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchDomainsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private SearchDomainsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private SearchDomainsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, - com.google.cloud.domains.v1beta1.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, com.google.cloud.domains.v1beta1.SearchDomainsRequest.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -173,16 +149,11 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -191,31 +162,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -224,7 +193,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -266,16 +235,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.domains.v1beta1.SearchDomainsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.SearchDomainsRequest other = - (com.google.cloud.domains.v1beta1.SearchDomainsRequest) obj; + com.google.cloud.domains.v1beta1.SearchDomainsRequest other = (com.google.cloud.domains.v1beta1.SearchDomainsRequest) obj; - if (!getQuery().equals(other.getQuery())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,127 +267,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.SearchDomainsRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.SearchDomainsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.SearchDomainsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.SearchDomainsRequest) com.google.cloud.domains.v1beta1.SearchDomainsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, - com.google.cloud.domains.v1beta1.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, com.google.cloud.domains.v1beta1.SearchDomainsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.SearchDomainsRequest.newBuilder() @@ -425,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; } @java.lang.Override @@ -466,8 +427,7 @@ public com.google.cloud.domains.v1beta1.SearchDomainsRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.SearchDomainsRequest buildPartial() { - com.google.cloud.domains.v1beta1.SearchDomainsRequest result = - new com.google.cloud.domains.v1beta1.SearchDomainsRequest(this); + com.google.cloud.domains.v1beta1.SearchDomainsRequest result = new com.google.cloud.domains.v1beta1.SearchDomainsRequest(this); result.query_ = query_; result.location_ = location_; onBuilt(); @@ -478,39 +438,38 @@ public com.google.cloud.domains.v1beta1.SearchDomainsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.SearchDomainsRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.SearchDomainsRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.SearchDomainsRequest)other); } else { super.mergeFrom(other); return this; @@ -518,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.SearchDomainsRequest other) { - if (other == com.google.cloud.domains.v1beta1.SearchDomainsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.SearchDomainsRequest.getDefaultInstance()) return this; if (!other.getQuery().isEmpty()) { query_ = other.query_; onChanged(); @@ -547,8 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.SearchDomainsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.SearchDomainsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object query_ = ""; /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -582,21 +537,20 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -604,61 +558,54 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -666,22 +613,18 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -690,23 +633,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -714,74 +654,61 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -791,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.SearchDomainsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.SearchDomainsRequest) private static final com.google.cloud.domains.v1beta1.SearchDomainsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.SearchDomainsRequest(); } @@ -805,16 +732,16 @@ public static com.google.cloud.domains.v1beta1.SearchDomainsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.SearchDomainsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java index cc0a024c..4c9dac91 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface SearchDomainsRequestOrBuilder - extends +public interface SearchDomainsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.SearchDomainsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java similarity index 71% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java index 634d67cb..87670f8c 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Response for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.SearchDomainsResponse} */ -public final class SearchDomainsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchDomainsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.SearchDomainsResponse) SearchDomainsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchDomainsResponse.newBuilder() to construct. private SearchDomainsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchDomainsResponse() { registerParameters_ = 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 SearchDomainsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchDomainsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,26 +54,22 @@ private SearchDomainsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registerParameters_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - registerParameters_.add( - input.readMessage( - com.google.cloud.domains.v1beta1.RegisterParameters.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registerParameters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + registerParameters_.add( + input.readMessage(com.google.cloud.domains.v1beta1.RegisterParameters.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,7 +77,8 @@ private SearchDomainsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registerParameters_ = java.util.Collections.unmodifiableList(registerParameters_); @@ -107,27 +87,22 @@ private SearchDomainsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, - com.google.cloud.domains.v1beta1.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, com.google.cloud.domains.v1beta1.SearchDomainsResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private java.util.List registerParameters_; /** - * - * *
    * Results of the domain name search.
    * 
@@ -135,13 +110,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public java.util.List - getRegisterParametersList() { + public java.util.List getRegisterParametersList() { return registerParameters_; } /** - * - * *
    * Results of the domain name search.
    * 
@@ -149,13 +121,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegisterParametersOrBuilderList() { return registerParameters_; } /** - * - * *
    * Results of the domain name search.
    * 
@@ -167,8 +137,6 @@ public int getRegisterParametersCount() { return registerParameters_.size(); } /** - * - * *
    * Results of the domain name search.
    * 
@@ -180,8 +148,6 @@ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters return registerParameters_.get(index); } /** - * - * *
    * Results of the domain name search.
    * 
@@ -189,13 +155,12 @@ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder - getRegisterParametersOrBuilder(int index) { + public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder getRegisterParametersOrBuilder( + int index) { return registerParameters_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < registerParameters_.size(); i++) { output.writeMessage(1, registerParameters_.get(i)); } @@ -221,8 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registerParameters_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, registerParameters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, registerParameters_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,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.domains.v1beta1.SearchDomainsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.SearchDomainsResponse other = - (com.google.cloud.domains.v1beta1.SearchDomainsResponse) obj; + com.google.cloud.domains.v1beta1.SearchDomainsResponse other = (com.google.cloud.domains.v1beta1.SearchDomainsResponse) obj; - if (!getRegisterParametersList().equals(other.getRegisterParametersList())) return false; + if (!getRegisterParametersList() + .equals(other.getRegisterParametersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -262,127 +228,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.SearchDomainsResponse prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.SearchDomainsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.SearchDomainsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.SearchDomainsResponse) com.google.cloud.domains.v1beta1.SearchDomainsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, - com.google.cloud.domains.v1beta1.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, com.google.cloud.domains.v1beta1.SearchDomainsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.SearchDomainsResponse.newBuilder() @@ -390,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRegisterParametersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; } @java.lang.Override @@ -435,8 +391,7 @@ public com.google.cloud.domains.v1beta1.SearchDomainsResponse build() { @java.lang.Override public com.google.cloud.domains.v1beta1.SearchDomainsResponse buildPartial() { - com.google.cloud.domains.v1beta1.SearchDomainsResponse result = - new com.google.cloud.domains.v1beta1.SearchDomainsResponse(this); + com.google.cloud.domains.v1beta1.SearchDomainsResponse result = new com.google.cloud.domains.v1beta1.SearchDomainsResponse(this); int from_bitField0_ = bitField0_; if (registerParametersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -455,39 +410,38 @@ public com.google.cloud.domains.v1beta1.SearchDomainsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.SearchDomainsResponse) { - return mergeFrom((com.google.cloud.domains.v1beta1.SearchDomainsResponse) other); + return mergeFrom((com.google.cloud.domains.v1beta1.SearchDomainsResponse)other); } else { super.mergeFrom(other); return this; @@ -495,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.SearchDomainsResponse other) { - if (other == com.google.cloud.domains.v1beta1.SearchDomainsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.SearchDomainsResponse.getDefaultInstance()) return this; if (registerParametersBuilder_ == null) { if (!other.registerParameters_.isEmpty()) { if (registerParameters_.isEmpty()) { @@ -515,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.SearchDomainsResponse registerParametersBuilder_ = null; registerParameters_ = other.registerParameters_; bitField0_ = (bitField0_ & ~0x00000001); - registerParametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRegisterParametersFieldBuilder() - : null; + registerParametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRegisterParametersFieldBuilder() : null; } else { registerParametersBuilder_.addAllMessages(other.registerParameters_); } @@ -543,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.SearchDomainsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.SearchDomainsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -553,39 +504,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - registerParameters_ = java.util.Collections.emptyList(); - + private java.util.List registerParameters_ = + java.util.Collections.emptyList(); private void ensureRegisterParametersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registerParameters_ = - new java.util.ArrayList( - registerParameters_); + registerParameters_ = new java.util.ArrayList(registerParameters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, - com.google.cloud.domains.v1beta1.RegisterParameters.Builder, - com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> - registerParametersBuilder_; + com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> registerParametersBuilder_; /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersList() { + public java.util.List getRegisterParametersList() { if (registerParametersBuilder_ == null) { return java.util.Collections.unmodifiableList(registerParameters_); } else { @@ -593,14 +533,11 @@ private void ensureRegisterParametersIsMutable() { } } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public int getRegisterParametersCount() { if (registerParametersBuilder_ == null) { @@ -610,14 +547,11 @@ public int getRegisterParametersCount() { } } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters(int index) { if (registerParametersBuilder_ == null) { @@ -627,14 +561,11 @@ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters } } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public Builder setRegisterParameters( int index, com.google.cloud.domains.v1beta1.RegisterParameters value) { @@ -651,14 +582,11 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public Builder setRegisterParameters( int index, com.google.cloud.domains.v1beta1.RegisterParameters.Builder builderForValue) { @@ -672,17 +600,13 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public Builder addRegisterParameters( - com.google.cloud.domains.v1beta1.RegisterParameters value) { + public Builder addRegisterParameters(com.google.cloud.domains.v1beta1.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -696,14 +620,11 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public Builder addRegisterParameters( int index, com.google.cloud.domains.v1beta1.RegisterParameters value) { @@ -720,14 +641,11 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public Builder addRegisterParameters( com.google.cloud.domains.v1beta1.RegisterParameters.Builder builderForValue) { @@ -741,14 +659,11 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public Builder addRegisterParameters( int index, com.google.cloud.domains.v1beta1.RegisterParameters.Builder builderForValue) { @@ -762,20 +677,18 @@ public Builder addRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public Builder addAllRegisterParameters( java.lang.Iterable values) { if (registerParametersBuilder_ == null) { ensureRegisterParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registerParameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, registerParameters_); onChanged(); } else { registerParametersBuilder_.addAllMessages(values); @@ -783,14 +696,11 @@ public Builder addAllRegisterParameters( return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public Builder clearRegisterParameters() { if (registerParametersBuilder_ == null) { @@ -803,14 +713,11 @@ public Builder clearRegisterParameters() { return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public Builder removeRegisterParameters(int index) { if (registerParametersBuilder_ == null) { @@ -823,49 +730,39 @@ public Builder removeRegisterParameters(int index) { return this; } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public com.google.cloud.domains.v1beta1.RegisterParameters.Builder getRegisterParametersBuilder( int index) { return getRegisterParametersFieldBuilder().getBuilder(index); } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder - getRegisterParametersOrBuilder(int index) { + public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder getRegisterParametersOrBuilder( + int index) { if (registerParametersBuilder_ == null) { - return registerParameters_.get(index); - } else { + return registerParameters_.get(index); } else { return registerParametersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersOrBuilderList() { + public java.util.List + getRegisterParametersOrBuilderList() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilderList(); } else { @@ -873,62 +770,45 @@ public com.google.cloud.domains.v1beta1.RegisterParameters.Builder getRegisterPa } } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1beta1.RegisterParameters.Builder - addRegisterParametersBuilder() { - return getRegisterParametersFieldBuilder() - .addBuilder(com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()); + public com.google.cloud.domains.v1beta1.RegisterParameters.Builder addRegisterParametersBuilder() { + return getRegisterParametersFieldBuilder().addBuilder( + com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()); } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ public com.google.cloud.domains.v1beta1.RegisterParameters.Builder addRegisterParametersBuilder( int index) { - return getRegisterParametersFieldBuilder() - .addBuilder( - index, com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()); + return getRegisterParametersFieldBuilder().addBuilder( + index, com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()); } /** - * - * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; - * + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersBuilderList() { + public java.util.List + getRegisterParametersBuilderList() { return getRegisterParametersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, - com.google.cloud.domains.v1beta1.RegisterParameters.Builder, - com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> + com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, - com.google.cloud.domains.v1beta1.RegisterParameters.Builder, - com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder>( + registerParametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder>( registerParameters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -937,9 +817,9 @@ public com.google.cloud.domains.v1beta1.RegisterParameters.Builder addRegisterPa } return registerParametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -949,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.SearchDomainsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.SearchDomainsResponse) private static final com.google.cloud.domains.v1beta1.SearchDomainsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.SearchDomainsResponse(); } @@ -963,16 +843,16 @@ public static com.google.cloud.domains.v1beta1.SearchDomainsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -987,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.SearchDomainsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java index bfcbd407..d152eb33 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface SearchDomainsResponseOrBuilder - extends +public interface SearchDomainsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.SearchDomainsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results of the domain name search.
    * 
* * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - java.util.List getRegisterParametersList(); + java.util.List + getRegisterParametersList(); /** - * - * *
    * Results of the domain name search.
    * 
@@ -44,8 +25,6 @@ public interface SearchDomainsResponseOrBuilder */ com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters(int index); /** - * - * *
    * Results of the domain name search.
    * 
@@ -54,19 +33,15 @@ public interface SearchDomainsResponseOrBuilder */ int getRegisterParametersCount(); /** - * - * *
    * Results of the domain name search.
    * 
* * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - java.util.List + java.util.List getRegisterParametersOrBuilderList(); /** - * - * *
    * Results of the domain name search.
    * 
diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java similarity index 74% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java index 7860562f..236c0b05 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `TransferDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.TransferDomainRequest} */ -public final class TransferDomainRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferDomainRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.TransferDomainRequest) TransferDomainRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferDomainRequest.newBuilder() to construct. private TransferDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferDomainRequest() { parent_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private TransferDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,97 +55,86 @@ private TransferDomainRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = input.readMessage(com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = - input.readMessage( - com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { + contactNotices_.add(rawValue); + break; + } + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); - break; } - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - contactNotices_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 34: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 34: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.domains.v1beta1.AuthorizationCode.Builder subBuilder = null; - if (authorizationCode_ != null) { - subBuilder = authorizationCode_.toBuilder(); - } - authorizationCode_ = - input.readMessage( - com.google.cloud.domains.v1beta1.AuthorizationCode.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authorizationCode_); - authorizationCode_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.cloud.domains.v1beta1.AuthorizationCode.Builder subBuilder = null; + if (authorizationCode_ != null) { + subBuilder = authorizationCode_.toBuilder(); } - case 48: - { - validateOnly_ = input.readBool(); - break; + authorizationCode_ = input.readMessage(com.google.cloud.domains.v1beta1.AuthorizationCode.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authorizationCode_); + authorizationCode_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 48: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -170,7 +142,8 @@ private TransferDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -179,36 +152,28 @@ private TransferDomainRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.TransferDomainRequest.class, - com.google.cloud.domains.v1beta1.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1beta1.TransferDomainRequest.class, com.google.cloud.domains.v1beta1.TransferDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -217,32 +182,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -253,8 +216,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.Registration registration_; /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -264,10 +225,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ @java.lang.Override @@ -275,8 +233,6 @@ public boolean hasRegistration() { return registration_ != null; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -286,21 +242,14 @@ public boolean hasRegistration() {
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1beta1.Registration getRegistration() { - return registration_ == null - ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; } /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -310,9 +259,7 @@ public com.google.cloud.domains.v1beta1.Registration getRegistration() {
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -322,22 +269,16 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB public static final int CONTACT_NOTICES_FIELD_NUMBER = 3; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> - contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>() { public com.google.cloud.domains.v1beta1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactNotice result = - com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); - return result == null - ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.ContactNotice result = com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); + return result == null ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -345,18 +286,14 @@ public com.google.cloud.domains.v1beta1.ContactNotice convert(java.lang.Integer
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -364,7 +301,6 @@ public java.util.List getContact
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @return The count of contactNotices. */ @java.lang.Override @@ -372,8 +308,6 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -381,7 +315,6 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -390,8 +323,6 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -399,16 +330,14 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return contactNotices_; } /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -416,7 +345,6 @@ public java.util.List getContactNoticesValueList() {
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -424,14 +352,11 @@ public java.util.List getContactNoticesValueList() { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } - private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 4; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -439,7 +364,6 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -447,8 +371,6 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -456,7 +378,6 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ @java.lang.Override @@ -464,8 +385,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -482,15 +401,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 5;
   private com.google.cloud.domains.v1beta1.AuthorizationCode authorizationCode_;
   /**
-   *
-   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; - * * @return Whether the authorizationCode field is set. */ @java.lang.Override @@ -498,26 +414,19 @@ public boolean hasAuthorizationCode() { return authorizationCode_ != null; } /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; - * * @return The authorizationCode. */ @java.lang.Override public com.google.cloud.domains.v1beta1.AuthorizationCode getAuthorizationCode() { - return authorizationCode_ == null - ? com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance() - : authorizationCode_; + return authorizationCode_ == null ? com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance() : authorizationCode_; } /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -526,22 +435,18 @@ public com.google.cloud.domains.v1beta1.AuthorizationCode getAuthorizationCode()
    * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder
-      getAuthorizationCodeOrBuilder() {
+  public com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder() {
     return getAuthorizationCode();
   }
 
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
-   *
-   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -550,7 +455,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -562,7 +466,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -599,29 +504,32 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getYearlyPrice()); } if (authorizationCode_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAuthorizationCode()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAuthorizationCode()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -631,29 +539,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1beta1.TransferDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.TransferDomainRequest other = - (com.google.cloud.domains.v1beta1.TransferDomainRequest) obj; + com.google.cloud.domains.v1beta1.TransferDomainRequest other = (com.google.cloud.domains.v1beta1.TransferDomainRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } if (hasAuthorizationCode() != other.hasAuthorizationCode()) return false; if (hasAuthorizationCode()) { - if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; + if (!getAuthorizationCode() + .equals(other.getAuthorizationCode())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -684,134 +596,125 @@ public int hashCode() { hash = (53 * hash) + getAuthorizationCode().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.TransferDomainRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.TransferDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `TransferDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.TransferDomainRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.TransferDomainRequest) com.google.cloud.domains.v1beta1.TransferDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.TransferDomainRequest.class, - com.google.cloud.domains.v1beta1.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1beta1.TransferDomainRequest.class, com.google.cloud.domains.v1beta1.TransferDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.TransferDomainRequest.newBuilder() @@ -819,15 +722,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -859,9 +763,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; } @java.lang.Override @@ -880,8 +784,7 @@ public com.google.cloud.domains.v1beta1.TransferDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.TransferDomainRequest buildPartial() { - com.google.cloud.domains.v1beta1.TransferDomainRequest result = - new com.google.cloud.domains.v1beta1.TransferDomainRequest(this); + com.google.cloud.domains.v1beta1.TransferDomainRequest result = new com.google.cloud.domains.v1beta1.TransferDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -913,39 +816,38 @@ public com.google.cloud.domains.v1beta1.TransferDomainRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.TransferDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.TransferDomainRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.TransferDomainRequest)other); } else { super.mergeFrom(other); return this; @@ -953,8 +855,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.TransferDomainRequest other) { - if (other == com.google.cloud.domains.v1beta1.TransferDomainRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.TransferDomainRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1000,8 +901,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.TransferDomainRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.TransferDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1010,28 +910,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -1040,24 +935,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -1065,70 +957,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1136,13 +1015,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.domains.v1beta1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder> - registrationBuilder_; + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> registrationBuilder_; /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1152,18 +1026,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1173,24 +1042,17 @@ public boolean hasRegistration() {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ public com.google.cloud.domains.v1beta1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null - ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; } else { return registrationBuilder_.getMessage(); } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1200,9 +1062,7 @@ public com.google.cloud.domains.v1beta1.Registration getRegistration() {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration value) { if (registrationBuilder_ == null) { @@ -1218,8 +1078,6 @@ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration val return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1229,9 +1087,7 @@ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration val
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRegistration( com.google.cloud.domains.v1beta1.Registration.Builder builderForValue) { @@ -1245,8 +1101,6 @@ public Builder setRegistration( return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1256,17 +1110,13 @@ public Builder setRegistration(
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); } else { registration_ = value; } @@ -1278,8 +1128,6 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1289,9 +1137,7 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1305,8 +1151,6 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1316,18 +1160,14 @@ public Builder clearRegistration() {
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1337,22 +1177,17 @@ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationBuil
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null - ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? + com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; } } /** - * - * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1362,29 +1197,24 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB
      * provided for free by the registrar.
      * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( - getRegistration(), getParentForChildren(), isClean()); + registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( + getRegistration(), + getParentForChildren(), + isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List contactNotices_ = java.util.Collections.emptyList(); - + private java.util.List contactNotices_ = + java.util.Collections.emptyList(); private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1392,8 +1222,6 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1401,17 +1229,13 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( - contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1419,15 +1243,12 @@ public java.util.List getContact
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1435,7 +1256,6 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1443,8 +1263,6 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1452,7 +1270,6 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1468,8 +1285,6 @@ public Builder setContactNotices( return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1477,7 +1292,6 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1491,8 +1305,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1500,7 +1312,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1514,8 +1325,6 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1523,7 +1332,6 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1533,8 +1341,6 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1542,15 +1348,13 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List getContactNoticesValueList() { + public java.util.List + getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1558,7 +1362,6 @@ public java.util.List getContactNoticesValueList() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1566,8 +1369,6 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1575,20 +1376,18 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue(int index, int value) { + public Builder setContactNoticesValue( + int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1596,7 +1395,6 @@ public Builder setContactNoticesValue(int index, int value) {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1607,8 +1405,6 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1616,11 +1412,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue(java.lang.Iterable values) { + public Builder addAllContactNoticesValue( + java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1631,11 +1427,8 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1643,15 +1436,12 @@ public Builder addAllContactNoticesValue(java.lang.Iterable v
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1659,7 +1449,6 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1670,8 +1459,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1694,8 +1481,6 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1704,7 +1489,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(
+        com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1715,8 +1501,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1729,7 +1513,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1741,8 +1525,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1763,8 +1545,6 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1774,13 +1554,11 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-
+      
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1793,12 +1571,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ?
+            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1808,15 +1585,14 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Money,
-                com.google.type.Money.Builder,
-                com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(), getParentForChildren(), isClean());
+        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(),
+                getParentForChildren(),
+                isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
@@ -1824,49 +1600,36 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
 
     private com.google.cloud.domains.v1beta1.AuthorizationCode authorizationCode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1beta1.AuthorizationCode,
-            com.google.cloud.domains.v1beta1.AuthorizationCode.Builder,
-            com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder>
-        authorizationCodeBuilder_;
+        com.google.cloud.domains.v1beta1.AuthorizationCode, com.google.cloud.domains.v1beta1.AuthorizationCode.Builder, com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder> authorizationCodeBuilder_;
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; - * * @return Whether the authorizationCode field is set. */ public boolean hasAuthorizationCode() { return authorizationCodeBuilder_ != null || authorizationCode_ != null; } /** - * - * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; - * * @return The authorizationCode. */ public com.google.cloud.domains.v1beta1.AuthorizationCode getAuthorizationCode() { if (authorizationCodeBuilder_ == null) { - return authorizationCode_ == null - ? com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance() - : authorizationCode_; + return authorizationCode_ == null ? com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance() : authorizationCode_; } else { return authorizationCodeBuilder_.getMessage(); } } /** - * - * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1888,8 +1651,6 @@ public Builder setAuthorizationCode(com.google.cloud.domains.v1beta1.Authorizati
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1909,8 +1670,6 @@ public Builder setAuthorizationCode(
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1918,14 +1677,11 @@ public Builder setAuthorizationCode(
      *
      * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5;
      */
-    public Builder mergeAuthorizationCode(
-        com.google.cloud.domains.v1beta1.AuthorizationCode value) {
+    public Builder mergeAuthorizationCode(com.google.cloud.domains.v1beta1.AuthorizationCode value) {
       if (authorizationCodeBuilder_ == null) {
         if (authorizationCode_ != null) {
           authorizationCode_ =
-              com.google.cloud.domains.v1beta1.AuthorizationCode.newBuilder(authorizationCode_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.domains.v1beta1.AuthorizationCode.newBuilder(authorizationCode_).mergeFrom(value).buildPartial();
         } else {
           authorizationCode_ = value;
         }
@@ -1937,8 +1693,6 @@ public Builder mergeAuthorizationCode(
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1958,8 +1712,6 @@ public Builder clearAuthorizationCode() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1967,15 +1719,12 @@ public Builder clearAuthorizationCode() {
      *
      * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5;
      */
-    public com.google.cloud.domains.v1beta1.AuthorizationCode.Builder
-        getAuthorizationCodeBuilder() {
-
+    public com.google.cloud.domains.v1beta1.AuthorizationCode.Builder getAuthorizationCodeBuilder() {
+      
       onChanged();
       return getAuthorizationCodeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1983,19 +1732,15 @@ public Builder clearAuthorizationCode() {
      *
      * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5;
      */
-    public com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder
-        getAuthorizationCodeOrBuilder() {
+    public com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder() {
       if (authorizationCodeBuilder_ != null) {
         return authorizationCodeBuilder_.getMessageOrBuilder();
       } else {
-        return authorizationCode_ == null
-            ? com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance()
-            : authorizationCode_;
+        return authorizationCode_ == null ?
+            com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance() : authorizationCode_;
       }
     }
     /**
-     *
-     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -2004,32 +1749,26 @@ public Builder clearAuthorizationCode() {
      * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1beta1.AuthorizationCode,
-            com.google.cloud.domains.v1beta1.AuthorizationCode.Builder,
-            com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder>
+        com.google.cloud.domains.v1beta1.AuthorizationCode, com.google.cloud.domains.v1beta1.AuthorizationCode.Builder, com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder> 
         getAuthorizationCodeFieldBuilder() {
       if (authorizationCodeBuilder_ == null) {
-        authorizationCodeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.domains.v1beta1.AuthorizationCode,
-                com.google.cloud.domains.v1beta1.AuthorizationCode.Builder,
-                com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder>(
-                getAuthorizationCode(), getParentForChildren(), isClean());
+        authorizationCodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.domains.v1beta1.AuthorizationCode, com.google.cloud.domains.v1beta1.AuthorizationCode.Builder, com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder>(
+                getAuthorizationCode(),
+                getParentForChildren(),
+                isClean());
         authorizationCode_ = null;
       }
       return authorizationCodeBuilder_;
     }
 
-    private boolean validateOnly_;
+    private boolean validateOnly_ ;
     /**
-     *
-     *
      * 
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -2037,43 +1776,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2083,12 +1816,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.TransferDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.TransferDomainRequest) private static final com.google.cloud.domains.v1beta1.TransferDomainRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.TransferDomainRequest(); } @@ -2097,16 +1830,16 @@ public static com.google.cloud.domains.v1beta1.TransferDomainRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2121,4 +1854,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.TransferDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java similarity index 80% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java index 665ab5af..b9e8a343 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface TransferDomainRequestOrBuilder - extends +public interface TransferDomainRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.TransferDomainRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -66,16 +39,11 @@ public interface TransferDomainRequestOrBuilder
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the registration field is set. */ boolean hasRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -85,16 +53,11 @@ public interface TransferDomainRequestOrBuilder
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The registration. */ com.google.cloud.domains.v1beta1.Registration getRegistration(); /** - * - * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -104,15 +67,11 @@ public interface TransferDomainRequestOrBuilder
    * provided for free by the registrar.
    * 
* - * - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -120,13 +79,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -134,13 +90,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @return The count of contactNotices. */ int getContactNoticesCount(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -148,14 +101,11 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int index); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -163,13 +113,11 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List getContactNoticesValueList(); + java.util.List + getContactNoticesValueList(); /** - * - * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -177,15 +125,12 @@ public interface TransferDomainRequestOrBuilder
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -193,13 +138,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -207,13 +149,10 @@ public interface TransferDomainRequestOrBuilder
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -225,34 +164,26 @@ public interface TransferDomainRequestOrBuilder
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
-   *
-   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; - * * @return Whether the authorizationCode field is set. */ boolean hasAuthorizationCode(); /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; - * * @return The authorizationCode. */ com.google.cloud.domains.v1beta1.AuthorizationCode getAuthorizationCode(); /** - * - * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -263,14 +194,11 @@ public interface TransferDomainRequestOrBuilder
   com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java similarity index 69% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java index 5f754167..e25d445f 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Possible states of a `Registration`'s transfer lock.
  * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.TransferLockState} */ -public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum { +public enum TransferLockState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The state is unspecified.
    * 
@@ -39,8 +21,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ TRANSFER_LOCK_STATE_UNSPECIFIED(0), /** - * - * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -49,8 +29,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ UNLOCKED(1), /** - * - * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -62,8 +40,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * The state is unspecified.
    * 
@@ -72,8 +48,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ public static final int TRANSFER_LOCK_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -82,8 +56,6 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ public static final int UNLOCKED_VALUE = 1; /** - * - * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -92,6 +64,7 @@ public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOCKED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,42 +89,39 @@ public static TransferLockState valueOf(int value) { */ public static TransferLockState forNumber(int value) { switch (value) { - case 0: - return TRANSFER_LOCK_STATE_UNSPECIFIED; - case 1: - return UNLOCKED; - case 2: - return LOCKED; - default: - return null; + case 0: return TRANSFER_LOCK_STATE_UNSPECIFIED; + case 1: return UNLOCKED; + case 2: return LOCKED; + 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 TransferLockState findValueByNumber(int number) { - return TransferLockState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + TransferLockState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransferLockState findValueByNumber(int number) { + return TransferLockState.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.domains.v1beta1.DomainsProto.getDescriptor().getEnumTypes().get(3); } @@ -160,7 +130,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TransferLockState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -176,3 +147,4 @@ private TransferLockState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1beta1.TransferLockState) } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java similarity index 75% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java index 303f44e6..7b9a8a3d 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Parameters required to transfer a domain from another registrar.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.TransferParameters} */ -public final class TransferParameters extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferParameters extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.TransferParameters) TransferParametersOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferParameters.newBuilder() to construct. private TransferParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferParameters() { domainName_ = ""; currentRegistrar_ = ""; @@ -47,15 +29,16 @@ private TransferParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TransferParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,83 +58,76 @@ private TransferParameters( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - currentRegistrar_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nameServers_.add(s); - break; + currentRegistrar_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - int rawValue = input.readEnum(); + nameServers_.add(s); + break; + } + case 32: { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; + transferLockState_ = rawValue; + break; + } + case 40: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 40: - { + supportedPrivacy_.add(rawValue); + break; + } + case 42: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } supportedPrivacy_.add(rawValue); - break; } - case 42: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - supportedPrivacy_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 50: { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); } - case 50: - { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); - } - - break; + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -159,7 +135,8 @@ private TransferParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -171,33 +148,27 @@ private TransferParameters( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.TransferParameters.class, - com.google.cloud.domains.v1beta1.TransferParameters.Builder.class); + com.google.cloud.domains.v1beta1.TransferParameters.class, com.google.cloud.domains.v1beta1.TransferParameters.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ @java.lang.Override @@ -206,29 +177,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -239,14 +210,11 @@ public com.google.protobuf.ByteString getDomainNameBytes() { public static final int CURRENT_REGISTRAR_FIELD_NUMBER = 2; private volatile java.lang.Object currentRegistrar_; /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The currentRegistrar. */ @java.lang.Override @@ -255,29 +223,29 @@ public java.lang.String getCurrentRegistrar() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; } } /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The bytes for currentRegistrar. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString + getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -288,42 +256,34 @@ public com.google.protobuf.ByteString getCurrentRegistrarBytes() { public static final int NAME_SERVERS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList nameServers_; /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_; } /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -331,26 +291,22 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -358,16 +314,12 @@ public com.google.protobuf.ByteString getNameServersBytes(int index) {
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -375,61 +327,45 @@ public int getTransferLockStateValue() {
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ - @java.lang.Override - public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { + @java.lang.Override public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.TransferLockState result = - com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); - return result == null - ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.TransferLockState result = com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); + return result == null ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 5; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> - supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>() { public com.google.cloud.domains.v1beta1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactPrivacy result = - com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); - return result == null - ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.ContactPrivacy result = com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); + return result == null ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED : result; } }; /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -437,14 +373,11 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -453,29 +386,24 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return supportedPrivacy_; } /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -483,20 +411,16 @@ public java.util.List getSupportedPrivacyValueList() { public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } - private int supportedPrivacyMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 6; private com.google.type.Money yearlyPrice_; /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -504,14 +428,11 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return The yearlyPrice. */ @java.lang.Override @@ -519,8 +440,6 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
@@ -533,7 +452,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -545,7 +463,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); @@ -556,9 +475,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nameServers_.getRaw(i)); } - if (transferLockState_ - != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { + if (transferLockState_ != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, transferLockState_); } if (getSupportedPrivacyList().size() > 0) { @@ -594,26 +511,25 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (transferLockState_ - != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); + if (transferLockState_ != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, transferLockState_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedPrivacyMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -623,22 +539,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.domains.v1beta1.TransferParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.TransferParameters other = - (com.google.cloud.domains.v1beta1.TransferParameters) obj; + com.google.cloud.domains.v1beta1.TransferParameters other = (com.google.cloud.domains.v1beta1.TransferParameters) obj; - if (!getDomainName().equals(other.getDomainName())) return false; - if (!getCurrentRegistrar().equals(other.getCurrentRegistrar())) return false; - if (!getNameServersList().equals(other.getNameServersList())) return false; + if (!getDomainName() + .equals(other.getDomainName())) return false; + if (!getCurrentRegistrar() + .equals(other.getCurrentRegistrar())) return false; + if (!getNameServersList() + .equals(other.getNameServersList())) return false; if (transferLockState_ != other.transferLockState_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice() + .equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -675,126 +594,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.TransferParameters parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.TransferParameters parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.TransferParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters required to transfer a domain from another registrar.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.TransferParameters} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.TransferParameters) com.google.cloud.domains.v1beta1.TransferParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.TransferParameters.class, - com.google.cloud.domains.v1beta1.TransferParameters.Builder.class); + com.google.cloud.domains.v1beta1.TransferParameters.class, com.google.cloud.domains.v1beta1.TransferParameters.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.TransferParameters.newBuilder() @@ -802,15 +712,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -834,9 +745,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; } @java.lang.Override @@ -855,8 +766,7 @@ public com.google.cloud.domains.v1beta1.TransferParameters build() { @java.lang.Override public com.google.cloud.domains.v1beta1.TransferParameters buildPartial() { - com.google.cloud.domains.v1beta1.TransferParameters result = - new com.google.cloud.domains.v1beta1.TransferParameters(this); + com.google.cloud.domains.v1beta1.TransferParameters result = new com.google.cloud.domains.v1beta1.TransferParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.currentRegistrar_ = currentRegistrar_; @@ -884,39 +794,38 @@ public com.google.cloud.domains.v1beta1.TransferParameters buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.TransferParameters) { - return mergeFrom((com.google.cloud.domains.v1beta1.TransferParameters) other); + return mergeFrom((com.google.cloud.domains.v1beta1.TransferParameters)other); } else { super.mergeFrom(other); return this; @@ -924,8 +833,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.TransferParameters other) { - if (other == com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -979,8 +887,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.TransferParameters) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.TransferParameters) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -989,25 +896,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object domainName_ = ""; /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -1016,21 +920,20 @@ public java.lang.String getDomainName() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString getDomainNameBytes() { + public com.google.protobuf.ByteString + getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domainName_ = b; return b; } else { @@ -1038,61 +941,54 @@ public com.google.protobuf.ByteString getDomainNameBytes() { } } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName(java.lang.String value) { + public Builder setDomainName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** - * - * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; - * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -1100,20 +996,18 @@ public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object currentRegistrar_ = ""; /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @return The currentRegistrar. */ public java.lang.String getCurrentRegistrar() { java.lang.Object ref = currentRegistrar_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; @@ -1122,21 +1016,20 @@ public java.lang.String getCurrentRegistrar() { } } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @return The bytes for currentRegistrar. */ - public com.google.protobuf.ByteString getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString + getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -1144,112 +1037,95 @@ public com.google.protobuf.ByteString getCurrentRegistrarBytes() { } } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @param value The currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrar(java.lang.String value) { + public Builder setCurrentRegistrar( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentRegistrar_ = value; onChanged(); return this; } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @return This builder for chaining. */ public Builder clearCurrentRegistrar() { - + currentRegistrar_ = getDefaultInstance().getCurrentRegistrar(); onChanged(); return this; } /** - * - * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; - * * @param value The bytes for currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrarBytes(com.google.protobuf.ByteString value) { + public Builder setCurrentRegistrarBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentRegistrar_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList nameServers_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList getNameServersList() { + public com.google.protobuf.ProtocolStringList + getNameServersList() { return nameServers_.getUnmodifiableView(); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1257,90 +1133,80 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString getNameServersBytes(int index) { + public com.google.protobuf.ByteString + getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers(int index, java.lang.String value) { + public Builder setNameServers( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers(java.lang.String value) { + public Builder addNameServers( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers(java.lang.Iterable values) { + public Builder addAllNameServers( + java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nameServers_); onChanged(); return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1350,22 +1216,20 @@ public Builder clearNameServers() { return this; } /** - * - * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; - * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes(com.google.protobuf.ByteString value) { + public Builder addNameServersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1374,8 +1238,6 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) { private int transferLockState_ = 0; /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1383,16 +1245,12 @@ public Builder addNameServersBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override - public int getTransferLockStateValue() { + @java.lang.Override public int getTransferLockStateValue() { return transferLockState_; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1400,19 +1258,16 @@ public int getTransferLockStateValue() {
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1420,21 +1275,15 @@ public Builder setTransferLockStateValue(int value) {
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.TransferLockState result = - com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); - return result == null - ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED - : result; + com.google.cloud.domains.v1beta1.TransferLockState result = com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); + return result == null ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1442,7 +1291,6 @@ public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState()
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -1450,14 +1298,12 @@ public Builder setTransferLockState(com.google.cloud.domains.v1beta1.TransferLoc if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1465,18 +1311,17 @@ public Builder setTransferLockState(com.google.cloud.domains.v1beta1.TransferLoc
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); - + private java.util.List supportedPrivacy_ = + java.util.Collections.emptyList(); private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1484,45 +1329,34 @@ private void ensureSupportedPrivacyIsMutable() { } } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the supportedPrivacy. */ - public java.util.List - getSupportedPrivacyList() { + public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( - supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1530,14 +1364,11 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1553,14 +1384,11 @@ public Builder setSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1574,14 +1402,11 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1beta1.ContactPriva return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1595,14 +1420,11 @@ public Builder addAllSupportedPrivacy( return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1612,28 +1434,23 @@ public Builder clearSupportedPrivacy() { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List getSupportedPrivacyValueList() { + public java.util.List + getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1641,33 +1458,28 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue(int index, int value) { + public Builder setSupportedPrivacyValue( + int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1678,18 +1490,16 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** - * - * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue( + java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1700,31 +1510,24 @@ public Builder addAllSupportedPrivacyValue(java.lang.Iterable private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; - * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1735,8 +1538,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1757,15 +1558,14 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; */ - public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice( + com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1776,8 +1576,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1788,7 +1586,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1800,8 +1598,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1820,8 +1616,6 @@ public Builder clearYearlyPrice() { return this; } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1829,13 +1623,11 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 6; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1846,12 +1638,11 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? + com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** - * - * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1859,22 +1650,21 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - getYearlyPrice(), getParentForChildren(), isClean()); + yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + getYearlyPrice(), + getParentForChildren(), + isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1884,12 +1674,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.TransferParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.TransferParameters) private static final com.google.cloud.domains.v1beta1.TransferParameters DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.TransferParameters(); } @@ -1898,16 +1688,16 @@ public static com.google.cloud.domains.v1beta1.TransferParameters getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1922,4 +1712,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.TransferParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java similarity index 81% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java index c97368a1..4710aec6 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java @@ -1,132 +1,94 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface TransferParametersOrBuilder - extends +public interface TransferParametersOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.TransferParameters) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The domainName. */ java.lang.String getDomainName(); /** - * - * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; - * * @return The bytes for domainName. */ - com.google.protobuf.ByteString getDomainNameBytes(); + com.google.protobuf.ByteString + getDomainNameBytes(); /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The currentRegistrar. */ java.lang.String getCurrentRegistrar(); /** - * - * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; - * * @return The bytes for currentRegistrar. */ - com.google.protobuf.ByteString getCurrentRegistrarBytes(); + com.google.protobuf.ByteString + getCurrentRegistrarBytes(); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return A list containing the nameServers. */ - java.util.List getNameServersList(); + java.util.List + getNameServersList(); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @return The count of nameServers. */ int getNameServersCount(); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** - * - * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; - * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString getNameServersBytes(int index); + com.google.protobuf.ByteString + getNameServersBytes(int index); /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -134,13 +96,10 @@ public interface TransferParametersOrBuilder
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** - * - * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -148,101 +107,78 @@ public interface TransferParametersOrBuilder
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; - * * @return The transferLockState. */ com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int index); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List getSupportedPrivacyValueList(); + java.util.List + getSupportedPrivacyValueList(); /** - * - * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; - * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** - * - * *
    * Price to transfer or renew the domain for one year.
    * 
diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java similarity index 69% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java index 38134848..bef07b52 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** - * - * *
  * Request for the `UpdateRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.UpdateRegistrationRequest} */ -public final class UpdateRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRegistrationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.UpdateRegistrationRequest) UpdateRegistrationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRegistrationRequest.newBuilder() to construct. private UpdateRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRegistrationRequest() {} + private UpdateRegistrationRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateRegistrationRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = - input.readMessage( - com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = input.readMessage(com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private com.google.cloud.domains.v1beta1.Registration registration_; /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; - * * @return Whether the registration field is set. */ @java.lang.Override @@ -153,25 +127,18 @@ public boolean hasRegistration() { return registration_ != null; } /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; - * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1beta1.Registration getRegistration() { - return registration_ == null - ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; } /** - * - * *
    * Fields of the `Registration` to update.
    * 
@@ -186,17 +153,13 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,17 +167,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -222,16 +181,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -239,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (registration_ != null) { output.writeMessage(1, getRegistration()); } @@ -268,10 +224,12 @@ public int getSerializedSize() { size = 0; if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegistration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRegistration()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -281,21 +239,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.domains.v1beta1.UpdateRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest other = - (com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) obj; + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest other = (com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) obj; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration().equals(other.getRegistration())) return false; + if (!getRegistration() + .equals(other.getRegistration())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,127 +281,117 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest prototype) { + public static Builder newBuilder(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `UpdateRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.UpdateRegistrationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.UpdateRegistrationRequest) com.google.cloud.domains.v1beta1.UpdateRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.newBuilder() @@ -450,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto - .internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; } @java.lang.Override @@ -499,8 +449,7 @@ public com.google.cloud.domains.v1beta1.UpdateRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.UpdateRegistrationRequest buildPartial() { - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest result = - new com.google.cloud.domains.v1beta1.UpdateRegistrationRequest(this); + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest result = new com.google.cloud.domains.v1beta1.UpdateRegistrationRequest(this); if (registrationBuilder_ == null) { result.registration_ = registration_; } else { @@ -519,39 +468,38 @@ public com.google.cloud.domains.v1beta1.UpdateRegistrationRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) other); + return mergeFrom((com.google.cloud.domains.v1beta1.UpdateRegistrationRequest)other); } else { super.mergeFrom(other); return this; @@ -559,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest other) { - if (other == com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.getDefaultInstance()) return this; if (other.hasRegistration()) { mergeRegistration(other.getRegistration()); } @@ -586,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,47 +545,34 @@ public Builder mergeFrom( private com.google.cloud.domains.v1beta1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder> - registrationBuilder_; + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> registrationBuilder_; /** - * - * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; - * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; - * * @return The registration. */ public com.google.cloud.domains.v1beta1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null - ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; } else { return registrationBuilder_.getMessage(); } } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -660,8 +593,6 @@ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration val return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -680,8 +611,6 @@ public Builder setRegistration( return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -692,9 +621,7 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); } else { registration_ = value; } @@ -706,8 +633,6 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -726,8 +651,6 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -735,13 +658,11 @@ public Builder clearRegistration() { * .google.cloud.domains.v1beta1.Registration registration = 1; */ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -752,14 +673,11 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null - ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() - : registration_; + return registration_ == null ? + com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; } } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -767,17 +685,14 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB * .google.cloud.domains.v1beta1.Registration registration = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, - com.google.cloud.domains.v1beta1.Registration.Builder, - com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( - getRegistration(), getParentForChildren(), isClean()); + registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( + getRegistration(), + getParentForChildren(), + isClean()); registration_ = null; } return registrationBuilder_; @@ -785,61 +700,45 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -855,18 +754,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -877,22 +774,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -904,16 +798,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -927,74 +818,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.UpdateRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.UpdateRegistrationRequest) private static final com.google.cloud.domains.v1beta1.UpdateRegistrationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.UpdateRegistrationRequest(); } @@ -1018,16 +896,16 @@ public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1beta1.UpdateRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java index 65ac6dd6..74f08b4f 100644 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface UpdateRegistrationRequestOrBuilder - extends +public interface UpdateRegistrationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.UpdateRegistrationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; - * * @return Whether the registration field is set. */ boolean hasRegistration(); /** - * - * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; - * * @return The registration. */ com.google.cloud.domains.v1beta1.Registration getRegistration(); /** - * - * *
    * Fields of the `Registration` to update.
    * 
@@ -59,46 +35,35 @@ public interface UpdateRegistrationRequestOrBuilder com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto similarity index 100% rename from proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java index 44a22dcf..fd5bdddb 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1beta1.samples; -// [START -// domains_v1beta1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] +// [START domains_v1beta1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] import com.google.cloud.domains.v1beta1.ContactSettings; import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.Registration; @@ -46,5 +45,4 @@ public static void syncConfigureContactSettingsRegistrationnameContactsettingsFi } } } -// [END -// domains_v1beta1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] +// [END domains_v1beta1_generated_domainsclient_configurecontactsettings_registrationnamecontactsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java similarity index 89% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java index 945c37c7..b0b58dba 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1beta1.samples; -// [START -// domains_v1beta1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] +// [START domains_v1beta1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] import com.google.cloud.domains.v1beta1.ContactSettings; import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.Registration; @@ -45,5 +44,4 @@ public static void syncConfigureContactSettingsStringContactsettingsFieldmask() } } } -// [END -// domains_v1beta1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] +// [END domains_v1beta1_generated_domainsclient_configurecontactsettings_stringcontactsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java index f7d660c0..17251556 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1beta1.samples; -// [START -// domains_v1beta1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] +// [START domains_v1beta1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] import com.google.cloud.domains.v1beta1.DnsSettings; import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.Registration; @@ -44,5 +43,4 @@ public static void syncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask( } } } -// [END -// domains_v1beta1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] +// [END domains_v1beta1_generated_domainsclient_configurednssettings_registrationnamednssettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java similarity index 89% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java index abc07bd1..2d8c1a18 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1beta1.samples; -// [START -// domains_v1beta1_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync] +// [START domains_v1beta1_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync] import com.google.cloud.domains.v1beta1.DnsSettings; import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.Registration; @@ -43,5 +42,4 @@ public static void syncConfigureDnsSettingsStringDnssettingsFieldmask() throws E } } } -// [END -// domains_v1beta1_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync] +// [END domains_v1beta1_generated_domainsclient_configurednssettings_stringdnssettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java index 0ca2de18..f8b6d481 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1beta1.samples; -// [START -// domains_v1beta1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] +// [START domains_v1beta1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.ManagementSettings; import com.google.cloud.domains.v1beta1.Registration; @@ -46,5 +45,4 @@ public static void syncConfigureManagementSettingsRegistrationnameManagementsett } } } -// [END -// domains_v1beta1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] +// [END domains_v1beta1_generated_domainsclient_configuremanagementsettings_registrationnamemanagementsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java index 26146447..5d6401ba 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1beta1.samples; -// [START -// domains_v1beta1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] +// [START domains_v1beta1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.ManagementSettings; import com.google.cloud.domains.v1beta1.Registration; @@ -46,5 +45,4 @@ public static void syncConfigureManagementSettingsStringManagementsettingsFieldm } } } -// [END -// domains_v1beta1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] +// [END domains_v1beta1_generated_domainsclient_configuremanagementsettings_stringmanagementsettingsfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistration.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistration.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java index a5bf2163..86ccafab 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java @@ -20,6 +20,7 @@ import com.google.cloud.domains.v1beta1.DeleteRegistrationRequest; import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.RegistrationName; +import com.google.protobuf.Empty; public class SyncDeleteRegistration { diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java index 1cff3d02..331c7955 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java @@ -19,6 +19,7 @@ // [START domains_v1beta1_generated_domainsclient_deleteregistration_registrationname_sync] import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.RegistrationName; +import com.google.protobuf.Empty; public class SyncDeleteRegistrationRegistrationname { diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java index 5455fc90..737038f2 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java @@ -19,6 +19,7 @@ // [START domains_v1beta1_generated_domainsclient_deleteregistration_string_sync] import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.RegistrationName; +import com.google.protobuf.Empty; public class SyncDeleteRegistrationString { diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistration.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistration.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistration.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistration.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/AsyncGetRegistration.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/AsyncGetRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/AsyncGetRegistration.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/AsyncGetRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistration.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistration.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrations.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrations.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrations.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrations.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrations.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrations.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomain.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomain.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomain.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomain.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java index 086eb006..a66b10b2 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1beta1.samples; -// [START -// domains_v1beta1_generated_domainsclient_retrieveregisterparameters_locationnamestring_sync] +// [START domains_v1beta1_generated_domainsclient_retrieveregisterparameters_locationnamestring_sync] import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.LocationName; import com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse; diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java index ef57992a..979e4af2 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1beta1.samples; -// [START -// domains_v1beta1_generated_domainsclient_retrievetransferparameters_locationnamestring_sync] +// [START domains_v1beta1_generated_domainsclient_retrievetransferparameters_locationnamestring_sync] import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.LocationName; import com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse; diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/AsyncSearchDomains.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/AsyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/AsyncSearchDomains.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/AsyncSearchDomains.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomains.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomains.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomains.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsStringString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsStringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsStringString.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsStringString.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomain.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomain.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomainLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomainLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomainLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomainLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomain.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomain.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomain.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomain.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java index 3ff5c935..af1806aa 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1beta1.samples; -// [START -// domains_v1beta1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] +// [START domains_v1beta1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] import com.google.cloud.domains.v1beta1.AuthorizationCode; import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.LocationName; @@ -46,5 +45,4 @@ public static void syncTransferDomainLocationnameRegistrationMoneyAuthorizationc } } } -// [END -// domains_v1beta1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] +// [END domains_v1beta1_generated_domainsclient_transferdomain_locationnameregistrationmoneyauthorizationcode_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java similarity index 89% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java index bbc55f7c..fe8c8be9 100644 --- a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java @@ -16,8 +16,7 @@ package com.google.cloud.domains.v1beta1.samples; -// [START -// domains_v1beta1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] +// [START domains_v1beta1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] import com.google.cloud.domains.v1beta1.AuthorizationCode; import com.google.cloud.domains.v1beta1.DomainsClient; import com.google.cloud.domains.v1beta1.LocationName; @@ -45,5 +44,4 @@ public static void syncTransferDomainStringRegistrationMoneyAuthorizationcode() } } } -// [END -// domains_v1beta1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] +// [END domains_v1beta1_generated_domainsclient_transferdomain_stringregistrationmoneyauthorizationcode_sync] diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistration.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistration.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistration.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistration.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistration.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistration.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainssettings/searchdomains/SyncSearchDomains.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainssettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/domainssettings/searchdomains/SyncSearchDomains.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainssettings/searchdomains/SyncSearchDomains.java diff --git a/samples/snippets/generated/com/google/cloud/domains/v1beta1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/domains/v1beta1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java rename to owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java deleted file mode 100644 index 334012bf..00000000 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public interface DeleteRegistrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DeleteRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java deleted file mode 100644 index 89d2c3e1..00000000 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java +++ /dev/null @@ -1,793 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public final class DomainsProto { - private DomainsProto() {} - - 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_domains_v1_Registration_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_Registration_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DnsSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ContactSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_TransferParameters_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_OperationMetadata_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/domains/v1/domains.proto\022" - + "\027google.cloud.domains.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/longrunning/" - + "operations.proto\032 google/protobuf/field_" - + "mask.proto\032\037google/protobuf/timestamp.pr" - + "oto\032\027google/type/money.proto\032 google/typ" - + "e/postal_address.proto\"\353\010\n\014Registration\022" - + "\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain_name\030\002 \001(\tB" - + "\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\0224\n\013expire_time\030\006 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022?\n\005s" - + "tate\030\007 \001(\0162+.google.cloud.domains.v1.Reg" - + "istration.StateB\003\340A\003\022@\n\006issues\030\010 \003(\0162+.g" - + "oogle.cloud.domains.v1.Registration.Issu" - + "eB\003\340A\003\022A\n\006labels\030\t \003(\01321.google.cloud.do" - + "mains.v1.Registration.LabelsEntry\022H\n\023man" - + "agement_settings\030\n \001(\0132+.google.cloud.do" - + "mains.v1.ManagementSettings\022:\n\014dns_setti" - + "ngs\030\013 \001(\0132$.google.cloud.domains.v1.DnsS" - + "ettings\022G\n\020contact_settings\030\014 \001(\0132(.goog" - + "le.cloud.domains.v1.ContactSettingsB\003\340A\002" - + "\022O\n\030pending_contact_settings\030\r \001(\0132(.goo" - + "gle.cloud.domains.v1.ContactSettingsB\003\340A" - + "\003\022G\n\021supported_privacy\030\016 \003(\0162\'.google.cl" - + "oud.domains.v1.ContactPrivacyB\003\340A\003\032-\n\013La" - + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001\"\245\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\030\n\024RE" - + "GISTRATION_PENDING\020\001\022\027\n\023REGISTRATION_FAI" - + "LED\020\002\022\024\n\020TRANSFER_PENDING\020\003\022\023\n\017TRANSFER_" - + "FAILED\020\004\022\n\n\006ACTIVE\020\006\022\r\n\tSUSPENDED\020\007\022\014\n\010E" - + "XPORTED\020\010\"I\n\005Issue\022\025\n\021ISSUE_UNSPECIFIED\020" - + "\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVERIFIED_EMA" - + "IL\020\002:n\352Ak\n#domains.googleapis.com/Regist" - + "ration\022Dprojects/{project}/locations/{lo" - + "cation}/registrations/{registration}\"\221\002\n" - + "\022ManagementSettings\022V\n\016renewal_method\030\003 " - + "\001(\01629.google.cloud.domains.v1.Management" - + "Settings.RenewalMethodB\003\340A\003\022G\n\023transfer_" - + "lock_state\030\004 \001(\0162*.google.cloud.domains." - + "v1.TransferLockState\"Z\n\rRenewalMethod\022\036\n" - + "\032RENEWAL_METHOD_UNSPECIFIED\020\000\022\025\n\021AUTOMAT" - + "IC_RENEWAL\020\001\022\022\n\016MANUAL_RENEWAL\020\002\"\236\n\n\013Dns" - + "Settings\022D\n\ncustom_dns\030\001 \001(\0132..google.cl" - + "oud.domains.v1.DnsSettings.CustomDnsH\000\022S" - + "\n\022google_domains_dns\030\002 \001(\01325.google.clou" - + "d.domains.v1.DnsSettings.GoogleDomainsDn" - + "sH\000\022E\n\014glue_records\030\004 \003(\0132/.google.cloud" - + ".domains.v1.DnsSettings.GlueRecord\032i\n\tCu" - + "stomDns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\002\022A\n\nds" - + "_records\030\002 \003(\0132-.google.cloud.domains.v1" - + ".DnsSettings.DsRecord\032\272\001\n\020GoogleDomainsD" - + "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\003\022C\n\010ds_stat" - + "e\030\002 \001(\0162,.google.cloud.domains.v1.DnsSet" - + "tings.DsStateB\003\340A\002\022F\n\nds_records\030\003 \003(\0132-" - + ".google.cloud.domains.v1.DnsSettings.DsR" - + "ecordB\003\340A\003\032\303\004\n\010DsRecord\022\017\n\007key_tag\030\001 \001(\005" - + "\022J\n\talgorithm\030\002 \001(\01627.google.cloud.domai" - + "ns.v1.DnsSettings.DsRecord.Algorithm\022M\n\013" - + "digest_type\030\003 \001(\01628.google.cloud.domains" - + ".v1.DnsSettings.DsRecord.DigestType\022\016\n\006d" - + "igest\030\004 \001(\t\"\237\002\n\tAlgorithm\022\031\n\025ALGORITHM_U" - + "NSPECIFIED\020\000\022\n\n\006RSAMD5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020" - + "\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA1\020\005\022\020\n\014DSANSEC3SHA1\020" - + "\006\022\024\n\020RSASHA1NSEC3SHA1\020\007\022\r\n\tRSASHA256\020\010\022\r" - + "\n\tRSASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256S" - + "HA256\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020" - + "\017\022\t\n\005ED448\020\020\022\r\n\010INDIRECT\020\374\001\022\017\n\nPRIVATEDN" - + "S\020\375\001\022\017\n\nPRIVATEOID\020\376\001\"Y\n\nDigestType\022\033\n\027D" - + "IGEST_TYPE_UNSPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SH" - + "A256\020\002\022\014\n\010GOST3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlue" - + "Record\022\026\n\thost_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_a" - + "ddresses\030\002 \003(\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y" - + "\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED\020\000\022\032\n\026D" - + "S_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_RECORDS_PU" - + "BLISHED\020\002B\016\n\014dns_provider\"\313\003\n\017ContactSet" - + "tings\022=\n\007privacy\030\001 \001(\0162\'.google.cloud.do" - + "mains.v1.ContactPrivacyB\003\340A\002\022Q\n\022registra" - + "nt_contact\030\002 \001(\01320.google.cloud.domains." - + "v1.ContactSettings.ContactB\003\340A\002\022L\n\radmin" - + "_contact\030\003 \001(\01320.google.cloud.domains.v1" - + ".ContactSettings.ContactB\003\340A\002\022P\n\021technic" - + "al_contact\030\004 \001(\01320.google.cloud.domains." - + "v1.ContactSettings.ContactB\003\340A\002\032\205\001\n\007Cont" - + "act\0227\n\016postal_address\030\001 \001(\0132\032.google.typ" - + "e.PostalAddressB\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002" - + "\022\031\n\014phone_number\030\003 \001(\tB\003\340A\002\022\022\n\nfax_numbe" - + "r\030\004 \001(\t\"g\n\024SearchDomainsRequest\022\022\n\005query" - + "\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!l" - + "ocations.googleapis.com/Location\"a\n\025Sear" - + "chDomainsResponse\022H\n\023register_parameters" - + "\030\001 \003(\0132+.google.cloud.domains.v1.Registe" - + "rParameters\"z\n!RetrieveRegisterParameter" - + "sRequest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010lo" - + "cation\030\002 \001(\tB)\340A\002\372A#\n!locations.googleap" - + "is.com/Location\"n\n\"RetrieveRegisterParam" - + "etersResponse\022H\n\023register_parameters\030\001 \001" - + "(\0132+.google.cloud.domains.v1.RegisterPar" - + "ameters\"\332\002\n\025RegisterDomainRequest\0229\n\006par" - + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." - + "com/Location\022@\n\014registration\030\002 \001(\0132%.goo" - + "gle.cloud.domains.v1.RegistrationB\003\340A\002\022=" - + "\n\016domain_notices\030\003 \003(\0162%.google.cloud.do" - + "mains.v1.DomainNotice\022?\n\017contact_notices" - + "\030\004 \003(\0162&.google.cloud.domains.v1.Contact" - + "Notice\022-\n\014yearly_price\030\005 \001(\0132\022.google.ty" - + "pe.MoneyB\003\340A\002\022\025\n\rvalidate_only\030\006 \001(\010\"z\n!" - + "RetrieveTransferParametersRequest\022\030\n\013dom" - + "ain_name\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340" - + "A\002\372A#\n!locations.googleapis.com/Location" - + "\"n\n\"RetrieveTransferParametersResponse\022H" - + "\n\023transfer_parameters\030\001 \001(\0132+.google.clo" - + "ud.domains.v1.TransferParameters\"\343\002\n\025Tra" - + "nsferDomainRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372" - + "A#\n!locations.googleapis.com/Location\022@\n" - + "\014registration\030\002 \001(\0132%.google.cloud.domai" - + "ns.v1.RegistrationB\003\340A\002\022?\n\017contact_notic" - + "es\030\003 \003(\0162&.google.cloud.domains.v1.Conta" - + "ctNotice\022-\n\014yearly_price\030\004 \001(\0132\022.google." - + "type.MoneyB\003\340A\002\022F\n\022authorization_code\030\005 " - + "\001(\0132*.google.cloud.domains.v1.Authorizat" - + "ionCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030ListR" - + "egistrationsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" - + "\372A#\n!locations.googleapis.com/Location\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\"r\n\031ListRegistrationsRespon" - + "se\022<\n\rregistrations\030\001 \003(\0132%.google.cloud" - + ".domains.v1.Registration\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"S\n\026GetRegistrationRequest\0229\n\004n" - + "ame\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.co" - + "m/Registration\"\216\001\n\031UpdateRegistrationReq" - + "uest\022;\n\014registration\030\001 \001(\0132%.google.clou" - + "d.domains.v1.Registration\0224\n\013update_mask" - + "\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"" - + "\347\001\n\"ConfigureManagementSettingsRequest\022A" - + "\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.go" - + "ogleapis.com/Registration\022H\n\023management_" - + "settings\030\002 \001(\0132+.google.cloud.domains.v1" - + ".ManagementSettings\0224\n\013update_mask\030\003 \001(\013" - + "2\032.google.protobuf.FieldMaskB\003\340A\002\"\351\001\n\033Co" - + "nfigureDnsSettingsRequest\022A\n\014registratio" - + "n\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com/" - + "Registration\022:\n\014dns_settings\030\002 \001(\0132$.goo" - + "gle.cloud.domains.v1.DnsSettings\0224\n\013upda" - + "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas" - + "kB\003\340A\002\022\025\n\rvalidate_only\030\004 \001(\010\"\266\002\n\037Config" - + "ureContactSettingsRequest\022A\n\014registratio" - + "n\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com/" - + "Registration\022B\n\020contact_settings\030\002 \001(\0132(" - + ".google.cloud.domains.v1.ContactSettings" - + "\0224\n\013update_mask\030\003 \001(\0132\032.google.protobuf." - + "FieldMaskB\003\340A\002\022?\n\017contact_notices\030\004 \003(\0162" - + "&.google.cloud.domains.v1.ContactNotice\022" - + "\025\n\rvalidate_only\030\005 \001(\010\"V\n\031ExportRegistra" - + "tionRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domai" - + "ns.googleapis.com/Registration\"V\n\031Delete" - + "RegistrationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A" - + "%\n#domains.googleapis.com/Registration\"e" - + "\n RetrieveAuthorizationCodeRequest\022A\n\014re" - + "gistration\030\001 \001(\tB+\340A\002\372A%\n#domains.google" - + "apis.com/Registration\"b\n\035ResetAuthorizat" - + "ionCodeRequest\022A\n\014registration\030\001 \001(\tB+\340A" - + "\002\372A%\n#domains.googleapis.com/Registratio" - + "n\"\222\003\n\022RegisterParameters\022\023\n\013domain_name\030" - + "\001 \001(\t\022N\n\014availability\030\002 \001(\01628.google.clo" - + "ud.domains.v1.RegisterParameters.Availab" - + "ility\022B\n\021supported_privacy\030\003 \003(\0162\'.googl" - + "e.cloud.domains.v1.ContactPrivacy\022=\n\016dom" - + "ain_notices\030\004 \003(\0162%.google.cloud.domains" - + ".v1.DomainNotice\022(\n\014yearly_price\030\005 \001(\0132\022" - + ".google.type.Money\"j\n\014Availability\022\034\n\030AV" - + "AILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE\020\001\022" - + "\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007UNK" - + "NOWN\020\004\"\221\002\n\022TransferParameters\022\023\n\013domain_" - + "name\030\001 \001(\t\022\031\n\021current_registrar\030\002 \001(\t\022\024\n" - + "\014name_servers\030\003 \003(\t\022G\n\023transfer_lock_sta" - + "te\030\004 \001(\0162*.google.cloud.domains.v1.Trans" - + "ferLockState\022B\n\021supported_privacy\030\005 \003(\0162" - + "\'.google.cloud.domains.v1.ContactPrivacy" - + "\022(\n\014yearly_price\030\006 \001(\0132\022.google.type.Mon" - + "ey\"!\n\021AuthorizationCode\022\014\n\004code\030\001 \001(\t\"\274\001" - + "\n\021OperationMetadata\022/\n\013create_time\030\001 \001(\013" - + "2\032.google.protobuf.Timestamp\022,\n\010end_time" - + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006ta" - + "rget\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detai" - + "l\030\005 \001(\t\022\023\n\013api_version\030\006 \001(\t*\177\n\016ContactP" - + "rivacy\022\037\n\033CONTACT_PRIVACY_UNSPECIFIED\020\000\022" - + "\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVATE_CONT" - + "ACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DATA\020\003*A\n" - + "\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UNSPECIFI" - + "ED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rContactNotic" - + "e\022\036\n\032CONTACT_NOTICE_UNSPECIFIED\020\000\022\'\n#PUB" - + "LIC_CONTACT_DATA_ACKNOWLEDGEMENT\020\001*R\n\021Tr" - + "ansferLockState\022#\n\037TRANSFER_LOCK_STATE_U" - + "NSPECIFIED\020\000\022\014\n\010UNLOCKED\020\001\022\n\n\006LOCKED\020\0022\221" - + "\035\n\007Domains\022\312\001\n\rSearchDomains\022-.google.cl" - + "oud.domains.v1.SearchDomainsRequest\032..go" - + "ogle.cloud.domains.v1.SearchDomainsRespo" - + "nse\"Z\202\323\344\223\002C\022A/v1/{location=projects/*/lo" - + "cations/*}/registrations:searchDomains\332A" - + "\016location,query\022\204\002\n\032RetrieveRegisterPara" - + "meters\022:.google.cloud.domains.v1.Retriev" - + "eRegisterParametersRequest\032;.google.clou" - + "d.domains.v1.RetrieveRegisterParametersR" - + "esponse\"m\202\323\344\223\002P\022N/v1/{location=projects/" - + "*/locations/*}/registrations:retrieveReg" - + "isterParameters\332A\024location,domain_name\022\356" - + "\001\n\016RegisterDomain\022..google.cloud.domains" - + ".v1.RegisterDomainRequest\032\035.google.longr" - + "unning.Operation\"\214\001\202\323\344\223\002?\":/v1/{parent=p" - + "rojects/*/locations/*}/registrations:reg" - + "ister:\001*\332A parent,registration,yearly_pr" - + "ice\312A!\n\014Registration\022\021OperationMetadata\022" - + "\204\002\n\032RetrieveTransferParameters\022:.google." - + "cloud.domains.v1.RetrieveTransferParamet" - + "ersRequest\032;.google.cloud.domains.v1.Ret" - + "rieveTransferParametersResponse\"m\202\323\344\223\002P\022" - + "N/v1/{location=projects/*/locations/*}/r" - + "egistrations:retrieveTransferParameters\332" - + "A\024location,domain_name\022\201\002\n\016TransferDomai" - + "n\022..google.cloud.domains.v1.TransferDoma" - + "inRequest\032\035.google.longrunning.Operation" - + "\"\237\001\202\323\344\223\002?\":/v1/{parent=projects/*/locati" - + "ons/*}/registrations:transfer:\001*\332A3paren" - + "t,registration,yearly_price,authorizatio" - + "n_code\312A!\n\014Registration\022\021OperationMetada" - + "ta\022\276\001\n\021ListRegistrations\0221.google.cloud." - + "domains.v1.ListRegistrationsRequest\0322.go" - + "ogle.cloud.domains.v1.ListRegistrationsR" - + "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" - + "locations/*}/registrations\332A\006parent\022\253\001\n\017" - + "GetRegistration\022/.google.cloud.domains.v" - + "1.GetRegistrationRequest\032%.google.cloud." - + "domains.v1.Registration\"@\202\323\344\223\0023\0221/v1/{na" - + "me=projects/*/locations/*/registrations/" - + "*}\332A\004name\022\375\001\n\022UpdateRegistration\0222.googl" - + "e.cloud.domains.v1.UpdateRegistrationReq" - + "uest\032\035.google.longrunning.Operation\"\223\001\202\323" - + "\344\223\002N2>/v1/{registration.name=projects/*/" - + "locations/*/registrations/*}:\014registrati" - + "on\332A\030registration,update_mask\312A!\n\014Regist" - + "ration\022\021OperationMetadata\022\257\002\n\033ConfigureM" - + "anagementSettings\022;.google.cloud.domains" - + ".v1.ConfigureManagementSettingsRequest\032\035" - + ".google.longrunning.Operation\"\263\001\202\323\344\223\002Z\"U" - + "/v1/{registration=projects/*/locations/*" - + "/registrations/*}:configureManagementSet" - + "tings:\001*\332A,registration,management_setti" - + "ngs,update_mask\312A!\n\014Registration\022\021Operat" - + "ionMetadata\022\223\002\n\024ConfigureDnsSettings\0224.g" - + "oogle.cloud.domains.v1.ConfigureDnsSetti" - + "ngsRequest\032\035.google.longrunning.Operatio" - + "n\"\245\001\202\323\344\223\002S\"N/v1/{registration=projects/*" - + "/locations/*/registrations/*}:configureD" - + "nsSettings:\001*\332A%registration,dns_setting" - + "s,update_mask\312A!\n\014Registration\022\021Operatio" - + "nMetadata\022\243\002\n\030ConfigureContactSettings\0228" - + ".google.cloud.domains.v1.ConfigureContac" - + "tSettingsRequest\032\035.google.longrunning.Op" - + "eration\"\255\001\202\323\344\223\002W\"R/v1/{registration=proj" - + "ects/*/locations/*/registrations/*}:conf" - + "igureContactSettings:\001*\332A)registration,c" - + "ontact_settings,update_mask\312A!\n\014Registra" - + "tion\022\021OperationMetadata\022\327\001\n\022ExportRegist" - + "ration\0222.google.cloud.domains.v1.ExportR" - + "egistrationRequest\032\035.google.longrunning." - + "Operation\"n\202\323\344\223\002=\"8/v1/{name=projects/*/" - + "locations/*/registrations/*}:export:\001*\332A" - + "\004name\312A!\n\014Registration\022\021OperationMetadat" - + "a\022\326\001\n\022DeleteRegistration\0222.google.cloud." - + "domains.v1.DeleteRegistrationRequest\032\035.g" - + "oogle.longrunning.Operation\"m\202\323\344\223\0023*1/v1" - + "/{name=projects/*/locations/*/registrati" - + "ons/*}\332A\004name\312A*\n\025google.protobuf.Empty\022" - + "\021OperationMetadata\022\356\001\n\031RetrieveAuthoriza" - + "tionCode\0229.google.cloud.domains.v1.Retri" - + "eveAuthorizationCodeRequest\032*.google.clo" - + "ud.domains.v1.AuthorizationCode\"j\202\323\344\223\002U\022" - + "S/v1/{registration=projects/*/locations/" - + "*/registrations/*}:retrieveAuthorization" - + "Code\332A\014registration\022\350\001\n\026ResetAuthorizati" - + "onCode\0226.google.cloud.domains.v1.ResetAu" - + "thorizationCodeRequest\032*.google.cloud.do" - + "mains.v1.AuthorizationCode\"j\202\323\344\223\002U\"P/v1/" - + "{registration=projects/*/locations/*/reg" - + "istrations/*}:resetAuthorizationCode:\001*\332" - + "A\014registration\032J\312A\026domains.googleapis.co" - + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformBm\n\033com.google.cloud.domains.v" - + "1B\014DomainsProtoP\001Z>google.golang.org/gen" - + "proto/googleapis/cloud/domains/v1;domain" - + "sb\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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_domains_v1_Registration_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_Registration_descriptor, - new java.lang.String[] { - "Name", - "DomainName", - "CreateTime", - "ExpireTime", - "State", - "Issues", - "Labels", - "ManagementSettings", - "DnsSettings", - "ContactSettings", - "PendingContactSettings", - "SupportedPrivacy", - }); - internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor = - internal_static_google_cloud_domains_v1_Registration_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1_Registration_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_domains_v1_ManagementSettings_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ManagementSettings_descriptor, - new java.lang.String[] { - "RenewalMethod", "TransferLockState", - }); - internal_static_google_cloud_domains_v1_DnsSettings_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DnsSettings_descriptor, - new java.lang.String[] { - "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider", - }); - internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor = - internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor, - new java.lang.String[] { - "NameServers", "DsRecords", - }); - internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor = - internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor, - new java.lang.String[] { - "NameServers", "DsState", "DsRecords", - }); - internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor = - internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor, - new java.lang.String[] { - "KeyTag", "Algorithm", "DigestType", "Digest", - }); - internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor = - internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor, - new java.lang.String[] { - "HostName", "Ipv4Addresses", "Ipv6Addresses", - }); - internal_static_google_cloud_domains_v1_ContactSettings_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ContactSettings_descriptor, - new java.lang.String[] { - "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact", - }); - internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor = - internal_static_google_cloud_domains_v1_ContactSettings_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor, - new java.lang.String[] { - "PostalAddress", "Email", "PhoneNumber", "FaxNumber", - }); - internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor, - new java.lang.String[] { - "Query", "Location", - }); - internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor, - new java.lang.String[] { - "RegisterParameters", - }); - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor, - new java.lang.String[] { - "DomainName", "Location", - }); - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor, - new java.lang.String[] { - "RegisterParameters", - }); - internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor, - new java.lang.String[] { - "Parent", - "Registration", - "DomainNotices", - "ContactNotices", - "YearlyPrice", - "ValidateOnly", - }); - internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor, - new java.lang.String[] { - "DomainName", "Location", - }); - internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor, - new java.lang.String[] { - "TransferParameters", - }); - internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor, - new java.lang.String[] { - "Parent", - "Registration", - "ContactNotices", - "YearlyPrice", - "AuthorizationCode", - "ValidateOnly", - }); - internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor, - new java.lang.String[] { - "Registrations", "NextPageToken", - }); - internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor, - new java.lang.String[] { - "Registration", "UpdateMask", - }); - internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor, - new java.lang.String[] { - "Registration", "ManagementSettings", "UpdateMask", - }); - internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor, - new java.lang.String[] { - "Registration", "DnsSettings", "UpdateMask", "ValidateOnly", - }); - internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor, - new java.lang.String[] { - "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly", - }); - internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor, - new java.lang.String[] { - "Registration", - }); - internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor, - new java.lang.String[] { - "Registration", - }); - internal_static_google_cloud_domains_v1_RegisterParameters_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RegisterParameters_descriptor, - new java.lang.String[] { - "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice", - }); - internal_static_google_cloud_domains_v1_TransferParameters_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_TransferParameters_descriptor, - new java.lang.String[] { - "DomainName", - "CurrentRegistrar", - "NameServers", - "TransferLockState", - "SupportedPrivacy", - "YearlyPrice", - }); - internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor, - new java.lang.String[] { - "Code", - }); - internal_static_google_cloud_domains_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_OperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java deleted file mode 100644 index 329fc841..00000000 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public interface ExportRegistrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ExportRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java deleted file mode 100644 index f71746ab..00000000 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public interface GetRegistrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.GetRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index ff07567e..00000000 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public interface ResetAuthorizationCodeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ResetAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The registration. - */ - java.lang.String getRegistration(); - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for registration. - */ - com.google.protobuf.ByteString getRegistrationBytes(); -} diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index 81f7d878..00000000 --- a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public interface RetrieveAuthorizationCodeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The registration. - */ - java.lang.String getRegistration(); - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for registration. - */ - com.google.protobuf.ByteString getRegistrationBytes(); -} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java deleted file mode 100644 index 8b2892a3..00000000 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public interface DeleteRegistrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java deleted file mode 100644 index 951dc21b..00000000 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java +++ /dev/null @@ -1,817 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public final class DomainsProto { - private DomainsProto() {} - - 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_domains_v1alpha2_Registration_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_OperationMetadata_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/domains/v1alpha2/domains." - + "proto\022\035google.cloud.domains.v1alpha2\032\034go" - + "ogle/api/annotations.proto\032\027google/api/c" - + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032#google/" - + "longrunning/operations.proto\032 google/pro" - + "tobuf/field_mask.proto\032\037google/protobuf/" - + "timestamp.proto\032\027google/type/money.proto" - + "\032 google/type/postal_address.proto\"\233\t\n\014R" - + "egistration\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain" - + "_name\030\002 \001(\tB\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013exp" - + "ire_time\030\006 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\022E\n\005state\030\007 \001(\01621.google.cloud.do" - + "mains.v1alpha2.Registration.StateB\003\340A\003\022F" - + "\n\006issues\030\010 \003(\01621.google.cloud.domains.v1" - + "alpha2.Registration.IssueB\003\340A\003\022G\n\006labels" - + "\030\t \003(\01327.google.cloud.domains.v1alpha2.R" - + "egistration.LabelsEntry\022N\n\023management_se" - + "ttings\030\n \001(\01321.google.cloud.domains.v1al" - + "pha2.ManagementSettings\022@\n\014dns_settings\030" - + "\013 \001(\0132*.google.cloud.domains.v1alpha2.Dn" - + "sSettings\022M\n\020contact_settings\030\014 \001(\0132..go" - + "ogle.cloud.domains.v1alpha2.ContactSetti" - + "ngsB\003\340A\002\022U\n\030pending_contact_settings\030\r \001" - + "(\0132..google.cloud.domains.v1alpha2.Conta" - + "ctSettingsB\003\340A\003\022M\n\021supported_privacy\030\016 \003" - + "(\0162-.google.cloud.domains.v1alpha2.Conta" - + "ctPrivacyB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\245\001\n\005State\022\025\n\021STATE" - + "_UNSPECIFIED\020\000\022\030\n\024REGISTRATION_PENDING\020\001" - + "\022\027\n\023REGISTRATION_FAILED\020\002\022\024\n\020TRANSFER_PE" - + "NDING\020\003\022\023\n\017TRANSFER_FAILED\020\004\022\n\n\006ACTIVE\020\006" - + "\022\r\n\tSUSPENDED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025" - + "\n\021ISSUE_UNSPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT" - + "\020\001\022\024\n\020UNVERIFIED_EMAIL\020\002:n\352Ak\n#domains.g" - + "oogleapis.com/Registration\022Dprojects/{pr" - + "oject}/locations/{location}/registration" - + "s/{registration}\"\235\002\n\022ManagementSettings\022" - + "\\\n\016renewal_method\030\003 \001(\0162?.google.cloud.d" - + "omains.v1alpha2.ManagementSettings.Renew" - + "alMethodB\003\340A\003\022M\n\023transfer_lock_state\030\004 \001" - + "(\01620.google.cloud.domains.v1alpha2.Trans" - + "ferLockState\"Z\n\rRenewalMethod\022\036\n\032RENEWAL" - + "_METHOD_UNSPECIFIED\020\000\022\025\n\021AUTOMATIC_RENEW" - + "AL\020\001\022\022\n\016MANUAL_RENEWAL\020\002\"\316\n\n\013DnsSettings" - + "\022J\n\ncustom_dns\030\001 \001(\01324.google.cloud.doma" - + "ins.v1alpha2.DnsSettings.CustomDnsH\000\022Y\n\022" - + "google_domains_dns\030\002 \001(\0132;.google.cloud." - + "domains.v1alpha2.DnsSettings.GoogleDomai" - + "nsDnsH\000\022K\n\014glue_records\030\004 \003(\01325.google.c" - + "loud.domains.v1alpha2.DnsSettings.GlueRe" - + "cord\032o\n\tCustomDns\022\031\n\014name_servers\030\001 \003(\tB" - + "\003\340A\002\022G\n\nds_records\030\002 \003(\01323.google.cloud." - + "domains.v1alpha2.DnsSettings.DsRecord\032\306\001" - + "\n\020GoogleDomainsDns\022\031\n\014name_servers\030\001 \003(\t" - + "B\003\340A\003\022I\n\010ds_state\030\002 \001(\01622.google.cloud.d" - + "omains.v1alpha2.DnsSettings.DsStateB\003\340A\002" - + "\022L\n\nds_records\030\003 \003(\01323.google.cloud.doma" - + "ins.v1alpha2.DnsSettings.DsRecordB\003\340A\003\032\317" - + "\004\n\010DsRecord\022\017\n\007key_tag\030\001 \001(\005\022P\n\talgorith" - + "m\030\002 \001(\0162=.google.cloud.domains.v1alpha2." - + "DnsSettings.DsRecord.Algorithm\022S\n\013digest" - + "_type\030\003 \001(\0162>.google.cloud.domains.v1alp" - + "ha2.DnsSettings.DsRecord.DigestType\022\016\n\006d" - + "igest\030\004 \001(\t\"\237\002\n\tAlgorithm\022\031\n\025ALGORITHM_U" - + "NSPECIFIED\020\000\022\n\n\006RSAMD5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020" - + "\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA1\020\005\022\020\n\014DSANSEC3SHA1\020" - + "\006\022\024\n\020RSASHA1NSEC3SHA1\020\007\022\r\n\tRSASHA256\020\010\022\r" - + "\n\tRSASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256S" - + "HA256\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020" - + "\017\022\t\n\005ED448\020\020\022\r\n\010INDIRECT\020\374\001\022\017\n\nPRIVATEDN" - + "S\020\375\001\022\017\n\nPRIVATEOID\020\376\001\"Y\n\nDigestType\022\033\n\027D" - + "IGEST_TYPE_UNSPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SH" - + "A256\020\002\022\014\n\010GOST3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlue" - + "Record\022\026\n\thost_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_a" - + "ddresses\030\002 \003(\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y" - + "\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED\020\000\022\032\n\026D" - + "S_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_RECORDS_PU" - + "BLISHED\020\002B\016\n\014dns_provider\"\343\003\n\017ContactSet" - + "tings\022C\n\007privacy\030\001 \001(\0162-.google.cloud.do" - + "mains.v1alpha2.ContactPrivacyB\003\340A\002\022W\n\022re" - + "gistrant_contact\030\002 \001(\01326.google.cloud.do" - + "mains.v1alpha2.ContactSettings.ContactB\003" - + "\340A\002\022R\n\radmin_contact\030\003 \001(\01326.google.clou" - + "d.domains.v1alpha2.ContactSettings.Conta" - + "ctB\003\340A\002\022V\n\021technical_contact\030\004 \001(\01326.goo" - + "gle.cloud.domains.v1alpha2.ContactSettin" - + "gs.ContactB\003\340A\002\032\205\001\n\007Contact\0227\n\016postal_ad" - + "dress\030\001 \001(\0132\032.google.type.PostalAddressB" - + "\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002\022\031\n\014phone_number" - + "\030\003 \001(\tB\003\340A\002\022\022\n\nfax_number\030\004 \001(\t\"g\n\024Searc" - + "hDomainsRequest\022\022\n\005query\030\001 \001(\tB\003\340A\002\022;\n\010l" - + "ocation\030\002 \001(\tB)\340A\002\372A#\n!locations.googlea" - + "pis.com/Location\"g\n\025SearchDomainsRespons" - + "e\022N\n\023register_parameters\030\001 \003(\01321.google." - + "cloud.domains.v1alpha2.RegisterParameter" - + "s\"z\n!RetrieveRegisterParametersRequest\022\030" - + "\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001" - + "(\tB)\340A\002\372A#\n!locations.googleapis.com/Loc" - + "ation\"t\n\"RetrieveRegisterParametersRespo" - + "nse\022N\n\023register_parameters\030\001 \001(\01321.googl" - + "e.cloud.domains.v1alpha2.RegisterParamet" - + "ers\"\354\002\n\025RegisterDomainRequest\0229\n\006parent\030" - + "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/" - + "Location\022F\n\014registration\030\002 \001(\0132+.google." - + "cloud.domains.v1alpha2.RegistrationB\003\340A\002" - + "\022C\n\016domain_notices\030\003 \003(\0162+.google.cloud." - + "domains.v1alpha2.DomainNotice\022E\n\017contact" - + "_notices\030\004 \003(\0162,.google.cloud.domains.v1" - + "alpha2.ContactNotice\022-\n\014yearly_price\030\005 \001" - + "(\0132\022.google.type.MoneyB\003\340A\002\022\025\n\rvalidate_" - + "only\030\006 \001(\010\"z\n!RetrieveTransferParameters" - + "Request\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010loc" - + "ation\030\002 \001(\tB)\340A\002\372A#\n!locations.googleapi" - + "s.com/Location\"t\n\"RetrieveTransferParame" - + "tersResponse\022N\n\023transfer_parameters\030\001 \001(" - + "\01321.google.cloud.domains.v1alpha2.Transf" - + "erParameters\"\365\002\n\025TransferDomainRequest\0229" - + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.google" - + "apis.com/Location\022F\n\014registration\030\002 \001(\0132" - + "+.google.cloud.domains.v1alpha2.Registra" - + "tionB\003\340A\002\022E\n\017contact_notices\030\003 \003(\0162,.goo" - + "gle.cloud.domains.v1alpha2.ContactNotice" - + "\022-\n\014yearly_price\030\004 \001(\0132\022.google.type.Mon" - + "eyB\003\340A\002\022L\n\022authorization_code\030\005 \001(\01320.go" - + "ogle.cloud.domains.v1alpha2.Authorizatio" - + "nCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030ListReg" - + "istrationsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" - + "#\n!locations.googleapis.com/Location\022\021\n\t" - + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" - + "ilter\030\004 \001(\t\"x\n\031ListRegistrationsResponse" - + "\022B\n\rregistrations\030\001 \003(\0132+.google.cloud.d" - + "omains.v1alpha2.Registration\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"S\n\026GetRegistrationRequest\022" - + "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapi" - + "s.com/Registration\"\224\001\n\031UpdateRegistratio" - + "nRequest\022A\n\014registration\030\001 \001(\0132+.google." - + "cloud.domains.v1alpha2.Registration\0224\n\013u" - + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" - + "MaskB\003\340A\002\"\355\001\n\"ConfigureManagementSetting" - + "sRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#" - + "domains.googleapis.com/Registration\022N\n\023m" - + "anagement_settings\030\002 \001(\01321.google.cloud." - + "domains.v1alpha2.ManagementSettings\0224\n\013u" - + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" - + "MaskB\003\340A\002\"\357\001\n\033ConfigureDnsSettingsReques" - + "t\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains" - + ".googleapis.com/Registration\022@\n\014dns_sett" - + "ings\030\002 \001(\0132*.google.cloud.domains.v1alph" - + "a2.DnsSettings\0224\n\013update_mask\030\003 \001(\0132\032.go" - + "ogle.protobuf.FieldMaskB\003\340A\002\022\025\n\rvalidate" - + "_only\030\004 \001(\010\"\302\002\n\037ConfigureContactSettings" - + "Request\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#d" - + "omains.googleapis.com/Registration\022H\n\020co" - + "ntact_settings\030\002 \001(\0132..google.cloud.doma" - + "ins.v1alpha2.ContactSettings\0224\n\013update_m" - + "ask\030\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340" - + "A\002\022E\n\017contact_notices\030\004 \003(\0162,.google.clo" - + "ud.domains.v1alpha2.ContactNotice\022\025\n\rval" - + "idate_only\030\005 \001(\010\"V\n\031ExportRegistrationRe" - + "quest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" - + "gleapis.com/Registration\"V\n\031DeleteRegist" - + "rationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#dom" - + "ains.googleapis.com/Registration\"e\n Retr" - + "ieveAuthorizationCodeRequest\022A\n\014registra" - + "tion\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.c" - + "om/Registration\"b\n\035ResetAuthorizationCod" - + "eRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#" - + "domains.googleapis.com/Registration\"\244\003\n\022" - + "RegisterParameters\022\023\n\013domain_name\030\001 \001(\t\022" - + "T\n\014availability\030\002 \001(\0162>.google.cloud.dom" - + "ains.v1alpha2.RegisterParameters.Availab" - + "ility\022H\n\021supported_privacy\030\003 \003(\0162-.googl" - + "e.cloud.domains.v1alpha2.ContactPrivacy\022" - + "C\n\016domain_notices\030\004 \003(\0162+.google.cloud.d" - + "omains.v1alpha2.DomainNotice\022(\n\014yearly_p" - + "rice\030\005 \001(\0132\022.google.type.Money\"j\n\014Availa" - + "bility\022\034\n\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\t" - + "AVAILABLE\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPOR" - + "TED\020\003\022\013\n\007UNKNOWN\020\004\"\235\002\n\022TransferParameter" - + "s\022\023\n\013domain_name\030\001 \001(\t\022\031\n\021current_regist" - + "rar\030\002 \001(\t\022\024\n\014name_servers\030\003 \003(\t\022M\n\023trans" - + "fer_lock_state\030\004 \001(\01620.google.cloud.doma" - + "ins.v1alpha2.TransferLockState\022H\n\021suppor" - + "ted_privacy\030\005 \003(\0162-.google.cloud.domains" - + ".v1alpha2.ContactPrivacy\022(\n\014yearly_price" - + "\030\006 \001(\0132\022.google.type.Money\"!\n\021Authorizat" - + "ionCode\022\014\n\004code\030\001 \001(\t\"\274\001\n\021OperationMetad" - + "ata\022/\n\013create_time\030\001 \001(\0132\032.google.protob" - + "uf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google." - + "protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004ve" - + "rb\030\004 \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\023\n\013api_v" - + "ersion\030\006 \001(\t*\177\n\016ContactPrivacy\022\037\n\033CONTAC" - + "T_PRIVACY_UNSPECIFIED\020\000\022\027\n\023PUBLIC_CONTAC" - + "T_DATA\020\001\022\030\n\024PRIVATE_CONTACT_DATA\020\002\022\031\n\025RE" - + "DACTED_CONTACT_DATA\020\003*A\n\014DomainNotice\022\035\n" - + "\031DOMAIN_NOTICE_UNSPECIFIED\020\000\022\022\n\016HSTS_PRE" - + "LOADED\020\001*X\n\rContactNotice\022\036\n\032CONTACT_NOT" - + "ICE_UNSPECIFIED\020\000\022\'\n#PUBLIC_CONTACT_DATA" - + "_ACKNOWLEDGEMENT\020\001*R\n\021TransferLockState\022" - + "#\n\037TRANSFER_LOCK_STATE_UNSPECIFIED\020\000\022\014\n\010" - + "UNLOCKED\020\001\022\n\n\006LOCKED\020\0022\357\036\n\007Domains\022\334\001\n\rS" - + "earchDomains\0223.google.cloud.domains.v1al" - + "pha2.SearchDomainsRequest\0324.google.cloud" - + ".domains.v1alpha2.SearchDomainsResponse\"" - + "`\202\323\344\223\002I\022G/v1alpha2/{location=projects/*/" - + "locations/*}/registrations:searchDomains" - + "\332A\016location,query\022\226\002\n\032RetrieveRegisterPa" - + "rameters\022@.google.cloud.domains.v1alpha2" - + ".RetrieveRegisterParametersRequest\032A.goo" - + "gle.cloud.domains.v1alpha2.RetrieveRegis" - + "terParametersResponse\"s\202\323\344\223\002V\022T/v1alpha2" - + "/{location=projects/*/locations/*}/regis" - + "trations:retrieveRegisterParameters\332A\024lo" - + "cation,domain_name\022\372\001\n\016RegisterDomain\0224." - + "google.cloud.domains.v1alpha2.RegisterDo" - + "mainRequest\032\035.google.longrunning.Operati" - + "on\"\222\001\202\323\344\223\002E\"@/v1alpha2/{parent=projects/" - + "*/locations/*}/registrations:register:\001*" - + "\332A parent,registration,yearly_price\312A!\n\014" - + "Registration\022\021OperationMetadata\022\226\002\n\032Retr" - + "ieveTransferParameters\022@.google.cloud.do" - + "mains.v1alpha2.RetrieveTransferParameter" - + "sRequest\032A.google.cloud.domains.v1alpha2" - + ".RetrieveTransferParametersResponse\"s\202\323\344" - + "\223\002V\022T/v1alpha2/{location=projects/*/loca" - + "tions/*}/registrations:retrieveTransferP" - + "arameters\332A\024location,domain_name\022\215\002\n\016Tra" - + "nsferDomain\0224.google.cloud.domains.v1alp" - + "ha2.TransferDomainRequest\032\035.google.longr" - + "unning.Operation\"\245\001\202\323\344\223\002E\"@/v1alpha2/{pa" - + "rent=projects/*/locations/*}/registratio" - + "ns:transfer:\001*\332A3parent,registration,yea" - + "rly_price,authorization_code\312A!\n\014Registr" - + "ation\022\021OperationMetadata\022\320\001\n\021ListRegistr" - + "ations\0227.google.cloud.domains.v1alpha2.L" - + "istRegistrationsRequest\0328.google.cloud.d" - + "omains.v1alpha2.ListRegistrationsRespons" - + "e\"H\202\323\344\223\0029\0227/v1alpha2/{parent=projects/*/" - + "locations/*}/registrations\332A\006parent\022\275\001\n\017" - + "GetRegistration\0225.google.cloud.domains.v" - + "1alpha2.GetRegistrationRequest\032+.google." - + "cloud.domains.v1alpha2.Registration\"F\202\323\344" - + "\223\0029\0227/v1alpha2/{name=projects/*/location" - + "s/*/registrations/*}\332A\004name\022\211\002\n\022UpdateRe" - + "gistration\0228.google.cloud.domains.v1alph" - + "a2.UpdateRegistrationRequest\032\035.google.lo" - + "ngrunning.Operation\"\231\001\202\323\344\223\002T2D/v1alpha2/" - + "{registration.name=projects/*/locations/" - + "*/registrations/*}:\014registration\332A\030regis" - + "tration,update_mask\312A!\n\014Registration\022\021Op" - + "erationMetadata\022\273\002\n\033ConfigureManagementS" - + "ettings\022A.google.cloud.domains.v1alpha2." - + "ConfigureManagementSettingsRequest\032\035.goo" - + "gle.longrunning.Operation\"\271\001\202\323\344\223\002`\"[/v1a" - + "lpha2/{registration=projects/*/locations" - + "/*/registrations/*}:configureManagementS" - + "ettings:\001*\332A,registration,management_set" - + "tings,update_mask\312A!\n\014Registration\022\021Oper" - + "ationMetadata\022\237\002\n\024ConfigureDnsSettings\022:" - + ".google.cloud.domains.v1alpha2.Configure" - + "DnsSettingsRequest\032\035.google.longrunning." - + "Operation\"\253\001\202\323\344\223\002Y\"T/v1alpha2/{registrat" - + "ion=projects/*/locations/*/registrations" - + "/*}:configureDnsSettings:\001*\332A%registrati" - + "on,dns_settings,update_mask\312A!\n\014Registra" - + "tion\022\021OperationMetadata\022\257\002\n\030ConfigureCon" - + "tactSettings\022>.google.cloud.domains.v1al" - + "pha2.ConfigureContactSettingsRequest\032\035.g" - + "oogle.longrunning.Operation\"\263\001\202\323\344\223\002]\"X/v" - + "1alpha2/{registration=projects/*/locatio" - + "ns/*/registrations/*}:configureContactSe" - + "ttings:\001*\332A)registration,contact_setting" - + "s,update_mask\312A!\n\014Registration\022\021Operatio" - + "nMetadata\022\343\001\n\022ExportRegistration\0228.googl" - + "e.cloud.domains.v1alpha2.ExportRegistrat" - + "ionRequest\032\035.google.longrunning.Operatio" - + "n\"t\202\323\344\223\002C\">/v1alpha2/{name=projects/*/lo" - + "cations/*/registrations/*}:export:\001*\332A\004n" - + "ame\312A!\n\014Registration\022\021OperationMetadata\022" - + "\342\001\n\022DeleteRegistration\0228.google.cloud.do" - + "mains.v1alpha2.DeleteRegistrationRequest" - + "\032\035.google.longrunning.Operation\"s\202\323\344\223\0029*" - + "7/v1alpha2/{name=projects/*/locations/*/" - + "registrations/*}\332A\004name\312A*\n\025google.proto" - + "buf.Empty\022\021OperationMetadata\022\200\002\n\031Retriev" - + "eAuthorizationCode\022?.google.cloud.domain" - + "s.v1alpha2.RetrieveAuthorizationCodeRequ" - + "est\0320.google.cloud.domains.v1alpha2.Auth" - + "orizationCode\"p\202\323\344\223\002[\022Y/v1alpha2/{regist" - + "ration=projects/*/locations/*/registrati" - + "ons/*}:retrieveAuthorizationCode\332A\014regis" - + "tration\022\372\001\n\026ResetAuthorizationCode\022<.goo" - + "gle.cloud.domains.v1alpha2.ResetAuthoriz" - + "ationCodeRequest\0320.google.cloud.domains." - + "v1alpha2.AuthorizationCode\"p\202\323\344\223\002[\"V/v1a" - + "lpha2/{registration=projects/*/locations" - + "/*/registrations/*}:resetAuthorizationCo" - + "de:\001*\332A\014registration\032J\312A\026domains.googlea" - + "pis.com\322A.https://www.googleapis.com/aut" - + "h/cloud-platformBy\n!com.google.cloud.dom" - + "ains.v1alpha2B\014DomainsProtoP\001ZDgoogle.go" - + "lang.org/genproto/googleapis/cloud/domai" - + "ns/v1alpha2;domainsb\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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_domains_v1alpha2_Registration_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_Registration_descriptor, - new java.lang.String[] { - "Name", - "DomainName", - "CreateTime", - "ExpireTime", - "State", - "Issues", - "Labels", - "ManagementSettings", - "DnsSettings", - "ContactSettings", - "PendingContactSettings", - "SupportedPrivacy", - }); - internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor = - internal_static_google_cloud_domains_v1alpha2_Registration_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor, - new java.lang.String[] { - "RenewalMethod", "TransferLockState", - }); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor, - new java.lang.String[] { - "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider", - }); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor = - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor, - new java.lang.String[] { - "NameServers", "DsRecords", - }); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor = - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor, - new java.lang.String[] { - "NameServers", "DsState", "DsRecords", - }); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor = - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor, - new java.lang.String[] { - "KeyTag", "Algorithm", "DigestType", "Digest", - }); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor = - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor, - new java.lang.String[] { - "HostName", "Ipv4Addresses", "Ipv6Addresses", - }); - internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor, - new java.lang.String[] { - "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact", - }); - internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor = - internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor, - new java.lang.String[] { - "PostalAddress", "Email", "PhoneNumber", "FaxNumber", - }); - internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor, - new java.lang.String[] { - "Query", "Location", - }); - internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor, - new java.lang.String[] { - "RegisterParameters", - }); - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor, - new java.lang.String[] { - "DomainName", "Location", - }); - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor, - new java.lang.String[] { - "RegisterParameters", - }); - internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor, - new java.lang.String[] { - "Parent", - "Registration", - "DomainNotices", - "ContactNotices", - "YearlyPrice", - "ValidateOnly", - }); - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor, - new java.lang.String[] { - "DomainName", "Location", - }); - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor, - new java.lang.String[] { - "TransferParameters", - }); - internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor, - new java.lang.String[] { - "Parent", - "Registration", - "ContactNotices", - "YearlyPrice", - "AuthorizationCode", - "ValidateOnly", - }); - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor, - new java.lang.String[] { - "Registrations", "NextPageToken", - }); - internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor, - new java.lang.String[] { - "Registration", "UpdateMask", - }); - internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor, - new java.lang.String[] { - "Registration", "ManagementSettings", "UpdateMask", - }); - internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor, - new java.lang.String[] { - "Registration", "DnsSettings", "UpdateMask", "ValidateOnly", - }); - internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor, - new java.lang.String[] { - "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly", - }); - internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor, - new java.lang.String[] { - "Registration", - }); - internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor, - new java.lang.String[] { - "Registration", - }); - internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor, - new java.lang.String[] { - "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice", - }); - internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor, - new java.lang.String[] { - "DomainName", - "CurrentRegistrar", - "NameServers", - "TransferLockState", - "SupportedPrivacy", - "YearlyPrice", - }); - internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor, - new java.lang.String[] { - "Code", - }); - internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java deleted file mode 100644 index 8ef26cf2..00000000 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public interface ExportRegistrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ExportRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java deleted file mode 100644 index d5ace1cb..00000000 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public interface GetRegistrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.GetRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index f869f012..00000000 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public interface ResetAuthorizationCodeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The registration. - */ - java.lang.String getRegistration(); - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for registration. - */ - com.google.protobuf.ByteString getRegistrationBytes(); -} diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index f6c35c6f..00000000 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public interface RetrieveAuthorizationCodeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The registration. - */ - java.lang.String getRegistration(); - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for registration. - */ - com.google.protobuf.ByteString getRegistrationBytes(); -} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java deleted file mode 100644 index 146a1856..00000000 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public interface DeleteRegistrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DeleteRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java deleted file mode 100644 index 3f33cecf..00000000 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java +++ /dev/null @@ -1,807 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public final class DomainsProto { - private DomainsProto() {} - - 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_domains_v1beta1_Registration_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_OperationMetadata_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/domains/v1beta1/domains.p" - + "roto\022\034google.cloud.domains.v1beta1\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/lo" - + "ngrunning/operations.proto\032 google/proto" - + "buf/field_mask.proto\032\037google/protobuf/ti" - + "mestamp.proto\032\027google/type/money.proto\032 " - + "google/type/postal_address.proto\"\223\t\n\014Reg" - + "istration\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain_n" - + "ame\030\002 \001(\tB\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\0224\n\013expir" - + "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\022D\n\005state\030\007 \001(\01620.google.cloud.doma" - + "ins.v1beta1.Registration.StateB\003\340A\003\022E\n\006i" - + "ssues\030\010 \003(\01620.google.cloud.domains.v1bet" - + "a1.Registration.IssueB\003\340A\003\022F\n\006labels\030\t \003" - + "(\01326.google.cloud.domains.v1beta1.Regist" - + "ration.LabelsEntry\022M\n\023management_setting" - + "s\030\n \001(\01320.google.cloud.domains.v1beta1.M" - + "anagementSettings\022?\n\014dns_settings\030\013 \001(\0132" - + ").google.cloud.domains.v1beta1.DnsSettin" - + "gs\022L\n\020contact_settings\030\014 \001(\0132-.google.cl" - + "oud.domains.v1beta1.ContactSettingsB\003\340A\002" - + "\022T\n\030pending_contact_settings\030\r \001(\0132-.goo" - + "gle.cloud.domains.v1beta1.ContactSetting" - + "sB\003\340A\003\022L\n\021supported_privacy\030\016 \003(\0162,.goog" - + "le.cloud.domains.v1beta1.ContactPrivacyB" - + "\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001\"\245\001\n\005State\022\025\n\021STATE_UNSPECIFI" - + "ED\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022\027\n\023REGIST" - + "RATION_FAILED\020\002\022\024\n\020TRANSFER_PENDING\020\003\022\023\n" - + "\017TRANSFER_FAILED\020\004\022\n\n\006ACTIVE\020\006\022\r\n\tSUSPEN" - + "DED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025\n\021ISSUE_UN" - + "SPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVE" - + "RIFIED_EMAIL\020\002:n\352Ak\n#domains.googleapis." - + "com/Registration\022Dprojects/{project}/loc" - + "ations/{location}/registrations/{registr" - + "ation}\"\233\002\n\022ManagementSettings\022[\n\016renewal" - + "_method\030\003 \001(\0162>.google.cloud.domains.v1b" - + "eta1.ManagementSettings.RenewalMethodB\003\340" - + "A\003\022L\n\023transfer_lock_state\030\004 \001(\0162/.google" - + ".cloud.domains.v1beta1.TransferLockState" - + "\"Z\n\rRenewalMethod\022\036\n\032RENEWAL_METHOD_UNSP" - + "ECIFIED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001\022\022\n\016MANU" - + "AL_RENEWAL\020\002\"\306\n\n\013DnsSettings\022I\n\ncustom_d" - + "ns\030\001 \001(\01323.google.cloud.domains.v1beta1." - + "DnsSettings.CustomDnsH\000\022X\n\022google_domain" - + "s_dns\030\002 \001(\0132:.google.cloud.domains.v1bet" - + "a1.DnsSettings.GoogleDomainsDnsH\000\022J\n\014glu" - + "e_records\030\004 \003(\01324.google.cloud.domains.v" - + "1beta1.DnsSettings.GlueRecord\032n\n\tCustomD" - + "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\002\022F\n\nds_reco" - + "rds\030\002 \003(\01322.google.cloud.domains.v1beta1" - + ".DnsSettings.DsRecord\032\304\001\n\020GoogleDomainsD" - + "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\003\022H\n\010ds_stat" - + "e\030\002 \001(\01621.google.cloud.domains.v1beta1.D" - + "nsSettings.DsStateB\003\340A\002\022K\n\nds_records\030\003 " - + "\003(\01322.google.cloud.domains.v1beta1.DnsSe" - + "ttings.DsRecordB\003\340A\003\032\315\004\n\010DsRecord\022\017\n\007key" - + "_tag\030\001 \001(\005\022O\n\talgorithm\030\002 \001(\0162<.google.c" - + "loud.domains.v1beta1.DnsSettings.DsRecor" - + "d.Algorithm\022R\n\013digest_type\030\003 \001(\0162=.googl" - + "e.cloud.domains.v1beta1.DnsSettings.DsRe" - + "cord.DigestType\022\016\n\006digest\030\004 \001(\t\"\237\002\n\tAlgo" - + "rithm\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\022\n\n\006RSAM" - + "D5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA" - + "1\020\005\022\020\n\014DSANSEC3SHA1\020\006\022\024\n\020RSASHA1NSEC3SHA" - + "1\020\007\022\r\n\tRSASHA256\020\010\022\r\n\tRSASHA512\020\n\022\013\n\007ECC" - + "GOST\020\014\022\023\n\017ECDSAP256SHA256\020\r\022\023\n\017ECDSAP384" - + "SHA384\020\016\022\013\n\007ED25519\020\017\022\t\n\005ED448\020\020\022\r\n\010INDI" - + "RECT\020\374\001\022\017\n\nPRIVATEDNS\020\375\001\022\017\n\nPRIVATEOID\020\376" - + "\001\"Y\n\nDigestType\022\033\n\027DIGEST_TYPE_UNSPECIFI" - + "ED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SHA256\020\002\022\014\n\010GOST3411\020\003" - + "\022\n\n\006SHA384\020\004\032T\n\nGlueRecord\022\026\n\thost_name\030" - + "\001 \001(\tB\003\340A\002\022\026\n\016ipv4_addresses\030\002 \003(\t\022\026\n\016ip" - + "v6_addresses\030\003 \003(\t\"Y\n\007DsState\022\030\n\024DS_STAT" - + "E_UNSPECIFIED\020\000\022\032\n\026DS_RECORDS_UNPUBLISHE" - + "D\020\001\022\030\n\024DS_RECORDS_PUBLISHED\020\002B\016\n\014dns_pro" - + "vider\"\337\003\n\017ContactSettings\022B\n\007privacy\030\001 \001" - + "(\0162,.google.cloud.domains.v1beta1.Contac" - + "tPrivacyB\003\340A\002\022V\n\022registrant_contact\030\002 \001(" - + "\01325.google.cloud.domains.v1beta1.Contact" - + "Settings.ContactB\003\340A\002\022Q\n\radmin_contact\030\003" - + " \001(\01325.google.cloud.domains.v1beta1.Cont" - + "actSettings.ContactB\003\340A\002\022U\n\021technical_co" - + "ntact\030\004 \001(\01325.google.cloud.domains.v1bet" - + "a1.ContactSettings.ContactB\003\340A\002\032\205\001\n\007Cont" - + "act\0227\n\016postal_address\030\001 \001(\0132\032.google.typ" - + "e.PostalAddressB\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002" - + "\022\031\n\014phone_number\030\003 \001(\tB\003\340A\002\022\022\n\nfax_numbe" - + "r\030\004 \001(\t\"g\n\024SearchDomainsRequest\022\022\n\005query" - + "\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!l" - + "ocations.googleapis.com/Location\"f\n\025Sear" - + "chDomainsResponse\022M\n\023register_parameters" - + "\030\001 \003(\01320.google.cloud.domains.v1beta1.Re" - + "gisterParameters\"z\n!RetrieveRegisterPara" - + "metersRequest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022" - + ";\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locations.goo" - + "gleapis.com/Location\"s\n\"RetrieveRegister" - + "ParametersResponse\022M\n\023register_parameter" - + "s\030\001 \001(\01320.google.cloud.domains.v1beta1.R" - + "egisterParameters\"\351\002\n\025RegisterDomainRequ" - + "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.g" - + "oogleapis.com/Location\022E\n\014registration\030\002" - + " \001(\0132*.google.cloud.domains.v1beta1.Regi" - + "strationB\003\340A\002\022B\n\016domain_notices\030\003 \003(\0162*." - + "google.cloud.domains.v1beta1.DomainNotic" - + "e\022D\n\017contact_notices\030\004 \003(\0162+.google.clou" - + "d.domains.v1beta1.ContactNotice\022-\n\014yearl" - + "y_price\030\005 \001(\0132\022.google.type.MoneyB\003\340A\002\022\025" - + "\n\rvalidate_only\030\006 \001(\010\"z\n!RetrieveTransfe" - + "rParametersRequest\022\030\n\013domain_name\030\001 \001(\tB" - + "\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!location" - + "s.googleapis.com/Location\"s\n\"RetrieveTra" - + "nsferParametersResponse\022M\n\023transfer_para" - + "meters\030\001 \001(\01320.google.cloud.domains.v1be" - + "ta1.TransferParameters\"\362\002\n\025TransferDomai" - + "nRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati" - + "ons.googleapis.com/Location\022E\n\014registrat" - + "ion\030\002 \001(\0132*.google.cloud.domains.v1beta1" - + ".RegistrationB\003\340A\002\022D\n\017contact_notices\030\003 " - + "\003(\0162+.google.cloud.domains.v1beta1.Conta" - + "ctNotice\022-\n\014yearly_price\030\004 \001(\0132\022.google." - + "type.MoneyB\003\340A\002\022K\n\022authorization_code\030\005 " - + "\001(\0132/.google.cloud.domains.v1beta1.Autho" - + "rizationCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030" - + "ListRegistrationsRequest\0229\n\006parent\030\001 \001(\t" - + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" - + "ion\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\"w\n\031ListRegistrationsR" - + "esponse\022A\n\rregistrations\030\001 \003(\0132*.google." - + "cloud.domains.v1beta1.Registration\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"S\n\026GetRegistrationRe" - + "quest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" - + "gleapis.com/Registration\"\223\001\n\031UpdateRegis" - + "trationRequest\022@\n\014registration\030\001 \001(\0132*.g" - + "oogle.cloud.domains.v1beta1.Registration" - + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMaskB\003\340A\002\"\354\001\n\"ConfigureManagementSe" - + "ttingsRequest\022A\n\014registration\030\001 \001(\tB+\340A\002" - + "\372A%\n#domains.googleapis.com/Registration" - + "\022M\n\023management_settings\030\002 \001(\01320.google.c" - + "loud.domains.v1beta1.ManagementSettings\022" - + "4\n\013update_mask\030\003 \001(\0132\032.google.protobuf.F" - + "ieldMaskB\003\340A\002\"\356\001\n\033ConfigureDnsSettingsRe" - + "quest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#dom" - + "ains.googleapis.com/Registration\022?\n\014dns_" - + "settings\030\002 \001(\0132).google.cloud.domains.v1" - + "beta1.DnsSettings\0224\n\013update_mask\030\003 \001(\0132\032" - + ".google.protobuf.FieldMaskB\003\340A\002\022\025\n\rvalid" - + "ate_only\030\004 \001(\010\"\300\002\n\037ConfigureContactSetti" - + "ngsRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%" - + "\n#domains.googleapis.com/Registration\022G\n" - + "\020contact_settings\030\002 \001(\0132-.google.cloud.d" - + "omains.v1beta1.ContactSettings\0224\n\013update" - + "_mask\030\003 \001(\0132\032.google.protobuf.FieldMaskB" - + "\003\340A\002\022D\n\017contact_notices\030\004 \003(\0162+.google.c" - + "loud.domains.v1beta1.ContactNotice\022\025\n\rva" - + "lidate_only\030\005 \001(\010\"V\n\031ExportRegistrationR" - + "equest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.go" - + "ogleapis.com/Registration\"V\n\031DeleteRegis" - + "trationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#do" - + "mains.googleapis.com/Registration\"e\n Ret" - + "rieveAuthorizationCodeRequest\022A\n\014registr" - + "ation\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis." - + "com/Registration\"b\n\035ResetAuthorizationCo" - + "deRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n" - + "#domains.googleapis.com/Registration\"\241\003\n" - + "\022RegisterParameters\022\023\n\013domain_name\030\001 \001(\t" - + "\022S\n\014availability\030\002 \001(\0162=.google.cloud.do" - + "mains.v1beta1.RegisterParameters.Availab" - + "ility\022G\n\021supported_privacy\030\003 \003(\0162,.googl" - + "e.cloud.domains.v1beta1.ContactPrivacy\022B" - + "\n\016domain_notices\030\004 \003(\0162*.google.cloud.do" - + "mains.v1beta1.DomainNotice\022(\n\014yearly_pri" - + "ce\030\005 \001(\0132\022.google.type.Money\"j\n\014Availabi" - + "lity\022\034\n\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\tAV" - + "AILABLE\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTE" - + "D\020\003\022\013\n\007UNKNOWN\020\004\"\233\002\n\022TransferParameters\022" - + "\023\n\013domain_name\030\001 \001(\t\022\031\n\021current_registra" - + "r\030\002 \001(\t\022\024\n\014name_servers\030\003 \003(\t\022L\n\023transfe" - + "r_lock_state\030\004 \001(\0162/.google.cloud.domain" - + "s.v1beta1.TransferLockState\022G\n\021supported" - + "_privacy\030\005 \003(\0162,.google.cloud.domains.v1" - + "beta1.ContactPrivacy\022(\n\014yearly_price\030\006 \001" - + "(\0132\022.google.type.Money\"!\n\021AuthorizationC" - + "ode\022\014\n\004code\030\001 \001(\t\"\274\001\n\021OperationMetadata\022" - + "/\n\013create_time\030\001 \001(\0132\032.google.protobuf.T" - + "imestamp\022,\n\010end_time\030\002 \001(\0132\032.google.prot" - + "obuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004" - + " \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\023\n\013api_versi" - + "on\030\006 \001(\t*\177\n\016ContactPrivacy\022\037\n\033CONTACT_PR" - + "IVACY_UNSPECIFIED\020\000\022\027\n\023PUBLIC_CONTACT_DA" - + "TA\020\001\022\030\n\024PRIVATE_CONTACT_DATA\020\002\022\031\n\025REDACT" - + "ED_CONTACT_DATA\020\003*A\n\014DomainNotice\022\035\n\031DOM" - + "AIN_NOTICE_UNSPECIFIED\020\000\022\022\n\016HSTS_PRELOAD" - + "ED\020\001*X\n\rContactNotice\022\036\n\032CONTACT_NOTICE_" - + "UNSPECIFIED\020\000\022\'\n#PUBLIC_CONTACT_DATA_ACK" - + "NOWLEDGEMENT\020\001*R\n\021TransferLockState\022#\n\037T" - + "RANSFER_LOCK_STATE_UNSPECIFIED\020\000\022\014\n\010UNLO" - + "CKED\020\001\022\n\n\006LOCKED\020\0022\312\036\n\007Domains\022\331\001\n\rSearc" - + "hDomains\0222.google.cloud.domains.v1beta1." - + "SearchDomainsRequest\0323.google.cloud.doma" - + "ins.v1beta1.SearchDomainsResponse\"_\202\323\344\223\002" - + "H\022F/v1beta1/{location=projects/*/locatio" - + "ns/*}/registrations:searchDomains\332A\016loca" - + "tion,query\022\223\002\n\032RetrieveRegisterParameter" - + "s\022?.google.cloud.domains.v1beta1.Retriev" - + "eRegisterParametersRequest\032@.google.clou" - + "d.domains.v1beta1.RetrieveRegisterParame" - + "tersResponse\"r\202\323\344\223\002U\022S/v1beta1/{location" - + "=projects/*/locations/*}/registrations:r" - + "etrieveRegisterParameters\332A\024location,dom" - + "ain_name\022\370\001\n\016RegisterDomain\0223.google.clo" - + "ud.domains.v1beta1.RegisterDomainRequest" - + "\032\035.google.longrunning.Operation\"\221\001\202\323\344\223\002D" - + "\"?/v1beta1/{parent=projects/*/locations/" - + "*}/registrations:register:\001*\332A parent,re" - + "gistration,yearly_price\312A!\n\014Registration" - + "\022\021OperationMetadata\022\223\002\n\032RetrieveTransfer" - + "Parameters\022?.google.cloud.domains.v1beta" - + "1.RetrieveTransferParametersRequest\032@.go" - + "ogle.cloud.domains.v1beta1.RetrieveTrans" - + "ferParametersResponse\"r\202\323\344\223\002U\022S/v1beta1/" - + "{location=projects/*/locations/*}/regist" - + "rations:retrieveTransferParameters\332A\024loc" - + "ation,domain_name\022\213\002\n\016TransferDomain\0223.g" - + "oogle.cloud.domains.v1beta1.TransferDoma" - + "inRequest\032\035.google.longrunning.Operation" - + "\"\244\001\202\323\344\223\002D\"?/v1beta1/{parent=projects/*/l" - + "ocations/*}/registrations:transfer:\001*\332A3" - + "parent,registration,yearly_price,authori" - + "zation_code\312A!\n\014Registration\022\021OperationM" - + "etadata\022\315\001\n\021ListRegistrations\0226.google.c" - + "loud.domains.v1beta1.ListRegistrationsRe" - + "quest\0327.google.cloud.domains.v1beta1.Lis" - + "tRegistrationsResponse\"G\202\323\344\223\0028\0226/v1beta1" - + "/{parent=projects/*/locations/*}/registr" - + "ations\332A\006parent\022\272\001\n\017GetRegistration\0224.go" - + "ogle.cloud.domains.v1beta1.GetRegistrati" - + "onRequest\032*.google.cloud.domains.v1beta1" - + ".Registration\"E\202\323\344\223\0028\0226/v1beta1/{name=pr" - + "ojects/*/locations/*/registrations/*}\332A\004" - + "name\022\207\002\n\022UpdateRegistration\0227.google.clo" - + "ud.domains.v1beta1.UpdateRegistrationReq" - + "uest\032\035.google.longrunning.Operation\"\230\001\202\323" - + "\344\223\002S2C/v1beta1/{registration.name=projec" - + "ts/*/locations/*/registrations/*}:\014regis" - + "tration\332A\030registration,update_mask\312A!\n\014R" - + "egistration\022\021OperationMetadata\022\271\002\n\033Confi" - + "gureManagementSettings\022@.google.cloud.do" - + "mains.v1beta1.ConfigureManagementSetting" - + "sRequest\032\035.google.longrunning.Operation\"" - + "\270\001\202\323\344\223\002_\"Z/v1beta1/{registration=project" - + "s/*/locations/*/registrations/*}:configu" - + "reManagementSettings:\001*\332A,registration,m" - + "anagement_settings,update_mask\312A!\n\014Regis" - + "tration\022\021OperationMetadata\022\235\002\n\024Configure" - + "DnsSettings\0229.google.cloud.domains.v1bet" - + "a1.ConfigureDnsSettingsRequest\032\035.google." - + "longrunning.Operation\"\252\001\202\323\344\223\002X\"S/v1beta1" - + "/{registration=projects/*/locations/*/re" - + "gistrations/*}:configureDnsSettings:\001*\332A" - + "%registration,dns_settings,update_mask\312A" - + "!\n\014Registration\022\021OperationMetadata\022\255\002\n\030C" - + "onfigureContactSettings\022=.google.cloud.d" - + "omains.v1beta1.ConfigureContactSettingsR" - + "equest\032\035.google.longrunning.Operation\"\262\001" - + "\202\323\344\223\002\\\"W/v1beta1/{registration=projects/" - + "*/locations/*/registrations/*}:configure" - + "ContactSettings:\001*\332A)registration,contac" - + "t_settings,update_mask\312A!\n\014Registration\022" - + "\021OperationMetadata\022\341\001\n\022ExportRegistratio" - + "n\0227.google.cloud.domains.v1beta1.ExportR" - + "egistrationRequest\032\035.google.longrunning." - + "Operation\"s\202\323\344\223\002B\"=/v1beta1/{name=projec" - + "ts/*/locations/*/registrations/*}:export" - + ":\001*\332A\004name\312A!\n\014Registration\022\021OperationMe" - + "tadata\022\340\001\n\022DeleteRegistration\0227.google.c" - + "loud.domains.v1beta1.DeleteRegistrationR" - + "equest\032\035.google.longrunning.Operation\"r\202" - + "\323\344\223\0028*6/v1beta1/{name=projects/*/locatio" - + "ns/*/registrations/*}\332A\004name\312A*\n\025google." - + "protobuf.Empty\022\021OperationMetadata\022\375\001\n\031Re" - + "trieveAuthorizationCode\022>.google.cloud.d" - + "omains.v1beta1.RetrieveAuthorizationCode" - + "Request\032/.google.cloud.domains.v1beta1.A" - + "uthorizationCode\"o\202\323\344\223\002Z\022X/v1beta1/{regi" - + "stration=projects/*/locations/*/registra" - + "tions/*}:retrieveAuthorizationCode\332A\014reg" - + "istration\022\367\001\n\026ResetAuthorizationCode\022;.g" - + "oogle.cloud.domains.v1beta1.ResetAuthori" - + "zationCodeRequest\032/.google.cloud.domains" - + ".v1beta1.AuthorizationCode\"o\202\323\344\223\002Z\"U/v1b" - + "eta1/{registration=projects/*/locations/" - + "*/registrations/*}:resetAuthorizationCod" - + "e:\001*\332A\014registration\032J\312A\026domains.googleap" - + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformBw\n com.google.cloud.doma" - + "ins.v1beta1B\014DomainsProtoP\001ZCgoogle.gola" - + "ng.org/genproto/googleapis/cloud/domains" - + "/v1beta1;domainsb\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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_domains_v1beta1_Registration_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_Registration_descriptor, - new java.lang.String[] { - "Name", - "DomainName", - "CreateTime", - "ExpireTime", - "State", - "Issues", - "Labels", - "ManagementSettings", - "DnsSettings", - "ContactSettings", - "PendingContactSettings", - "SupportedPrivacy", - }); - internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor = - internal_static_google_cloud_domains_v1beta1_Registration_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor, - new java.lang.String[] { - "RenewalMethod", "TransferLockState", - }); - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor, - new java.lang.String[] { - "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider", - }); - internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor = - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor, - new java.lang.String[] { - "NameServers", "DsRecords", - }); - internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor = - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor, - new java.lang.String[] { - "NameServers", "DsState", "DsRecords", - }); - internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor = - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor, - new java.lang.String[] { - "KeyTag", "Algorithm", "DigestType", "Digest", - }); - internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor = - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor, - new java.lang.String[] { - "HostName", "Ipv4Addresses", "Ipv6Addresses", - }); - internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor, - new java.lang.String[] { - "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact", - }); - internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor = - internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor, - new java.lang.String[] { - "PostalAddress", "Email", "PhoneNumber", "FaxNumber", - }); - internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor, - new java.lang.String[] { - "Query", "Location", - }); - internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor, - new java.lang.String[] { - "RegisterParameters", - }); - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor, - new java.lang.String[] { - "DomainName", "Location", - }); - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor, - new java.lang.String[] { - "RegisterParameters", - }); - internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor, - new java.lang.String[] { - "Parent", - "Registration", - "DomainNotices", - "ContactNotices", - "YearlyPrice", - "ValidateOnly", - }); - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor, - new java.lang.String[] { - "DomainName", "Location", - }); - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor, - new java.lang.String[] { - "TransferParameters", - }); - internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor, - new java.lang.String[] { - "Parent", - "Registration", - "ContactNotices", - "YearlyPrice", - "AuthorizationCode", - "ValidateOnly", - }); - internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor, - new java.lang.String[] { - "Registrations", "NextPageToken", - }); - internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor, - new java.lang.String[] { - "Registration", "UpdateMask", - }); - internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor, - new java.lang.String[] { - "Registration", "ManagementSettings", "UpdateMask", - }); - internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor, - new java.lang.String[] { - "Registration", "DnsSettings", "UpdateMask", "ValidateOnly", - }); - internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor, - new java.lang.String[] { - "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly", - }); - internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor, - new java.lang.String[] { - "Registration", - }); - internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor, - new java.lang.String[] { - "Registration", - }); - internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor, - new java.lang.String[] { - "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice", - }); - internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor, - new java.lang.String[] { - "DomainName", - "CurrentRegistrar", - "NameServers", - "TransferLockState", - "SupportedPrivacy", - "YearlyPrice", - }); - internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor, - new java.lang.String[] { - "Code", - }); - internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java deleted file mode 100644 index 293d00d8..00000000 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public interface ExportRegistrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ExportRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java deleted file mode 100644 index 1a8ad5da..00000000 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public interface GetRegistrationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.GetRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index 12453edf..00000000 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public interface ResetAuthorizationCodeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The registration. - */ - java.lang.String getRegistration(); - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for registration. - */ - com.google.protobuf.ByteString getRegistrationBytes(); -} diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index fc4cf2a3..00000000 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public interface RetrieveAuthorizationCodeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The registration. - */ - java.lang.String getRegistration(); - /** - * - * - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for registration. - */ - com.google.protobuf.ByteString getRegistrationBytes(); -} From 81005d30bcdfc941795ce0affef1dcb74a751ba9 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:22:24 +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 --- .../cloud/domains/v1/DomainsClient.java | 74 +- .../cloud/domains/v1/DomainsSettings.java | 7 +- .../cloud/domains/v1/gapic_metadata.json | 0 .../google/cloud/domains/v1/package-info.java | 0 .../cloud/domains/v1/stub/DomainsStub.java | 0 .../domains/v1/stub/DomainsStubSettings.java | 9 +- .../v1/stub/GrpcDomainsCallableFactory.java | 0 .../domains/v1/stub/GrpcDomainsStub.java | 1 - .../stub/HttpJsonDomainsCallableFactory.java | 0 .../domains/v1/stub/HttpJsonDomainsStub.java | 1 - .../cloud/domains/v1alpha2/DomainsClient.java | 74 +- .../domains/v1alpha2/DomainsSettings.java | 7 +- .../domains/v1alpha2/gapic_metadata.json | 0 .../cloud/domains/v1alpha2/package-info.java | 0 .../domains/v1alpha2/stub/DomainsStub.java | 0 .../v1alpha2/stub/DomainsStubSettings.java | 9 +- .../stub/GrpcDomainsCallableFactory.java | 0 .../v1alpha2/stub/GrpcDomainsStub.java | 1 - .../stub/HttpJsonDomainsCallableFactory.java | 0 .../v1alpha2/stub/HttpJsonDomainsStub.java | 1 - .../cloud/domains/v1beta1/DomainsClient.java | 74 +- .../domains/v1beta1/DomainsSettings.java | 7 +- .../cloud/domains/v1beta1/gapic_metadata.json | 0 .../cloud/domains/v1beta1/package-info.java | 0 .../domains/v1beta1/stub/DomainsStub.java | 0 .../v1beta1/stub/DomainsStubSettings.java | 9 +- .../stub/GrpcDomainsCallableFactory.java | 0 .../domains/v1beta1/stub/GrpcDomainsStub.java | 1 - .../stub/HttpJsonDomainsCallableFactory.java | 0 .../v1beta1/stub/HttpJsonDomainsStub.java | 1 - .../domains/v1/DomainsClientHttpJsonTest.java | 0 .../cloud/domains/v1/DomainsClientTest.java | 0 .../google/cloud/domains/v1/MockDomains.java | 0 .../cloud/domains/v1/MockDomainsImpl.java | 0 .../v1alpha2/DomainsClientHttpJsonTest.java | 0 .../domains/v1alpha2/DomainsClientTest.java | 0 .../cloud/domains/v1alpha2/MockDomains.java | 0 .../domains/v1alpha2/MockDomainsImpl.java | 0 .../v1beta1/DomainsClientHttpJsonTest.java | 0 .../domains/v1beta1/DomainsClientTest.java | 0 .../cloud/domains/v1beta1/MockDomains.java | 0 .../domains/v1beta1/MockDomainsImpl.java | 0 .../google/cloud/domains/v1/DomainsGrpc.java | 1603 +++++--- .../cloud/domains/v1alpha2/DomainsGrpc.java | 2285 +++++++++++ .../cloud/domains/v1beta1/DomainsGrpc.java | 2284 +++++++++++ .../DeleteRegistrationRequestOrBuilder.java | 31 - .../google/cloud/domains/v1/DomainsProto.java | 720 ---- .../ExportRegistrationRequestOrBuilder.java | 31 - .../v1/GetRegistrationRequestOrBuilder.java | 31 - ...esetAuthorizationCodeRequestOrBuilder.java | 31 - ...ieveAuthorizationCodeRequestOrBuilder.java | 31 - .../cloud/domains/v1alpha2/DomainsGrpc.java | 1763 --------- .../DeleteRegistrationRequestOrBuilder.java | 31 - .../cloud/domains/v1alpha2/DomainsProto.java | 732 ---- .../ExportRegistrationRequestOrBuilder.java | 31 - .../GetRegistrationRequestOrBuilder.java | 31 - ...esetAuthorizationCodeRequestOrBuilder.java | 31 - ...ieveAuthorizationCodeRequestOrBuilder.java | 31 - .../cloud/domains/v1beta1/DomainsGrpc.java | 1763 --------- .../DeleteRegistrationRequestOrBuilder.java | 31 - .../cloud/domains/v1beta1/DomainsProto.java | 730 ---- .../ExportRegistrationRequestOrBuilder.java | 31 - .../GetRegistrationRequestOrBuilder.java | 31 - ...esetAuthorizationCodeRequestOrBuilder.java | 31 - ...ieveAuthorizationCodeRequestOrBuilder.java | 31 - .../cloud/domains/v1/AuthorizationCode.java | 301 +- .../v1/AuthorizationCodeOrBuilder.java | 27 +- .../v1/ConfigureContactSettingsRequest.java | 743 ++-- ...figureContactSettingsRequestOrBuilder.java | 81 +- .../v1/ConfigureDnsSettingsRequest.java | 608 +-- .../ConfigureDnsSettingsRequestOrBuilder.java | 63 +- .../ConfigureManagementSettingsRequest.java | 594 +-- ...ureManagementSettingsRequestOrBuilder.java | 60 +- .../cloud/domains/v1/ContactNotice.java | 75 +- .../cloud/domains/v1/ContactPrivacy.java | 89 +- .../cloud/domains/v1/ContactSettings.java | 1430 ++++--- .../domains/v1/ContactSettingsOrBuilder.java | 92 +- .../domains/v1/DeleteRegistrationRequest.java | 342 +- .../DeleteRegistrationRequestOrBuilder.java | 56 + .../google/cloud/domains/v1/DnsSettings.java | 3234 ++++++++++------ .../domains/v1/DnsSettingsOrBuilder.java | 52 +- .../google/cloud/domains/v1/DomainNotice.java | 75 +- .../google/cloud/domains/v1/DomainsProto.java | 793 ++++ .../domains/v1/ExportRegistrationRequest.java | 342 +- .../ExportRegistrationRequestOrBuilder.java | 56 + .../domains/v1/GetRegistrationRequest.java | 339 +- .../v1/GetRegistrationRequestOrBuilder.java | 56 + .../domains/v1/ListRegistrationsRequest.java | 533 +-- .../v1/ListRegistrationsRequestOrBuilder.java | 56 +- .../domains/v1/ListRegistrationsResponse.java | 459 ++- .../ListRegistrationsResponseOrBuilder.java | 45 +- .../google/cloud/domains/v1/LocationName.java | 0 .../cloud/domains/v1/ManagementSettings.java | 453 ++- .../v1/ManagementSettingsOrBuilder.java | 38 +- .../cloud/domains/v1/OperationMetadata.java | 724 ++-- .../v1/OperationMetadataOrBuilder.java | 70 +- .../domains/v1/RegisterDomainRequest.java | 870 +++-- .../v1/RegisterDomainRequestOrBuilder.java | 102 +- .../cloud/domains/v1/RegisterParameters.java | 799 ++-- .../v1/RegisterParametersOrBuilder.java | 77 +- .../google/cloud/domains/v1/Registration.java | 2090 ++++++---- .../cloud/domains/v1/RegistrationName.java | 0 .../domains/v1/RegistrationOrBuilder.java | 255 +- .../v1/ResetAuthorizationCodeRequest.java | 342 +- ...esetAuthorizationCodeRequestOrBuilder.java | 56 + .../v1/RetrieveAuthorizationCodeRequest.java | 352 +- ...ieveAuthorizationCodeRequestOrBuilder.java | 56 + .../v1/RetrieveRegisterParametersRequest.java | 432 ++- ...eveRegisterParametersRequestOrBuilder.java | 44 +- .../RetrieveRegisterParametersResponse.java | 362 +- ...veRegisterParametersResponseOrBuilder.java | 26 +- .../v1/RetrieveTransferParametersRequest.java | 432 ++- ...eveTransferParametersRequestOrBuilder.java | 44 +- .../RetrieveTransferParametersResponse.java | 362 +- ...veTransferParametersResponseOrBuilder.java | 26 +- .../domains/v1/SearchDomainsRequest.java | 415 +- .../v1/SearchDomainsRequestOrBuilder.java | 44 +- .../domains/v1/SearchDomainsResponse.java | 367 +- .../v1/SearchDomainsResponseOrBuilder.java | 36 +- .../domains/v1/TransferDomainRequest.java | 834 ++-- .../v1/TransferDomainRequestOrBuilder.java | 92 +- .../cloud/domains/v1/TransferLockState.java | 80 +- .../cloud/domains/v1/TransferParameters.java | 767 ++-- .../v1/TransferParametersOrBuilder.java | 86 +- .../domains/v1/UpdateRegistrationRequest.java | 468 ++- .../UpdateRegistrationRequestOrBuilder.java | 43 +- .../google/cloud/domains/v1/domains.proto | 0 .../domains/v1alpha2/AuthorizationCode.java | 311 +- .../v1alpha2/AuthorizationCodeOrBuilder.java | 27 +- .../ConfigureContactSettingsRequest.java | 773 ++-- ...figureContactSettingsRequestOrBuilder.java | 81 +- .../v1alpha2/ConfigureDnsSettingsRequest.java | 613 +-- .../ConfigureDnsSettingsRequestOrBuilder.java | 63 +- .../ConfigureManagementSettingsRequest.java | 622 +-- ...ureManagementSettingsRequestOrBuilder.java | 60 +- .../cloud/domains/v1alpha2/ContactNotice.java | 75 +- .../domains/v1alpha2/ContactPrivacy.java | 89 +- .../domains/v1alpha2/ContactSettings.java | 1469 ++++--- .../v1alpha2/ContactSettingsOrBuilder.java | 95 +- .../v1alpha2/DeleteRegistrationRequest.java | 342 +- .../DeleteRegistrationRequestOrBuilder.java | 56 + .../cloud/domains/v1alpha2/DnsSettings.java | 3399 +++++++++++------ .../v1alpha2/DnsSettingsOrBuilder.java | 61 +- .../cloud/domains/v1alpha2/DomainNotice.java | 75 +- .../cloud/domains/v1alpha2/DomainsProto.java | 817 ++++ .../v1alpha2/ExportRegistrationRequest.java | 342 +- .../ExportRegistrationRequestOrBuilder.java | 56 + .../v1alpha2/GetRegistrationRequest.java | 342 +- .../GetRegistrationRequestOrBuilder.java | 56 + .../v1alpha2/ListRegistrationsRequest.java | 536 +-- .../ListRegistrationsRequestOrBuilder.java | 56 +- .../v1alpha2/ListRegistrationsResponse.java | 441 ++- .../ListRegistrationsResponseOrBuilder.java | 45 +- .../cloud/domains/v1alpha2/LocationName.java | 0 .../domains/v1alpha2/ManagementSettings.java | 478 ++- .../v1alpha2/ManagementSettingsOrBuilder.java | 38 +- .../domains/v1alpha2/OperationMetadata.java | 734 ++-- .../v1alpha2/OperationMetadataOrBuilder.java | 70 +- .../v1alpha2/RegisterDomainRequest.java | 867 +++-- .../RegisterDomainRequestOrBuilder.java | 102 +- .../domains/v1alpha2/RegisterParameters.java | 821 ++-- .../v1alpha2/RegisterParametersOrBuilder.java | 77 +- .../cloud/domains/v1alpha2/Registration.java | 2143 +++++++---- .../domains/v1alpha2/RegistrationName.java | 0 .../v1alpha2/RegistrationOrBuilder.java | 255 +- .../ResetAuthorizationCodeRequest.java | 363 +- ...esetAuthorizationCodeRequestOrBuilder.java | 56 + .../RetrieveAuthorizationCodeRequest.java | 378 +- ...ieveAuthorizationCodeRequestOrBuilder.java | 56 + .../RetrieveRegisterParametersRequest.java | 457 ++- ...eveRegisterParametersRequestOrBuilder.java | 44 +- .../RetrieveRegisterParametersResponse.java | 390 +- ...veRegisterParametersResponseOrBuilder.java | 26 +- .../RetrieveTransferParametersRequest.java | 457 ++- ...eveTransferParametersRequestOrBuilder.java | 44 +- .../RetrieveTransferParametersResponse.java | 390 +- ...veTransferParametersResponseOrBuilder.java | 26 +- .../v1alpha2/SearchDomainsRequest.java | 421 +- .../SearchDomainsRequestOrBuilder.java | 44 +- .../v1alpha2/SearchDomainsResponse.java | 465 ++- .../SearchDomainsResponseOrBuilder.java | 48 +- .../v1alpha2/TransferDomainRequest.java | 847 ++-- .../TransferDomainRequestOrBuilder.java | 92 +- .../domains/v1alpha2/TransferLockState.java | 80 +- .../domains/v1alpha2/TransferParameters.java | 794 ++-- .../v1alpha2/TransferParametersOrBuilder.java | 86 +- .../v1alpha2/UpdateRegistrationRequest.java | 468 ++- .../UpdateRegistrationRequestOrBuilder.java | 43 +- .../cloud/domains/v1alpha2/domains.proto | 0 .../domains/v1beta1/AuthorizationCode.java | 311 +- .../v1beta1/AuthorizationCodeOrBuilder.java | 27 +- .../ConfigureContactSettingsRequest.java | 761 ++-- ...figureContactSettingsRequestOrBuilder.java | 81 +- .../v1beta1/ConfigureDnsSettingsRequest.java | 612 +-- .../ConfigureDnsSettingsRequestOrBuilder.java | 63 +- .../ConfigureManagementSettingsRequest.java | 622 +-- ...ureManagementSettingsRequestOrBuilder.java | 60 +- .../cloud/domains/v1beta1/ContactNotice.java | 75 +- .../cloud/domains/v1beta1/ContactPrivacy.java | 89 +- .../domains/v1beta1/ContactSettings.java | 1458 ++++--- .../v1beta1/ContactSettingsOrBuilder.java | 92 +- .../v1beta1/DeleteRegistrationRequest.java | 342 +- .../DeleteRegistrationRequestOrBuilder.java | 56 + .../cloud/domains/v1beta1/DnsSettings.java | 3365 ++++++++++------ .../domains/v1beta1/DnsSettingsOrBuilder.java | 52 +- .../cloud/domains/v1beta1/DomainNotice.java | 75 +- .../cloud/domains/v1beta1/DomainsProto.java | 807 ++++ .../v1beta1/ExportRegistrationRequest.java | 342 +- .../ExportRegistrationRequestOrBuilder.java | 56 + .../v1beta1/GetRegistrationRequest.java | 342 +- .../GetRegistrationRequestOrBuilder.java | 56 + .../v1beta1/ListRegistrationsRequest.java | 536 +-- .../ListRegistrationsRequestOrBuilder.java | 56 +- .../v1beta1/ListRegistrationsResponse.java | 441 ++- .../ListRegistrationsResponseOrBuilder.java | 45 +- .../cloud/domains/v1beta1/LocationName.java | 0 .../domains/v1beta1/ManagementSettings.java | 477 ++- .../v1beta1/ManagementSettingsOrBuilder.java | 38 +- .../domains/v1beta1/OperationMetadata.java | 734 ++-- .../v1beta1/OperationMetadataOrBuilder.java | 70 +- .../v1beta1/RegisterDomainRequest.java | 867 +++-- .../RegisterDomainRequestOrBuilder.java | 102 +- .../domains/v1beta1/RegisterParameters.java | 813 ++-- .../v1beta1/RegisterParametersOrBuilder.java | 77 +- .../cloud/domains/v1beta1/Registration.java | 2135 +++++++---- .../domains/v1beta1/RegistrationName.java | 0 .../v1beta1/RegistrationOrBuilder.java | 255 +- .../ResetAuthorizationCodeRequest.java | 360 +- ...esetAuthorizationCodeRequestOrBuilder.java | 56 + .../RetrieveAuthorizationCodeRequest.java | 374 +- ...ieveAuthorizationCodeRequestOrBuilder.java | 56 + .../RetrieveRegisterParametersRequest.java | 457 ++- ...eveRegisterParametersRequestOrBuilder.java | 44 +- .../RetrieveRegisterParametersResponse.java | 390 +- ...veRegisterParametersResponseOrBuilder.java | 26 +- .../RetrieveTransferParametersRequest.java | 457 ++- ...eveTransferParametersRequestOrBuilder.java | 44 +- .../RetrieveTransferParametersResponse.java | 390 +- ...veTransferParametersResponseOrBuilder.java | 26 +- .../domains/v1beta1/SearchDomainsRequest.java | 421 +- .../SearchDomainsRequestOrBuilder.java | 44 +- .../v1beta1/SearchDomainsResponse.java | 442 ++- .../SearchDomainsResponseOrBuilder.java | 33 +- .../v1beta1/TransferDomainRequest.java | 847 ++-- .../TransferDomainRequestOrBuilder.java | 92 +- .../domains/v1beta1/TransferLockState.java | 80 +- .../domains/v1beta1/TransferParameters.java | 788 ++-- .../v1beta1/TransferParametersOrBuilder.java | 86 +- .../v1beta1/UpdateRegistrationRequest.java | 468 ++- .../UpdateRegistrationRequestOrBuilder.java | 43 +- .../cloud/domains/v1beta1/domains.proto | 0 .../AsyncConfigureContactSettings.java | 0 .../AsyncConfigureContactSettingsLRO.java | 0 .../SyncConfigureContactSettings.java | 0 ...istrationnameContactsettingsFieldmask.java | 0 ...ettingsStringContactsettingsFieldmask.java | 0 .../AsyncConfigureDnsSettings.java | 0 .../AsyncConfigureDnsSettingsLRO.java | 0 .../SyncConfigureDnsSettings.java | 0 ...sRegistrationnameDnssettingsFieldmask.java | 0 ...DnsSettingsStringDnssettingsFieldmask.java | 0 .../AsyncConfigureManagementSettings.java | 0 .../AsyncConfigureManagementSettingsLRO.java | 0 .../SyncConfigureManagementSettings.java | 0 ...rationnameManagementsettingsFieldmask.java | 0 ...ingsStringManagementsettingsFieldmask.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncDeleteRegistration.java | 0 .../AsyncDeleteRegistrationLRO.java | 0 .../SyncDeleteRegistration.java | 0 ...yncDeleteRegistrationRegistrationname.java | 0 .../SyncDeleteRegistrationString.java | 0 .../AsyncExportRegistration.java | 0 .../AsyncExportRegistrationLRO.java | 0 .../SyncExportRegistration.java | 0 ...yncExportRegistrationRegistrationname.java | 0 .../SyncExportRegistrationString.java | 0 .../getregistration/AsyncGetRegistration.java | 0 .../getregistration/SyncGetRegistration.java | 0 .../SyncGetRegistrationRegistrationname.java | 0 .../SyncGetRegistrationString.java | 0 .../AsyncListRegistrations.java | 0 .../AsyncListRegistrationsPaged.java | 0 .../SyncListRegistrations.java | 0 .../SyncListRegistrationsLocationname.java | 0 .../SyncListRegistrationsString.java | 0 .../registerdomain/AsyncRegisterDomain.java | 0 .../AsyncRegisterDomainLRO.java | 0 .../registerdomain/SyncRegisterDomain.java | 0 ...erDomainLocationnameRegistrationMoney.java | 0 ...RegisterDomainStringRegistrationMoney.java | 0 .../AsyncResetAuthorizationCode.java | 0 .../SyncResetAuthorizationCode.java | 0 ...esetAuthorizationCodeRegistrationname.java | 0 .../SyncResetAuthorizationCodeString.java | 0 .../AsyncRetrieveAuthorizationCode.java | 0 .../SyncRetrieveAuthorizationCode.java | 0 ...ieveAuthorizationCodeRegistrationname.java | 0 .../SyncRetrieveAuthorizationCodeString.java | 0 .../AsyncRetrieveRegisterParameters.java | 0 .../SyncRetrieveRegisterParameters.java | 0 ...eRegisterParametersLocationnameString.java | 0 ...etrieveRegisterParametersStringString.java | 0 .../AsyncRetrieveTransferParameters.java | 0 .../SyncRetrieveTransferParameters.java | 0 ...eTransferParametersLocationnameString.java | 0 ...etrieveTransferParametersStringString.java | 0 .../searchdomains/AsyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../SyncSearchDomainsLocationnameString.java | 0 .../SyncSearchDomainsStringString.java | 0 .../transferdomain/AsyncTransferDomain.java | 0 .../AsyncTransferDomainLRO.java | 0 .../transferdomain/SyncTransferDomain.java | 0 ...ameRegistrationMoneyAuthorizationcode.java | 0 ...ingRegistrationMoneyAuthorizationcode.java | 0 .../AsyncUpdateRegistration.java | 0 .../AsyncUpdateRegistrationLRO.java | 0 .../SyncUpdateRegistration.java | 0 ...dateRegistrationRegistrationFieldmask.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../AsyncConfigureContactSettings.java | 0 .../AsyncConfigureContactSettingsLRO.java | 0 .../SyncConfigureContactSettings.java | 0 ...istrationnameContactsettingsFieldmask.java | 0 ...ettingsStringContactsettingsFieldmask.java | 0 .../AsyncConfigureDnsSettings.java | 0 .../AsyncConfigureDnsSettingsLRO.java | 0 .../SyncConfigureDnsSettings.java | 0 ...sRegistrationnameDnssettingsFieldmask.java | 0 ...DnsSettingsStringDnssettingsFieldmask.java | 0 .../AsyncConfigureManagementSettings.java | 0 .../AsyncConfigureManagementSettingsLRO.java | 0 .../SyncConfigureManagementSettings.java | 0 ...rationnameManagementsettingsFieldmask.java | 0 ...ingsStringManagementsettingsFieldmask.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncDeleteRegistration.java | 0 .../AsyncDeleteRegistrationLRO.java | 0 .../SyncDeleteRegistration.java | 0 ...yncDeleteRegistrationRegistrationname.java | 0 .../SyncDeleteRegistrationString.java | 0 .../AsyncExportRegistration.java | 0 .../AsyncExportRegistrationLRO.java | 0 .../SyncExportRegistration.java | 0 ...yncExportRegistrationRegistrationname.java | 0 .../SyncExportRegistrationString.java | 0 .../getregistration/AsyncGetRegistration.java | 0 .../getregistration/SyncGetRegistration.java | 0 .../SyncGetRegistrationRegistrationname.java | 0 .../SyncGetRegistrationString.java | 0 .../AsyncListRegistrations.java | 0 .../AsyncListRegistrationsPaged.java | 0 .../SyncListRegistrations.java | 0 .../SyncListRegistrationsLocationname.java | 0 .../SyncListRegistrationsString.java | 0 .../registerdomain/AsyncRegisterDomain.java | 0 .../AsyncRegisterDomainLRO.java | 0 .../registerdomain/SyncRegisterDomain.java | 0 ...erDomainLocationnameRegistrationMoney.java | 0 ...RegisterDomainStringRegistrationMoney.java | 0 .../AsyncResetAuthorizationCode.java | 0 .../SyncResetAuthorizationCode.java | 0 ...esetAuthorizationCodeRegistrationname.java | 0 .../SyncResetAuthorizationCodeString.java | 0 .../AsyncRetrieveAuthorizationCode.java | 0 .../SyncRetrieveAuthorizationCode.java | 0 ...ieveAuthorizationCodeRegistrationname.java | 0 .../SyncRetrieveAuthorizationCodeString.java | 0 .../AsyncRetrieveRegisterParameters.java | 0 .../SyncRetrieveRegisterParameters.java | 0 ...eRegisterParametersLocationnameString.java | 0 ...etrieveRegisterParametersStringString.java | 0 .../AsyncRetrieveTransferParameters.java | 0 .../SyncRetrieveTransferParameters.java | 0 ...eTransferParametersLocationnameString.java | 0 ...etrieveTransferParametersStringString.java | 0 .../searchdomains/AsyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../SyncSearchDomainsLocationnameString.java | 0 .../SyncSearchDomainsStringString.java | 0 .../transferdomain/AsyncTransferDomain.java | 0 .../AsyncTransferDomainLRO.java | 0 .../transferdomain/SyncTransferDomain.java | 0 ...ameRegistrationMoneyAuthorizationcode.java | 0 ...ingRegistrationMoneyAuthorizationcode.java | 0 .../AsyncUpdateRegistration.java | 0 .../AsyncUpdateRegistrationLRO.java | 0 .../SyncUpdateRegistration.java | 0 ...dateRegistrationRegistrationFieldmask.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../AsyncConfigureContactSettings.java | 0 .../AsyncConfigureContactSettingsLRO.java | 0 .../SyncConfigureContactSettings.java | 0 ...istrationnameContactsettingsFieldmask.java | 0 ...ettingsStringContactsettingsFieldmask.java | 0 .../AsyncConfigureDnsSettings.java | 0 .../AsyncConfigureDnsSettingsLRO.java | 0 .../SyncConfigureDnsSettings.java | 0 ...sRegistrationnameDnssettingsFieldmask.java | 0 ...DnsSettingsStringDnssettingsFieldmask.java | 0 .../AsyncConfigureManagementSettings.java | 0 .../AsyncConfigureManagementSettingsLRO.java | 0 .../SyncConfigureManagementSettings.java | 0 ...rationnameManagementsettingsFieldmask.java | 0 ...ingsStringManagementsettingsFieldmask.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncDeleteRegistration.java | 0 .../AsyncDeleteRegistrationLRO.java | 0 .../SyncDeleteRegistration.java | 0 ...yncDeleteRegistrationRegistrationname.java | 0 .../SyncDeleteRegistrationString.java | 0 .../AsyncExportRegistration.java | 0 .../AsyncExportRegistrationLRO.java | 0 .../SyncExportRegistration.java | 0 ...yncExportRegistrationRegistrationname.java | 0 .../SyncExportRegistrationString.java | 0 .../getregistration/AsyncGetRegistration.java | 0 .../getregistration/SyncGetRegistration.java | 0 .../SyncGetRegistrationRegistrationname.java | 0 .../SyncGetRegistrationString.java | 0 .../AsyncListRegistrations.java | 0 .../AsyncListRegistrationsPaged.java | 0 .../SyncListRegistrations.java | 0 .../SyncListRegistrationsLocationname.java | 0 .../SyncListRegistrationsString.java | 0 .../registerdomain/AsyncRegisterDomain.java | 0 .../AsyncRegisterDomainLRO.java | 0 .../registerdomain/SyncRegisterDomain.java | 0 ...erDomainLocationnameRegistrationMoney.java | 0 ...RegisterDomainStringRegistrationMoney.java | 0 .../AsyncResetAuthorizationCode.java | 0 .../SyncResetAuthorizationCode.java | 0 ...esetAuthorizationCodeRegistrationname.java | 0 .../SyncResetAuthorizationCodeString.java | 0 .../AsyncRetrieveAuthorizationCode.java | 0 .../SyncRetrieveAuthorizationCode.java | 0 ...ieveAuthorizationCodeRegistrationname.java | 0 .../SyncRetrieveAuthorizationCodeString.java | 0 .../AsyncRetrieveRegisterParameters.java | 0 .../SyncRetrieveRegisterParameters.java | 0 ...eRegisterParametersLocationnameString.java | 0 ...etrieveRegisterParametersStringString.java | 0 .../AsyncRetrieveTransferParameters.java | 0 .../SyncRetrieveTransferParameters.java | 0 ...eTransferParametersLocationnameString.java | 0 ...etrieveTransferParametersStringString.java | 0 .../searchdomains/AsyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../SyncSearchDomainsLocationnameString.java | 0 .../SyncSearchDomainsStringString.java | 0 .../transferdomain/AsyncTransferDomain.java | 0 .../AsyncTransferDomainLRO.java | 0 .../transferdomain/SyncTransferDomain.java | 0 ...ameRegistrationMoneyAuthorizationcode.java | 0 ...ingRegistrationMoneyAuthorizationcode.java | 0 .../AsyncUpdateRegistration.java | 0 .../AsyncUpdateRegistrationLRO.java | 0 .../SyncUpdateRegistration.java | 0 ...dateRegistrationRegistrationFieldmask.java | 0 .../searchdomains/SyncSearchDomains.java | 0 .../searchdomains/SyncSearchDomains.java | 0 470 files changed, 50206 insertions(+), 29236 deletions(-) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/DomainsClient.java (98%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/DomainsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java (99%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java (98%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java (98%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/gapic_metadata.json (100%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/package-info.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStub.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java (99%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsCallableFactory.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java (99%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsCallableFactory.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java (98%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java (98%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/package-info.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStub.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1/DomainsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1/DomainsClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1/MockDomains.java (100%) rename {owl-bot-staging/v1/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1/MockDomainsImpl.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientTest.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1alpha2/MockDomains.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1alpha2/MockDomainsImpl.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1beta1/MockDomains.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-domains => google-cloud-domains}/src/test/java/com/google/cloud/domains/v1beta1/MockDomainsImpl.java (100%) rename {owl-bot-staging/v1/grpc-google-cloud-domains-v1 => grpc-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java (50%) create mode 100644 grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java create mode 100644 grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ContactNotice.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ContactSettings.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java (65%) create mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/DnsSettings.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/DomainNotice.java (69%) create mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java (65%) create mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java (65%) create mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/Registration.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegistrationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java (65%) create mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java (64%) create mode 100644 proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/TransferLockState.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/TransferParameters.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-domains-v1 => proto-google-cloud-domains-v1}/src/main/proto/google/cloud/domains/v1/domains.proto (100%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java (68%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java (51%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java (72%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java (78%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java (72%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java (75%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java (67%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java (75%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java (58%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java (65%) create mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java (75%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java (77%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java (69%) create mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java (65%) create mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java (65%) create mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java (73%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java (74%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java (74%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/LocationName.java (100%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java (56%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java (71%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java (74%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java (75%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java (79%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java (76%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java (83%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java (68%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationName.java (100%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java (71%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java (63%) create mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java (61%) create mode 100644 proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java (63%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java (52%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java (64%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java (63%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java (63%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java (52%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java (64%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java (63%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java (50%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java (70%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java (59%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java (74%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java (80%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java (69%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java (75%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java (81%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java (69%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java (71%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2 => proto-google-cloud-domains-v1alpha2}/src/main/proto/google/cloud/domains/v1alpha2/domains.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java (51%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java (78%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java (75%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java (75%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java (59%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java (65%) create mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java (75%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java (80%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java (69%) create mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java (65%) create mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java (65%) create mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java (73%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java (74%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java (74%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/LocationName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java (56%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java (74%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java (75%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java (79%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java (76%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java (83%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/Registration.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegistrationName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java (64%) create mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java (62%) create mode 100644 proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java (63%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java (52%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java (64%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java (63%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java (63%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java (52%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java (64%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java (63%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java (50%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java (74%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java (80%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java (75%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java (81%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1 => proto-google-cloud-domains-v1beta1}/src/main/proto/google/cloud/domains/v1beta1/domains.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/AsyncGetRegistration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomain.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomain.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/AsyncSearchDomains.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomains.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsStringString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomain.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomainLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomain.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistration.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/domainssettings/searchdomains/SyncSearchDomains.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/domains/v1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettings.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistration.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistration.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistrationLRO.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistration.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/AsyncGetRegistration.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistration.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrations.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrationsPaged.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrations.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsLocationname.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomain.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomainLRO.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomain.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/AsyncSearchDomains.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomains.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsStringString.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomain.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomainLRO.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomain.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistration.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistration.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/domainssettings/searchdomains/SyncSearchDomains.java (100%) rename {owl-bot-staging/v1alpha2/samples => samples}/snippets/generated/com/google/cloud/domains/v1alpha2/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistration.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistration.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistration.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/AsyncGetRegistration.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistration.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrations.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrations.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomain.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomain.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/AsyncSearchDomains.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomains.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsStringString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomain.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomainLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomain.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistration.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistration.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/domainssettings/searchdomains/SyncSearchDomains.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/domains/v1beta1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java index 6127c5e4..ee5c3d8a 100644 --- a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java @@ -64,13 +64,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1304,9 +1304,9 @@ public final UnaryCallable getRegistration * use the appropriate custom update method: * *
    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1343,9 +1343,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1377,9 +1377,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1411,9 +1411,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -2127,9 +2127,9 @@ public final UnaryCallable exportRegistrat * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2174,9 +2174,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2218,9 +2218,9 @@ public final OperationFuture deleteRegistrationAsync(S * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2263,9 +2263,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2308,9 +2308,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2614,7 +2614,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRegistrationsPagedResponse extends AbstractPagedListResponse< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, + ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2635,7 +2638,9 @@ private ListRegistrationsPagedResponse(ListRegistrationsPage page) { public static class ListRegistrationsPage extends AbstractPage< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, ListRegistrationsPage> { private ListRegistrationsPage( @@ -2665,7 +2670,10 @@ public ApiFuture createPageAsync( public static class ListRegistrationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, + ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { private ListRegistrationsFixedSizeCollection( diff --git a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java index 8a17a2dd..e1b7cc49 100644 --- a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java @@ -29,7 +29,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.domains.v1.stub.DomainsStubSettings; @@ -46,9 +45,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/gapic_metadata.json b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/gapic_metadata.json rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/package-info.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/package-info.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStub.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStub.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStub.java diff --git a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java index 4a4e08b4..77bd965e 100644 --- a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/DomainsStubSettings.java @@ -87,9 +87,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -209,7 +209,8 @@ public Iterable extractResources(ListRegistrationsResponse payload ListRegistrationsRequest, ListRegistrationsResponse, ListRegistrationsPagedResponse> LIST_REGISTRATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListRegistrationsRequest, ListRegistrationsResponse, + ListRegistrationsRequest, + ListRegistrationsResponse, ListRegistrationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsCallableFactory.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsCallableFactory.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java index 4165afac..0c0deccc 100644 --- a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/GrpcDomainsStub.java @@ -54,7 +54,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsCallableFactory.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsCallableFactory.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java index 723002eb..ff46eff7 100644 --- a/owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/HttpJsonDomainsStub.java @@ -30,7 +30,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java similarity index 98% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java index b59ddf8b..44ea487d 100644 --- a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java @@ -64,13 +64,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1305,9 +1305,9 @@ public final UnaryCallable getRegistration * use the appropriate custom update method: * *
    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1344,9 +1344,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1378,9 +1378,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1412,9 +1412,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -2128,9 +2128,9 @@ public final UnaryCallable exportRegistrat * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2175,9 +2175,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2219,9 +2219,9 @@ public final OperationFuture deleteRegistrationAsync(S * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2264,9 +2264,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2309,9 +2309,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2615,7 +2615,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRegistrationsPagedResponse extends AbstractPagedListResponse< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, + ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2636,7 +2639,9 @@ private ListRegistrationsPagedResponse(ListRegistrationsPage page) { public static class ListRegistrationsPage extends AbstractPage< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, ListRegistrationsPage> { private ListRegistrationsPage( @@ -2666,7 +2671,10 @@ public ApiFuture createPageAsync( public static class ListRegistrationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, + ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { private ListRegistrationsFixedSizeCollection( diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java similarity index 98% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java index a9012e73..f7ff28d3 100644 --- a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsSettings.java @@ -29,7 +29,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.domains.v1alpha2.stub.DomainsStubSettings; @@ -46,9 +45,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/gapic_metadata.json b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/gapic_metadata.json rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/gapic_metadata.json diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/package-info.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/package-info.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/package-info.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/package-info.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStub.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStub.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStub.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStub.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java similarity index 99% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java index 54b123bb..3ffa9c48 100644 --- a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/DomainsStubSettings.java @@ -87,9 +87,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -210,7 +210,8 @@ public Iterable extractResources(ListRegistrationsResponse payload ListRegistrationsRequest, ListRegistrationsResponse, ListRegistrationsPagedResponse> LIST_REGISTRATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListRegistrationsRequest, ListRegistrationsResponse, + ListRegistrationsRequest, + ListRegistrationsResponse, ListRegistrationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsCallableFactory.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsCallableFactory.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsCallableFactory.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java similarity index 99% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java index 73f6df45..228b7369 100644 --- a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/GrpcDomainsStub.java @@ -55,7 +55,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/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsCallableFactory.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsCallableFactory.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsCallableFactory.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java similarity index 99% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java index 1ec6695b..7c7efb05 100644 --- a/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/HttpJsonDomainsStub.java @@ -30,7 +30,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java similarity index 98% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java index 3cde14c3..3f12438d 100644 --- a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java @@ -64,13 +64,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1305,9 +1305,9 @@ public final UnaryCallable getRegistration * use the appropriate custom update method: * *
    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1344,9 +1344,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1378,9 +1378,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -1412,9 +1412,9 @@ public final OperationFuture updateRegistration * use the appropriate custom update method: * *

    - *
  • To update management settings, see `ConfigureManagementSettings` - *
  • To update DNS configuration, see `ConfigureDnsSettings` - *
  • To update contact information, see `ConfigureContactSettings` + *
  • To update management settings, see `ConfigureManagementSettings` + *
  • To update DNS configuration, see `ConfigureDnsSettings` + *
  • To update contact information, see `ConfigureContactSettings` *
* *

Sample code: @@ -2128,9 +2128,9 @@ public final UnaryCallable exportRegistrat * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2175,9 +2175,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2219,9 +2219,9 @@ public final OperationFuture deleteRegistrationAsync(S * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2264,9 +2264,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2309,9 +2309,9 @@ public final OperationFuture deleteRegistrationAsync( * method works if: * *

    - *
  • `state` is `EXPORTED` with `expire_time` in the past - *
  • `state` is `REGISTRATION_FAILED` - *
  • `state` is `TRANSFER_FAILED` + *
  • `state` is `EXPORTED` with `expire_time` in the past + *
  • `state` is `REGISTRATION_FAILED` + *
  • `state` is `TRANSFER_FAILED` *
* *

When an active registration is successfully deleted, you can continue to use the domain in @@ -2615,7 +2615,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRegistrationsPagedResponse extends AbstractPagedListResponse< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, + ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2636,7 +2639,9 @@ private ListRegistrationsPagedResponse(ListRegistrationsPage page) { public static class ListRegistrationsPage extends AbstractPage< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, ListRegistrationsPage> { private ListRegistrationsPage( @@ -2666,7 +2671,10 @@ public ApiFuture createPageAsync( public static class ListRegistrationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, + ListRegistrationsPage, ListRegistrationsFixedSizeCollection> { private ListRegistrationsFixedSizeCollection( diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java similarity index 98% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java index eb5ec376..a3e4dad6 100644 --- a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsSettings.java @@ -29,7 +29,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.domains.v1beta1.stub.DomainsStubSettings; @@ -46,9 +45,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/gapic_metadata.json b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/gapic_metadata.json rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/package-info.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/package-info.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/package-info.java diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStub.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStub.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStub.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStub.java diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java index 940e55f1..46d9bb33 100644 --- a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/DomainsStubSettings.java @@ -87,9 +87,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -210,7 +210,8 @@ public Iterable extractResources(ListRegistrationsResponse payload ListRegistrationsRequest, ListRegistrationsResponse, ListRegistrationsPagedResponse> LIST_REGISTRATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListRegistrationsRequest, ListRegistrationsResponse, + ListRegistrationsRequest, + ListRegistrationsResponse, ListRegistrationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsCallableFactory.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsCallableFactory.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java index ce59fac9..0f88e7d0 100644 --- a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/GrpcDomainsStub.java @@ -55,7 +55,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/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsCallableFactory.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsCallableFactory.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java rename to google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java index 4f473573..4f68aa95 100644 --- a/owl-bot-staging/v1beta1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java +++ b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/HttpJsonDomainsStub.java @@ -30,7 +30,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientHttpJsonTest.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientHttpJsonTest.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientTest.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientTest.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1/DomainsClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomains.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomains.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomains.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomains.java diff --git a/owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomainsImpl.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomainsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomainsImpl.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1/MockDomainsImpl.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientHttpJsonTest.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientHttpJsonTest.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientTest.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientTest.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientTest.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/DomainsClientTest.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomains.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomains.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomains.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomains.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomainsImpl.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomainsImpl.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomainsImpl.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1alpha2/MockDomainsImpl.java diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientHttpJsonTest.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientHttpJsonTest.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientTest.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientTest.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/DomainsClientTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomains.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomains.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomains.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomains.java diff --git a/owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomainsImpl.java b/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomainsImpl.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomainsImpl.java rename to google-cloud-domains/src/test/java/com/google/cloud/domains/v1beta1/MockDomainsImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java b/grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java similarity index 50% rename from owl-bot-staging/v1/grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java rename to grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java index b45c7dab..ac5b10f3 100644 --- a/owl-bot-staging/v1/grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java +++ b/grpc-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.domains.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *

  * The Cloud Domains API enables management and configuration of domain names.
  * 
@@ -18,523 +35,749 @@ private DomainsGrpc() {} public static final String SERVICE_NAME = "google.cloud.domains.v1.Domains"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getSearchDomainsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.SearchDomainsRequest, + com.google.cloud.domains.v1.SearchDomainsResponse> + getSearchDomainsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchDomains", requestType = com.google.cloud.domains.v1.SearchDomainsRequest.class, responseType = com.google.cloud.domains.v1.SearchDomainsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchDomainsMethod() { - io.grpc.MethodDescriptor getSearchDomainsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.SearchDomainsRequest, + com.google.cloud.domains.v1.SearchDomainsResponse> + getSearchDomainsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.SearchDomainsRequest, + com.google.cloud.domains.v1.SearchDomainsResponse> + getSearchDomainsMethod; if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { synchronized (DomainsGrpc.class) { if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { - DomainsGrpc.getSearchDomainsMethod = getSearchDomainsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.SearchDomainsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.SearchDomainsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) - .build(); + DomainsGrpc.getSearchDomainsMethod = + getSearchDomainsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.SearchDomainsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.SearchDomainsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) + .build(); } } } return getSearchDomainsMethod; } - private static volatile io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse> + getRetrieveRegisterParametersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RetrieveRegisterParameters", requestType = com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.class, responseType = com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod() { - io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse> + getRetrieveRegisterParametersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse> + getRetrieveRegisterParametersMethod; + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) + == null) { synchronized (DomainsGrpc.class) { - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { - DomainsGrpc.getRetrieveRegisterParametersMethod = getRetrieveRegisterParametersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) - .build(); + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) + == null) { + DomainsGrpc.getRetrieveRegisterParametersMethod = + getRetrieveRegisterParametersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) + .build(); } } } return getRetrieveRegisterParametersMethod; } - private static volatile io.grpc.MethodDescriptor getRegisterDomainMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RegisterDomainRequest, com.google.longrunning.Operation> + getRegisterDomainMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RegisterDomain", requestType = com.google.cloud.domains.v1.RegisterDomainRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRegisterDomainMethod() { - io.grpc.MethodDescriptor getRegisterDomainMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RegisterDomainRequest, com.google.longrunning.Operation> + getRegisterDomainMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RegisterDomainRequest, com.google.longrunning.Operation> + getRegisterDomainMethod; if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { synchronized (DomainsGrpc.class) { if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { - DomainsGrpc.getRegisterDomainMethod = getRegisterDomainMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RegisterDomainRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) - .build(); + DomainsGrpc.getRegisterDomainMethod = + getRegisterDomainMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RegisterDomainRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) + .build(); } } } return getRegisterDomainMethod; } - private static volatile io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1.RetrieveTransferParametersResponse> + getRetrieveTransferParametersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RetrieveTransferParameters", requestType = com.google.cloud.domains.v1.RetrieveTransferParametersRequest.class, responseType = com.google.cloud.domains.v1.RetrieveTransferParametersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRetrieveTransferParametersMethod() { - io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1.RetrieveTransferParametersResponse> + getRetrieveTransferParametersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1.RetrieveTransferParametersResponse> + getRetrieveTransferParametersMethod; + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) + == null) { synchronized (DomainsGrpc.class) { - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { - DomainsGrpc.getRetrieveTransferParametersMethod = getRetrieveTransferParametersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RetrieveTransferParametersResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) - .build(); + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) + == null) { + DomainsGrpc.getRetrieveTransferParametersMethod = + getRetrieveTransferParametersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RetrieveTransferParametersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RetrieveTransferParametersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) + .build(); } } } return getRetrieveTransferParametersMethod; } - private static volatile io.grpc.MethodDescriptor getTransferDomainMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.TransferDomainRequest, com.google.longrunning.Operation> + getTransferDomainMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "TransferDomain", requestType = com.google.cloud.domains.v1.TransferDomainRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTransferDomainMethod() { - io.grpc.MethodDescriptor getTransferDomainMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.TransferDomainRequest, com.google.longrunning.Operation> + getTransferDomainMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.TransferDomainRequest, com.google.longrunning.Operation> + getTransferDomainMethod; if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { synchronized (DomainsGrpc.class) { if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { - DomainsGrpc.getTransferDomainMethod = getTransferDomainMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.TransferDomainRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) - .build(); + DomainsGrpc.getTransferDomainMethod = + getTransferDomainMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.TransferDomainRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) + .build(); } } } return getTransferDomainMethod; } - private static volatile io.grpc.MethodDescriptor getListRegistrationsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ListRegistrationsRequest, + com.google.cloud.domains.v1.ListRegistrationsResponse> + getListRegistrationsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListRegistrations", requestType = com.google.cloud.domains.v1.ListRegistrationsRequest.class, responseType = com.google.cloud.domains.v1.ListRegistrationsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRegistrationsMethod() { - io.grpc.MethodDescriptor getListRegistrationsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ListRegistrationsRequest, + com.google.cloud.domains.v1.ListRegistrationsResponse> + getListRegistrationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ListRegistrationsRequest, + com.google.cloud.domains.v1.ListRegistrationsResponse> + getListRegistrationsMethod; if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { synchronized (DomainsGrpc.class) { if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { - DomainsGrpc.getListRegistrationsMethod = getListRegistrationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ListRegistrationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ListRegistrationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) - .build(); + DomainsGrpc.getListRegistrationsMethod = + getListRegistrationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ListRegistrationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ListRegistrationsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) + .build(); } } } return getListRegistrationsMethod; } - private static volatile io.grpc.MethodDescriptor getGetRegistrationMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.GetRegistrationRequest, + com.google.cloud.domains.v1.Registration> + getGetRegistrationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetRegistration", requestType = com.google.cloud.domains.v1.GetRegistrationRequest.class, responseType = com.google.cloud.domains.v1.Registration.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRegistrationMethod() { - io.grpc.MethodDescriptor getGetRegistrationMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.GetRegistrationRequest, + com.google.cloud.domains.v1.Registration> + getGetRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.GetRegistrationRequest, + com.google.cloud.domains.v1.Registration> + getGetRegistrationMethod; if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { synchronized (DomainsGrpc.class) { if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { - DomainsGrpc.getGetRegistrationMethod = getGetRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.GetRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.Registration.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) - .build(); + DomainsGrpc.getGetRegistrationMethod = + getGetRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.GetRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.Registration.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) + .build(); } } } return getGetRegistrationMethod; } - private static volatile io.grpc.MethodDescriptor getUpdateRegistrationMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.UpdateRegistrationRequest, com.google.longrunning.Operation> + getUpdateRegistrationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateRegistration", requestType = com.google.cloud.domains.v1.UpdateRegistrationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRegistrationMethod() { - io.grpc.MethodDescriptor getUpdateRegistrationMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.UpdateRegistrationRequest, com.google.longrunning.Operation> + getUpdateRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.UpdateRegistrationRequest, com.google.longrunning.Operation> + getUpdateRegistrationMethod; if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { synchronized (DomainsGrpc.class) { if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { - DomainsGrpc.getUpdateRegistrationMethod = getUpdateRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.UpdateRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("UpdateRegistration")) - .build(); + DomainsGrpc.getUpdateRegistrationMethod = + getUpdateRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.UpdateRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("UpdateRegistration")) + .build(); } } } return getUpdateRegistrationMethod; } - private static volatile io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation> + getConfigureManagementSettingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ConfigureManagementSettings", requestType = com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getConfigureManagementSettingsMethod() { - io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; - if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation> + getConfigureManagementSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation> + getConfigureManagementSettingsMethod; + if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) + == null) { synchronized (DomainsGrpc.class) { - if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { - DomainsGrpc.getConfigureManagementSettingsMethod = getConfigureManagementSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) - .build(); + if ((getConfigureManagementSettingsMethod = + DomainsGrpc.getConfigureManagementSettingsMethod) + == null) { + DomainsGrpc.getConfigureManagementSettingsMethod = + getConfigureManagementSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) + .build(); } } } return getConfigureManagementSettingsMethod; } - private static volatile io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest, com.google.longrunning.Operation> + getConfigureDnsSettingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ConfigureDnsSettings", requestType = com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getConfigureDnsSettingsMethod() { - io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest, com.google.longrunning.Operation> + getConfigureDnsSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation> + getConfigureDnsSettingsMethod; if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { synchronized (DomainsGrpc.class) { if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { - DomainsGrpc.getConfigureDnsSettingsMethod = getConfigureDnsSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) - .build(); + DomainsGrpc.getConfigureDnsSettingsMethod = + getConfigureDnsSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) + .build(); } } } return getConfigureDnsSettingsMethod; } - private static volatile io.grpc.MethodDescriptor getConfigureContactSettingsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ConfigureContactSettingsRequest, + com.google.longrunning.Operation> + getConfigureContactSettingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ConfigureContactSettings", requestType = com.google.cloud.domains.v1.ConfigureContactSettingsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getConfigureContactSettingsMethod() { - io.grpc.MethodDescriptor getConfigureContactSettingsMethod; - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ConfigureContactSettingsRequest, + com.google.longrunning.Operation> + getConfigureContactSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ConfigureContactSettingsRequest, + com.google.longrunning.Operation> + getConfigureContactSettingsMethod; + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) + == null) { synchronized (DomainsGrpc.class) { - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { - DomainsGrpc.getConfigureContactSettingsMethod = getConfigureContactSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) - .build(); + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) + == null) { + DomainsGrpc.getConfigureContactSettingsMethod = + getConfigureContactSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ConfigureContactSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) + .build(); } } } return getConfigureContactSettingsMethod; } - private static volatile io.grpc.MethodDescriptor getExportRegistrationMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ExportRegistrationRequest, com.google.longrunning.Operation> + getExportRegistrationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ExportRegistration", requestType = com.google.cloud.domains.v1.ExportRegistrationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportRegistrationMethod() { - io.grpc.MethodDescriptor getExportRegistrationMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ExportRegistrationRequest, com.google.longrunning.Operation> + getExportRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ExportRegistrationRequest, com.google.longrunning.Operation> + getExportRegistrationMethod; if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { synchronized (DomainsGrpc.class) { if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { - DomainsGrpc.getExportRegistrationMethod = getExportRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ExportRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ExportRegistration")) - .build(); + DomainsGrpc.getExportRegistrationMethod = + getExportRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ExportRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ExportRegistration")) + .build(); } } } return getExportRegistrationMethod; } - private static volatile io.grpc.MethodDescriptor getDeleteRegistrationMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.DeleteRegistrationRequest, com.google.longrunning.Operation> + getDeleteRegistrationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteRegistration", requestType = com.google.cloud.domains.v1.DeleteRegistrationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRegistrationMethod() { - io.grpc.MethodDescriptor getDeleteRegistrationMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.DeleteRegistrationRequest, com.google.longrunning.Operation> + getDeleteRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.DeleteRegistrationRequest, com.google.longrunning.Operation> + getDeleteRegistrationMethod; if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { synchronized (DomainsGrpc.class) { if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { - DomainsGrpc.getDeleteRegistrationMethod = getDeleteRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.DeleteRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("DeleteRegistration")) - .build(); + DomainsGrpc.getDeleteRegistrationMethod = + getDeleteRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.DeleteRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("DeleteRegistration")) + .build(); } } } return getDeleteRegistrationMethod; } - private static volatile io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1.AuthorizationCode> + getRetrieveAuthorizationCodeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RetrieveAuthorizationCode", requestType = com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.class, responseType = com.google.cloud.domains.v1.AuthorizationCode.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod() { - io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1.AuthorizationCode> + getRetrieveAuthorizationCodeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1.AuthorizationCode> + getRetrieveAuthorizationCodeMethod; + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) + == null) { synchronized (DomainsGrpc.class) { - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { - DomainsGrpc.getRetrieveAuthorizationCodeMethod = getRetrieveAuthorizationCodeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) - .build(); + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) + == null) { + DomainsGrpc.getRetrieveAuthorizationCodeMethod = + getRetrieveAuthorizationCodeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) + .build(); } } } return getRetrieveAuthorizationCodeMethod; } - private static volatile io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1.AuthorizationCode> + getResetAuthorizationCodeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ResetAuthorizationCode", requestType = com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.class, responseType = com.google.cloud.domains.v1.AuthorizationCode.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getResetAuthorizationCodeMethod() { - io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1.AuthorizationCode> + getResetAuthorizationCodeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1.AuthorizationCode> + getResetAuthorizationCodeMethod; if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { synchronized (DomainsGrpc.class) { - if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { - DomainsGrpc.getResetAuthorizationCodeMethod = getResetAuthorizationCodeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) - .build(); + if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) + == null) { + DomainsGrpc.getResetAuthorizationCodeMethod = + getResetAuthorizationCodeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) + .build(); } } } return getResetAuthorizationCodeMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static DomainsStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsStub(channel, callOptions); + } + }; return DomainsStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static DomainsBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static DomainsBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsBlockingStub(channel, callOptions); + } + }; return DomainsBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DomainsFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DomainsFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsFutureStub(channel, callOptions); + } + }; return DomainsFutureStub.newStub(factory, channel); } /** + * + * *
    * The Cloud Domains API enables management and configuration of domain names.
    * 
*/ - public static abstract class DomainsImplBase implements io.grpc.BindableService { + public abstract static class DomainsImplBase implements io.grpc.BindableService { /** + * + * *
      * Searches for available domain names similar to the provided query.
      * Availability results from this method are approximate; call
@@ -542,23 +785,33 @@ public static abstract class DomainsImplBase implements io.grpc.BindableService
      * availability.
      * 
*/ - public void searchDomains(com.google.cloud.domains.v1.SearchDomainsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchDomainsMethod(), responseObserver); + public void searchDomains( + com.google.cloud.domains.v1.SearchDomainsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchDomainsMethod(), responseObserver); } /** + * + * *
      * Gets parameters needed to register a new domain name, including price and
      * up-to-date availability. Use the returned values to call `RegisterDomain`.
      * 
*/ - public void retrieveRegisterParameters(com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveRegisterParametersMethod(), responseObserver); + public void retrieveRegisterParameters( + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRetrieveRegisterParametersMethod(), responseObserver); } /** + * + * *
      * Registers a new domain name and creates a corresponding `Registration`
      * resource.
@@ -573,12 +826,16 @@ public void retrieveRegisterParameters(com.google.cloud.domains.v1.RetrieveRegis
      * resource and retry registration.
      * 
*/ - public void registerDomain(com.google.cloud.domains.v1.RegisterDomainRequest request, + public void registerDomain( + com.google.cloud.domains.v1.RegisterDomainRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterDomainMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRegisterDomainMethod(), responseObserver); } /** + * + * *
      * Gets parameters needed to transfer a domain name from another registrar to
      * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
@@ -586,12 +843,17 @@ public void registerDomain(com.google.cloud.domains.v1.RegisterDomainRequest req
      * Use the returned values to call `TransferDomain`.
      * 
*/ - public void retrieveTransferParameters(com.google.cloud.domains.v1.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveTransferParametersMethod(), responseObserver); + public void retrieveTransferParameters( + com.google.cloud.domains.v1.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRetrieveTransferParametersMethod(), responseObserver); } /** + * + * *
      * Transfers a domain name from another registrar to Cloud Domains.  For
      * domains managed by Google Domains, transferring to Cloud Domains is not
@@ -612,32 +874,45 @@ public void retrieveTransferParameters(com.google.cloud.domains.v1.RetrieveTrans
      * the resource and retry the transfer.
      * 
*/ - public void transferDomain(com.google.cloud.domains.v1.TransferDomainRequest request, + public void transferDomain( + com.google.cloud.domains.v1.TransferDomainRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTransferDomainMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTransferDomainMethod(), responseObserver); } /** + * + * *
      * Lists the `Registration` resources in a project.
      * 
*/ - public void listRegistrations(com.google.cloud.domains.v1.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRegistrationsMethod(), responseObserver); + public void listRegistrations( + com.google.cloud.domains.v1.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRegistrationsMethod(), responseObserver); } /** + * + * *
      * Gets the details of a `Registration` resource.
      * 
*/ - public void getRegistration(com.google.cloud.domains.v1.GetRegistrationRequest request, + public void getRegistration( + com.google.cloud.domains.v1.GetRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRegistrationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRegistrationMethod(), responseObserver); } /** + * + * *
      * Updates select fields of a `Registration` resource, notably `labels`. To
      * update other fields, use the appropriate custom update method:
@@ -646,43 +921,59 @@ public void getRegistration(com.google.cloud.domains.v1.GetRegistrationRequest r
      * * To update contact information, see `ConfigureContactSettings`
      * 
*/ - public void updateRegistration(com.google.cloud.domains.v1.UpdateRegistrationRequest request, + public void updateRegistration( + com.google.cloud.domains.v1.UpdateRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRegistrationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRegistrationMethod(), responseObserver); } /** + * + * *
      * Updates a `Registration`'s management settings.
      * 
*/ - public void configureManagementSettings(com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request, + public void configureManagementSettings( + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureManagementSettingsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getConfigureManagementSettingsMethod(), responseObserver); } /** + * + * *
      * Updates a `Registration`'s DNS settings.
      * 
*/ - public void configureDnsSettings(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request, + public void configureDnsSettings( + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureDnsSettingsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getConfigureDnsSettingsMethod(), responseObserver); } /** + * + * *
      * Updates a `Registration`'s contact settings. Some changes require
      * confirmation by the domain's registrant contact .
      * 
*/ - public void configureContactSettings(com.google.cloud.domains.v1.ConfigureContactSettingsRequest request, + public void configureContactSettings( + com.google.cloud.domains.v1.ConfigureContactSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureContactSettingsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getConfigureContactSettingsMethod(), responseObserver); } /** + * + * *
      * Exports a `Registration` resource, such that it is no longer managed by
      * Cloud Domains.
@@ -694,12 +985,16 @@ public void configureContactSettings(com.google.cloud.domains.v1.ConfigureContac
      * Domains.
      * 
*/ - public void exportRegistration(com.google.cloud.domains.v1.ExportRegistrationRequest request, + public void exportRegistration( + com.google.cloud.domains.v1.ExportRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportRegistrationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportRegistrationMethod(), responseObserver); } /** + * + * *
      * Deletes a `Registration` resource.
      * This method works on any `Registration` resource using [Subscription or
@@ -718,12 +1013,16 @@ public void exportRegistration(com.google.cloud.domains.v1.ExportRegistrationReq
      * Google Domains.
      * 
*/ - public void deleteRegistration(com.google.cloud.domains.v1.DeleteRegistrationRequest request, + public void deleteRegistration( + com.google.cloud.domains.v1.DeleteRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRegistrationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRegistrationMethod(), responseObserver); } /** + * + * *
      * Gets the authorization code of the `Registration` for the purpose of
      * transferring the domain to another registrar.
@@ -731,152 +1030,155 @@ public void deleteRegistration(com.google.cloud.domains.v1.DeleteRegistrationReq
      * domain registration.
      * 
*/ - public void retrieveAuthorizationCode(com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveAuthorizationCodeMethod(), responseObserver); + public void retrieveAuthorizationCode( + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRetrieveAuthorizationCodeMethod(), responseObserver); } /** + * + * *
      * Resets the authorization code of the `Registration` to a new random string.
      * You can call this method only after 60 days have elapsed since the initial
      * domain registration.
      * 
*/ - public void resetAuthorizationCode(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetAuthorizationCodeMethod(), responseObserver); + public void resetAuthorizationCode( + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResetAuthorizationCodeMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getSearchDomainsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.SearchDomainsRequest, - com.google.cloud.domains.v1.SearchDomainsResponse>( - this, METHODID_SEARCH_DOMAINS))) + getSearchDomainsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.SearchDomainsRequest, + com.google.cloud.domains.v1.SearchDomainsResponse>( + this, METHODID_SEARCH_DOMAINS))) .addMethod( - getRetrieveRegisterParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse>( - this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) + getRetrieveRegisterParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse>( + this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) .addMethod( - getRegisterDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.RegisterDomainRequest, - com.google.longrunning.Operation>( - this, METHODID_REGISTER_DOMAIN))) + getRegisterDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.RegisterDomainRequest, + com.google.longrunning.Operation>(this, METHODID_REGISTER_DOMAIN))) .addMethod( - getRetrieveTransferParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1.RetrieveTransferParametersResponse>( - this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) + getRetrieveTransferParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1.RetrieveTransferParametersResponse>( + this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) .addMethod( - getTransferDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.TransferDomainRequest, - com.google.longrunning.Operation>( - this, METHODID_TRANSFER_DOMAIN))) + getTransferDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.TransferDomainRequest, + com.google.longrunning.Operation>(this, METHODID_TRANSFER_DOMAIN))) .addMethod( - getListRegistrationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ListRegistrationsRequest, - com.google.cloud.domains.v1.ListRegistrationsResponse>( - this, METHODID_LIST_REGISTRATIONS))) + getListRegistrationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ListRegistrationsRequest, + com.google.cloud.domains.v1.ListRegistrationsResponse>( + this, METHODID_LIST_REGISTRATIONS))) .addMethod( - getGetRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.GetRegistrationRequest, - com.google.cloud.domains.v1.Registration>( - this, METHODID_GET_REGISTRATION))) + getGetRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.GetRegistrationRequest, + com.google.cloud.domains.v1.Registration>(this, METHODID_GET_REGISTRATION))) .addMethod( - getUpdateRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.UpdateRegistrationRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_REGISTRATION))) + getUpdateRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.UpdateRegistrationRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_REGISTRATION))) .addMethod( - getConfigureManagementSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) + getConfigureManagementSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) .addMethod( - getConfigureDnsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_DNS_SETTINGS))) + getConfigureDnsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation>(this, METHODID_CONFIGURE_DNS_SETTINGS))) .addMethod( - getConfigureContactSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ConfigureContactSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_CONTACT_SETTINGS))) + getConfigureContactSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ConfigureContactSettingsRequest, + com.google.longrunning.Operation>(this, METHODID_CONFIGURE_CONTACT_SETTINGS))) .addMethod( - getExportRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ExportRegistrationRequest, - com.google.longrunning.Operation>( - this, METHODID_EXPORT_REGISTRATION))) + getExportRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ExportRegistrationRequest, + com.google.longrunning.Operation>(this, METHODID_EXPORT_REGISTRATION))) .addMethod( - getDeleteRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.DeleteRegistrationRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REGISTRATION))) + getDeleteRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.DeleteRegistrationRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REGISTRATION))) .addMethod( - getRetrieveAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1.AuthorizationCode>( - this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) + getRetrieveAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1.AuthorizationCode>( + this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) .addMethod( - getResetAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1.AuthorizationCode>( - this, METHODID_RESET_AUTHORIZATION_CODE))) + getResetAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1.AuthorizationCode>( + this, METHODID_RESET_AUTHORIZATION_CODE))) .build(); } } /** + * + * *
    * The Cloud Domains API enables management and configuration of domain names.
    * 
*/ public static final class DomainsStub extends io.grpc.stub.AbstractAsyncStub { - private DomainsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private DomainsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected DomainsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected DomainsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new DomainsStub(channel, callOptions); } /** + * + * *
      * Searches for available domain names similar to the provided query.
      * Availability results from this method are approximate; call
@@ -884,25 +1186,37 @@ protected DomainsStub build(
      * availability.
      * 
*/ - public void searchDomains(com.google.cloud.domains.v1.SearchDomainsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void searchDomains( + com.google.cloud.domains.v1.SearchDomainsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets parameters needed to register a new domain name, including price and
      * up-to-date availability. Use the returned values to call `RegisterDomain`.
      * 
*/ - public void retrieveRegisterParameters(com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void retrieveRegisterParameters( + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Registers a new domain name and creates a corresponding `Registration`
      * resource.
@@ -917,13 +1231,18 @@ public void retrieveRegisterParameters(com.google.cloud.domains.v1.RetrieveRegis
      * resource and retry registration.
      * 
*/ - public void registerDomain(com.google.cloud.domains.v1.RegisterDomainRequest request, + public void registerDomain( + com.google.cloud.domains.v1.RegisterDomainRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets parameters needed to transfer a domain name from another registrar to
      * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
@@ -931,13 +1250,19 @@ public void registerDomain(com.google.cloud.domains.v1.RegisterDomainRequest req
      * Use the returned values to call `TransferDomain`.
      * 
*/ - public void retrieveTransferParameters(com.google.cloud.domains.v1.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void retrieveTransferParameters( + com.google.cloud.domains.v1.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Transfers a domain name from another registrar to Cloud Domains.  For
      * domains managed by Google Domains, transferring to Cloud Domains is not
@@ -958,35 +1283,51 @@ public void retrieveTransferParameters(com.google.cloud.domains.v1.RetrieveTrans
      * the resource and retry the transfer.
      * 
*/ - public void transferDomain(com.google.cloud.domains.v1.TransferDomainRequest request, + public void transferDomain( + com.google.cloud.domains.v1.TransferDomainRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getTransferDomainMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the `Registration` resources in a project.
      * 
*/ - public void listRegistrations(com.google.cloud.domains.v1.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listRegistrations( + com.google.cloud.domains.v1.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the details of a `Registration` resource.
      * 
*/ - public void getRegistration(com.google.cloud.domains.v1.GetRegistrationRequest request, + public void getRegistration( + com.google.cloud.domains.v1.GetRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates select fields of a `Registration` resource, notably `labels`. To
      * update other fields, use the appropriate custom update method:
@@ -995,47 +1336,67 @@ public void getRegistration(com.google.cloud.domains.v1.GetRegistrationRequest r
      * * To update contact information, see `ConfigureContactSettings`
      * 
*/ - public void updateRegistration(com.google.cloud.domains.v1.UpdateRegistrationRequest request, + public void updateRegistration( + com.google.cloud.domains.v1.UpdateRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a `Registration`'s management settings.
      * 
*/ - public void configureManagementSettings(com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request, + public void configureManagementSettings( + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a `Registration`'s DNS settings.
      * 
*/ - public void configureDnsSettings(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request, + public void configureDnsSettings( + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a `Registration`'s contact settings. Some changes require
      * confirmation by the domain's registrant contact .
      * 
*/ - public void configureContactSettings(com.google.cloud.domains.v1.ConfigureContactSettingsRequest request, + public void configureContactSettings( + com.google.cloud.domains.v1.ConfigureContactSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Exports a `Registration` resource, such that it is no longer managed by
      * Cloud Domains.
@@ -1047,13 +1408,18 @@ public void configureContactSettings(com.google.cloud.domains.v1.ConfigureContac
      * Domains.
      * 
*/ - public void exportRegistration(com.google.cloud.domains.v1.ExportRegistrationRequest request, + public void exportRegistration( + com.google.cloud.domains.v1.ExportRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a `Registration` resource.
      * This method works on any `Registration` resource using [Subscription or
@@ -1072,13 +1438,18 @@ public void exportRegistration(com.google.cloud.domains.v1.ExportRegistrationReq
      * Google Domains.
      * 
*/ - public void deleteRegistration(com.google.cloud.domains.v1.DeleteRegistrationRequest request, + public void deleteRegistration( + com.google.cloud.domains.v1.DeleteRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the authorization code of the `Registration` for the purpose of
      * transferring the domain to another registrar.
@@ -1086,44 +1457,57 @@ public void deleteRegistration(com.google.cloud.domains.v1.DeleteRegistrationReq
      * domain registration.
      * 
*/ - public void retrieveAuthorizationCode(com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void retrieveAuthorizationCode( + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Resets the authorization code of the `Registration` to a new random string.
      * You can call this method only after 60 days have elapsed since the initial
      * domain registration.
      * 
*/ - public void resetAuthorizationCode(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void resetAuthorizationCode( + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * The Cloud Domains API enables management and configuration of domain names.
    * 
*/ - public static final class DomainsBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private DomainsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DomainsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DomainsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected DomainsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected DomainsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new DomainsBlockingStub(channel, callOptions); } /** + * + * *
      * Searches for available domain names similar to the provided query.
      * Availability results from this method are approximate; call
@@ -1131,23 +1515,30 @@ protected DomainsBlockingStub build(
      * availability.
      * 
*/ - public com.google.cloud.domains.v1.SearchDomainsResponse searchDomains(com.google.cloud.domains.v1.SearchDomainsRequest request) { + public com.google.cloud.domains.v1.SearchDomainsResponse searchDomains( + com.google.cloud.domains.v1.SearchDomainsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchDomainsMethod(), getCallOptions(), request); } /** + * + * *
      * Gets parameters needed to register a new domain name, including price and
      * up-to-date availability. Use the returned values to call `RegisterDomain`.
      * 
*/ - public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse retrieveRegisterParameters(com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request) { + public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse + retrieveRegisterParameters( + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRetrieveRegisterParametersMethod(), getCallOptions(), request); } /** + * + * *
      * Registers a new domain name and creates a corresponding `Registration`
      * resource.
@@ -1162,12 +1553,15 @@ public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse retrieveRe
      * resource and retry registration.
      * 
*/ - public com.google.longrunning.Operation registerDomain(com.google.cloud.domains.v1.RegisterDomainRequest request) { + public com.google.longrunning.Operation registerDomain( + com.google.cloud.domains.v1.RegisterDomainRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRegisterDomainMethod(), getCallOptions(), request); } /** + * + * *
      * Gets parameters needed to transfer a domain name from another registrar to
      * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
@@ -1175,12 +1569,16 @@ public com.google.longrunning.Operation registerDomain(com.google.cloud.domains.
      * Use the returned values to call `TransferDomain`.
      * 
*/ - public com.google.cloud.domains.v1.RetrieveTransferParametersResponse retrieveTransferParameters(com.google.cloud.domains.v1.RetrieveTransferParametersRequest request) { + public com.google.cloud.domains.v1.RetrieveTransferParametersResponse + retrieveTransferParameters( + com.google.cloud.domains.v1.RetrieveTransferParametersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRetrieveTransferParametersMethod(), getCallOptions(), request); } /** + * + * *
      * Transfers a domain name from another registrar to Cloud Domains.  For
      * domains managed by Google Domains, transferring to Cloud Domains is not
@@ -1201,32 +1599,41 @@ public com.google.cloud.domains.v1.RetrieveTransferParametersResponse retrieveTr
      * the resource and retry the transfer.
      * 
*/ - public com.google.longrunning.Operation transferDomain(com.google.cloud.domains.v1.TransferDomainRequest request) { + public com.google.longrunning.Operation transferDomain( + com.google.cloud.domains.v1.TransferDomainRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTransferDomainMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the `Registration` resources in a project.
      * 
*/ - public com.google.cloud.domains.v1.ListRegistrationsResponse listRegistrations(com.google.cloud.domains.v1.ListRegistrationsRequest request) { + public com.google.cloud.domains.v1.ListRegistrationsResponse listRegistrations( + com.google.cloud.domains.v1.ListRegistrationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListRegistrationsMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the details of a `Registration` resource.
      * 
*/ - public com.google.cloud.domains.v1.Registration getRegistration(com.google.cloud.domains.v1.GetRegistrationRequest request) { + public com.google.cloud.domains.v1.Registration getRegistration( + com.google.cloud.domains.v1.GetRegistrationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetRegistrationMethod(), getCallOptions(), request); } /** + * + * *
      * Updates select fields of a `Registration` resource, notably `labels`. To
      * update other fields, use the appropriate custom update method:
@@ -1235,43 +1642,55 @@ public com.google.cloud.domains.v1.Registration getRegistration(com.google.cloud
      * * To update contact information, see `ConfigureContactSettings`
      * 
*/ - public com.google.longrunning.Operation updateRegistration(com.google.cloud.domains.v1.UpdateRegistrationRequest request) { + public com.google.longrunning.Operation updateRegistration( + com.google.cloud.domains.v1.UpdateRegistrationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateRegistrationMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a `Registration`'s management settings.
      * 
*/ - public com.google.longrunning.Operation configureManagementSettings(com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request) { + public com.google.longrunning.Operation configureManagementSettings( + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getConfigureManagementSettingsMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a `Registration`'s DNS settings.
      * 
*/ - public com.google.longrunning.Operation configureDnsSettings(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request) { + public com.google.longrunning.Operation configureDnsSettings( + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getConfigureDnsSettingsMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a `Registration`'s contact settings. Some changes require
      * confirmation by the domain's registrant contact .
      * 
*/ - public com.google.longrunning.Operation configureContactSettings(com.google.cloud.domains.v1.ConfigureContactSettingsRequest request) { + public com.google.longrunning.Operation configureContactSettings( + com.google.cloud.domains.v1.ConfigureContactSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getConfigureContactSettingsMethod(), getCallOptions(), request); } /** + * + * *
      * Exports a `Registration` resource, such that it is no longer managed by
      * Cloud Domains.
@@ -1283,12 +1702,15 @@ public com.google.longrunning.Operation configureContactSettings(com.google.clou
      * Domains.
      * 
*/ - public com.google.longrunning.Operation exportRegistration(com.google.cloud.domains.v1.ExportRegistrationRequest request) { + public com.google.longrunning.Operation exportRegistration( + com.google.cloud.domains.v1.ExportRegistrationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportRegistrationMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a `Registration` resource.
      * This method works on any `Registration` resource using [Subscription or
@@ -1307,12 +1729,15 @@ public com.google.longrunning.Operation exportRegistration(com.google.cloud.doma
      * Google Domains.
      * 
*/ - public com.google.longrunning.Operation deleteRegistration(com.google.cloud.domains.v1.DeleteRegistrationRequest request) { + public com.google.longrunning.Operation deleteRegistration( + com.google.cloud.domains.v1.DeleteRegistrationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteRegistrationMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the authorization code of the `Registration` for the purpose of
      * transferring the domain to another registrar.
@@ -1320,42 +1745,49 @@ public com.google.longrunning.Operation deleteRegistration(com.google.cloud.doma
      * domain registration.
      * 
*/ - public com.google.cloud.domains.v1.AuthorizationCode retrieveAuthorizationCode(com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request) { + public com.google.cloud.domains.v1.AuthorizationCode retrieveAuthorizationCode( + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRetrieveAuthorizationCodeMethod(), getCallOptions(), request); } /** + * + * *
      * Resets the authorization code of the `Registration` to a new random string.
      * You can call this method only after 60 days have elapsed since the initial
      * domain registration.
      * 
*/ - public com.google.cloud.domains.v1.AuthorizationCode resetAuthorizationCode(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request) { + public com.google.cloud.domains.v1.AuthorizationCode resetAuthorizationCode( + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResetAuthorizationCodeMethod(), getCallOptions(), request); } } /** + * + * *
    * The Cloud Domains API enables management and configuration of domain names.
    * 
*/ - public static final class DomainsFutureStub extends io.grpc.stub.AbstractFutureStub { - private DomainsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DomainsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DomainsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected DomainsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new DomainsFutureStub(channel, callOptions); } /** + * + * *
      * Searches for available domain names similar to the provided query.
      * Availability results from this method are approximate; call
@@ -1363,25 +1795,32 @@ protected DomainsFutureStub build(
      * availability.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture searchDomains( - com.google.cloud.domains.v1.SearchDomainsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1.SearchDomainsResponse> + searchDomains(com.google.cloud.domains.v1.SearchDomainsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request); } /** + * + * *
      * Gets parameters needed to register a new domain name, including price and
      * up-to-date availability. Use the returned values to call `RegisterDomain`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture retrieveRegisterParameters( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse> + retrieveRegisterParameters( + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request); } /** + * + * *
      * Registers a new domain name and creates a corresponding `Registration`
      * resource.
@@ -1396,13 +1835,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture registerDomain(
-        com.google.cloud.domains.v1.RegisterDomainRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        registerDomain(com.google.cloud.domains.v1.RegisterDomainRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets parameters needed to transfer a domain name from another registrar to
      * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
@@ -1410,13 +1851,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture retrieveTransferParameters(
-        com.google.cloud.domains.v1.RetrieveTransferParametersRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.domains.v1.RetrieveTransferParametersResponse>
+        retrieveTransferParameters(
+            com.google.cloud.domains.v1.RetrieveTransferParametersRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Transfers a domain name from another registrar to Cloud Domains.  For
      * domains managed by Google Domains, transferring to Cloud Domains is not
@@ -1437,35 +1882,43 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture transferDomain(
-        com.google.cloud.domains.v1.TransferDomainRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        transferDomain(com.google.cloud.domains.v1.TransferDomainRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists the `Registration` resources in a project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listRegistrations( - com.google.cloud.domains.v1.ListRegistrationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1.ListRegistrationsResponse> + listRegistrations(com.google.cloud.domains.v1.ListRegistrationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request); } /** + * + * *
      * Gets the details of a `Registration` resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getRegistration( - com.google.cloud.domains.v1.GetRegistrationRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1.Registration> + getRegistration(com.google.cloud.domains.v1.GetRegistrationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request); } /** + * + * *
      * Updates select fields of a `Registration` resource, notably `labels`. To
      * update other fields, use the appropriate custom update method:
@@ -1474,47 +1927,57 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateRegistration(
-        com.google.cloud.domains.v1.UpdateRegistrationRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateRegistration(com.google.cloud.domains.v1.UpdateRegistrationRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a `Registration`'s management settings.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture configureManagementSettings( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request) { + public com.google.common.util.concurrent.ListenableFuture + configureManagementSettings( + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a `Registration`'s DNS settings.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture configureDnsSettings( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request) { + public com.google.common.util.concurrent.ListenableFuture + configureDnsSettings(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a `Registration`'s contact settings. Some changes require
      * confirmation by the domain's registrant contact .
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture configureContactSettings( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest request) { + public com.google.common.util.concurrent.ListenableFuture + configureContactSettings( + com.google.cloud.domains.v1.ConfigureContactSettingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request); } /** + * + * *
      * Exports a `Registration` resource, such that it is no longer managed by
      * Cloud Domains.
@@ -1526,13 +1989,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture exportRegistration(
-        com.google.cloud.domains.v1.ExportRegistrationRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        exportRegistration(com.google.cloud.domains.v1.ExportRegistrationRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a `Registration` resource.
      * This method works on any `Registration` resource using [Subscription or
@@ -1551,13 +2016,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteRegistration(
-        com.google.cloud.domains.v1.DeleteRegistrationRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteRegistration(com.google.cloud.domains.v1.DeleteRegistrationRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the authorization code of the `Registration` for the purpose of
      * transferring the domain to another registrar.
@@ -1565,21 +2032,26 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture retrieveAuthorizationCode(
-        com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.domains.v1.AuthorizationCode>
+        retrieveAuthorizationCode(
+            com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Resets the authorization code of the `Registration` to a new random string.
      * You can call this method only after 60 days have elapsed since the initial
      * domain registration.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture resetAuthorizationCode( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1.AuthorizationCode> + resetAuthorizationCode(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request); } @@ -1601,11 +2073,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final DomainsImplBase serviceImpl; private final int methodId; @@ -1619,64 +2091,88 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_SEARCH_DOMAINS: - serviceImpl.searchDomains((com.google.cloud.domains.v1.SearchDomainsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.searchDomains( + (com.google.cloud.domains.v1.SearchDomainsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_RETRIEVE_REGISTER_PARAMETERS: - serviceImpl.retrieveRegisterParameters((com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.retrieveRegisterParameters( + (com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse>) + responseObserver); break; case METHODID_REGISTER_DOMAIN: - serviceImpl.registerDomain((com.google.cloud.domains.v1.RegisterDomainRequest) request, + serviceImpl.registerDomain( + (com.google.cloud.domains.v1.RegisterDomainRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RETRIEVE_TRANSFER_PARAMETERS: - serviceImpl.retrieveTransferParameters((com.google.cloud.domains.v1.RetrieveTransferParametersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.retrieveTransferParameters( + (com.google.cloud.domains.v1.RetrieveTransferParametersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1.RetrieveTransferParametersResponse>) + responseObserver); break; case METHODID_TRANSFER_DOMAIN: - serviceImpl.transferDomain((com.google.cloud.domains.v1.TransferDomainRequest) request, + serviceImpl.transferDomain( + (com.google.cloud.domains.v1.TransferDomainRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_REGISTRATIONS: - serviceImpl.listRegistrations((com.google.cloud.domains.v1.ListRegistrationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listRegistrations( + (com.google.cloud.domains.v1.ListRegistrationsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_GET_REGISTRATION: - serviceImpl.getRegistration((com.google.cloud.domains.v1.GetRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getRegistration( + (com.google.cloud.domains.v1.GetRegistrationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_UPDATE_REGISTRATION: - serviceImpl.updateRegistration((com.google.cloud.domains.v1.UpdateRegistrationRequest) request, + serviceImpl.updateRegistration( + (com.google.cloud.domains.v1.UpdateRegistrationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CONFIGURE_MANAGEMENT_SETTINGS: - serviceImpl.configureManagementSettings((com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) request, + serviceImpl.configureManagementSettings( + (com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CONFIGURE_DNS_SETTINGS: - serviceImpl.configureDnsSettings((com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) request, + serviceImpl.configureDnsSettings( + (com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CONFIGURE_CONTACT_SETTINGS: - serviceImpl.configureContactSettings((com.google.cloud.domains.v1.ConfigureContactSettingsRequest) request, + serviceImpl.configureContactSettings( + (com.google.cloud.domains.v1.ConfigureContactSettingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXPORT_REGISTRATION: - serviceImpl.exportRegistration((com.google.cloud.domains.v1.ExportRegistrationRequest) request, + serviceImpl.exportRegistration( + (com.google.cloud.domains.v1.ExportRegistrationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_REGISTRATION: - serviceImpl.deleteRegistration((com.google.cloud.domains.v1.DeleteRegistrationRequest) request, + serviceImpl.deleteRegistration( + (com.google.cloud.domains.v1.DeleteRegistrationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RETRIEVE_AUTHORIZATION_CODE: - serviceImpl.retrieveAuthorizationCode((com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.retrieveAuthorizationCode( + (com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_RESET_AUTHORIZATION_CODE: - serviceImpl.resetAuthorizationCode((com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.resetAuthorizationCode( + (com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -1694,8 +2190,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class DomainsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class DomainsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { DomainsBaseDescriptorSupplier() {} @java.lang.Override @@ -1709,13 +2206,11 @@ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() } } - private static final class DomainsFileDescriptorSupplier - extends DomainsBaseDescriptorSupplier { + private static final class DomainsFileDescriptorSupplier extends DomainsBaseDescriptorSupplier { DomainsFileDescriptorSupplier() {} } - private static final class DomainsMethodDescriptorSupplier - extends DomainsBaseDescriptorSupplier + private static final class DomainsMethodDescriptorSupplier extends DomainsBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; @@ -1737,24 +2232,26 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (DomainsGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) - .addMethod(getSearchDomainsMethod()) - .addMethod(getRetrieveRegisterParametersMethod()) - .addMethod(getRegisterDomainMethod()) - .addMethod(getRetrieveTransferParametersMethod()) - .addMethod(getTransferDomainMethod()) - .addMethod(getListRegistrationsMethod()) - .addMethod(getGetRegistrationMethod()) - .addMethod(getUpdateRegistrationMethod()) - .addMethod(getConfigureManagementSettingsMethod()) - .addMethod(getConfigureDnsSettingsMethod()) - .addMethod(getConfigureContactSettingsMethod()) - .addMethod(getExportRegistrationMethod()) - .addMethod(getDeleteRegistrationMethod()) - .addMethod(getRetrieveAuthorizationCodeMethod()) - .addMethod(getResetAuthorizationCodeMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) + .addMethod(getSearchDomainsMethod()) + .addMethod(getRetrieveRegisterParametersMethod()) + .addMethod(getRegisterDomainMethod()) + .addMethod(getRetrieveTransferParametersMethod()) + .addMethod(getTransferDomainMethod()) + .addMethod(getListRegistrationsMethod()) + .addMethod(getGetRegistrationMethod()) + .addMethod(getUpdateRegistrationMethod()) + .addMethod(getConfigureManagementSettingsMethod()) + .addMethod(getConfigureDnsSettingsMethod()) + .addMethod(getConfigureContactSettingsMethod()) + .addMethod(getExportRegistrationMethod()) + .addMethod(getDeleteRegistrationMethod()) + .addMethod(getRetrieveAuthorizationCodeMethod()) + .addMethod(getResetAuthorizationCodeMethod()) + .build(); } } } diff --git a/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java b/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java new file mode 100644 index 00000000..25970610 --- /dev/null +++ b/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java @@ -0,0 +1,2285 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.domains.v1alpha2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The Cloud Domains API enables management and configuration of domain names.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/domains/v1alpha2/domains.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DomainsGrpc { + + private DomainsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.domains.v1alpha2.Domains"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.SearchDomainsRequest, + com.google.cloud.domains.v1alpha2.SearchDomainsResponse> + getSearchDomainsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchDomains", + requestType = com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, + responseType = com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.SearchDomainsRequest, + com.google.cloud.domains.v1alpha2.SearchDomainsResponse> + getSearchDomainsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.SearchDomainsRequest, + com.google.cloud.domains.v1alpha2.SearchDomainsResponse> + getSearchDomainsMethod; + if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { + DomainsGrpc.getSearchDomainsMethod = + getSearchDomainsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.SearchDomainsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.SearchDomainsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) + .build(); + } + } + } + return getSearchDomainsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> + getRetrieveRegisterParametersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveRegisterParameters", + requestType = com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, + responseType = com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> + getRetrieveRegisterParametersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> + getRetrieveRegisterParametersMethod; + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) + == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) + == null) { + DomainsGrpc.getRetrieveRegisterParametersMethod = + getRetrieveRegisterParametersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) + .build(); + } + } + } + return getRetrieveRegisterParametersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RegisterDomainRequest, com.google.longrunning.Operation> + getRegisterDomainMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RegisterDomain", + requestType = com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RegisterDomainRequest, com.google.longrunning.Operation> + getRegisterDomainMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RegisterDomainRequest, + com.google.longrunning.Operation> + getRegisterDomainMethod; + if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { + DomainsGrpc.getRegisterDomainMethod = + getRegisterDomainMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RegisterDomainRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) + .build(); + } + } + } + return getRegisterDomainMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> + getRetrieveTransferParametersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveTransferParameters", + requestType = com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, + responseType = com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> + getRetrieveTransferParametersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> + getRetrieveTransferParametersMethod; + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) + == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) + == null) { + DomainsGrpc.getRetrieveTransferParametersMethod = + getRetrieveTransferParametersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) + .build(); + } + } + } + return getRetrieveTransferParametersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.TransferDomainRequest, com.google.longrunning.Operation> + getTransferDomainMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TransferDomain", + requestType = com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.TransferDomainRequest, com.google.longrunning.Operation> + getTransferDomainMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.TransferDomainRequest, + com.google.longrunning.Operation> + getTransferDomainMethod; + if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { + DomainsGrpc.getTransferDomainMethod = + getTransferDomainMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.TransferDomainRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) + .build(); + } + } + } + return getTransferDomainMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest, + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse> + getListRegistrationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRegistrations", + requestType = com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, + responseType = com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest, + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse> + getListRegistrationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest, + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse> + getListRegistrationsMethod; + if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { + DomainsGrpc.getListRegistrationsMethod = + getListRegistrationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) + .build(); + } + } + } + return getListRegistrationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.GetRegistrationRequest, + com.google.cloud.domains.v1alpha2.Registration> + getGetRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRegistration", + requestType = com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, + responseType = com.google.cloud.domains.v1alpha2.Registration.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.GetRegistrationRequest, + com.google.cloud.domains.v1alpha2.Registration> + getGetRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.GetRegistrationRequest, + com.google.cloud.domains.v1alpha2.Registration> + getGetRegistrationMethod; + if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { + DomainsGrpc.getGetRegistrationMethod = + getGetRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.GetRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) + .build(); + } + } + } + return getGetRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest, + com.google.longrunning.Operation> + getUpdateRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRegistration", + requestType = com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest, + com.google.longrunning.Operation> + getUpdateRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest, + com.google.longrunning.Operation> + getUpdateRegistrationMethod; + if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { + DomainsGrpc.getUpdateRegistrationMethod = + getUpdateRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("UpdateRegistration")) + .build(); + } + } + } + return getUpdateRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation> + getConfigureManagementSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureManagementSettings", + requestType = com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation> + getConfigureManagementSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation> + getConfigureManagementSettingsMethod; + if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) + == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureManagementSettingsMethod = + DomainsGrpc.getConfigureManagementSettingsMethod) + == null) { + DomainsGrpc.getConfigureManagementSettingsMethod = + getConfigureManagementSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) + .build(); + } + } + } + return getConfigureManagementSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation> + getConfigureDnsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureDnsSettings", + requestType = com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation> + getConfigureDnsSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation> + getConfigureDnsSettingsMethod; + if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { + DomainsGrpc.getConfigureDnsSettingsMethod = + getConfigureDnsSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) + .build(); + } + } + } + return getConfigureDnsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest, + com.google.longrunning.Operation> + getConfigureContactSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureContactSettings", + requestType = com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest, + com.google.longrunning.Operation> + getConfigureContactSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest, + com.google.longrunning.Operation> + getConfigureContactSettingsMethod; + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) + == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) + == null) { + DomainsGrpc.getConfigureContactSettingsMethod = + getConfigureContactSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) + .build(); + } + } + } + return getConfigureContactSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest, + com.google.longrunning.Operation> + getExportRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportRegistration", + requestType = com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest, + com.google.longrunning.Operation> + getExportRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest, + com.google.longrunning.Operation> + getExportRegistrationMethod; + if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { + DomainsGrpc.getExportRegistrationMethod = + getExportRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ExportRegistration")) + .build(); + } + } + } + return getExportRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest, + com.google.longrunning.Operation> + getDeleteRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRegistration", + requestType = com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest, + com.google.longrunning.Operation> + getDeleteRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest, + com.google.longrunning.Operation> + getDeleteRegistrationMethod; + if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { + DomainsGrpc.getDeleteRegistrationMethod = + getDeleteRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("DeleteRegistration")) + .build(); + } + } + } + return getDeleteRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1alpha2.AuthorizationCode> + getRetrieveAuthorizationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveAuthorizationCode", + requestType = com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, + responseType = com.google.cloud.domains.v1alpha2.AuthorizationCode.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1alpha2.AuthorizationCode> + getRetrieveAuthorizationCodeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1alpha2.AuthorizationCode> + getRetrieveAuthorizationCodeMethod; + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) + == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) + == null) { + DomainsGrpc.getRetrieveAuthorizationCodeMethod = + getRetrieveAuthorizationCodeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.AuthorizationCode + .getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) + .build(); + } + } + } + return getRetrieveAuthorizationCodeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1alpha2.AuthorizationCode> + getResetAuthorizationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResetAuthorizationCode", + requestType = com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, + responseType = com.google.cloud.domains.v1alpha2.AuthorizationCode.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1alpha2.AuthorizationCode> + getResetAuthorizationCodeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1alpha2.AuthorizationCode> + getResetAuthorizationCodeMethod; + if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) + == null) { + DomainsGrpc.getResetAuthorizationCodeMethod = + getResetAuthorizationCodeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1alpha2.AuthorizationCode + .getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) + .build(); + } + } + } + return getResetAuthorizationCodeMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DomainsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsStub(channel, callOptions); + } + }; + return DomainsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DomainsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsBlockingStub(channel, callOptions); + } + }; + return DomainsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DomainsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsFutureStub(channel, callOptions); + } + }; + return DomainsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public abstract static class DomainsImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public void searchDomains( + com.google.cloud.domains.v1alpha2.SearchDomainsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchDomainsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public void retrieveRegisterParameters( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRetrieveRegisterParametersMethod(), responseObserver); + } + + /** + * + * + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public void registerDomain( + com.google.cloud.domains.v1alpha2.RegisterDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRegisterDomainMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public void retrieveTransferParameters( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRetrieveTransferParametersMethod(), responseObserver); + } + + /** + * + * + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public void transferDomain( + com.google.cloud.domains.v1alpha2.TransferDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTransferDomainMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public void listRegistrations( + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRegistrationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public void getRegistration( + com.google.cloud.domains.v1alpha2.GetRegistrationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRegistrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public void updateRegistration( + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRegistrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public void configureManagementSettings( + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getConfigureManagementSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public void configureDnsSettings( + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getConfigureDnsSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public void configureContactSettings( + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getConfigureContactSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public void exportRegistration( + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportRegistrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public void deleteRegistration( + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRegistrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void retrieveAuthorizationCode( + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRetrieveAuthorizationCodeMethod(), responseObserver); + } + + /** + * + * + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void resetAuthorizationCode( + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResetAuthorizationCodeMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getSearchDomainsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.SearchDomainsRequest, + com.google.cloud.domains.v1alpha2.SearchDomainsResponse>( + this, METHODID_SEARCH_DOMAINS))) + .addMethod( + getRetrieveRegisterParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse>( + this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) + .addMethod( + getRegisterDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.RegisterDomainRequest, + com.google.longrunning.Operation>(this, METHODID_REGISTER_DOMAIN))) + .addMethod( + getRetrieveTransferParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse>( + this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) + .addMethod( + getTransferDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.TransferDomainRequest, + com.google.longrunning.Operation>(this, METHODID_TRANSFER_DOMAIN))) + .addMethod( + getListRegistrationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest, + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse>( + this, METHODID_LIST_REGISTRATIONS))) + .addMethod( + getGetRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.GetRegistrationRequest, + com.google.cloud.domains.v1alpha2.Registration>( + this, METHODID_GET_REGISTRATION))) + .addMethod( + getUpdateRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_REGISTRATION))) + .addMethod( + getConfigureManagementSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) + .addMethod( + getConfigureDnsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation>(this, METHODID_CONFIGURE_DNS_SETTINGS))) + .addMethod( + getConfigureContactSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest, + com.google.longrunning.Operation>(this, METHODID_CONFIGURE_CONTACT_SETTINGS))) + .addMethod( + getExportRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest, + com.google.longrunning.Operation>(this, METHODID_EXPORT_REGISTRATION))) + .addMethod( + getDeleteRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REGISTRATION))) + .addMethod( + getRetrieveAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1alpha2.AuthorizationCode>( + this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) + .addMethod( + getResetAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1alpha2.AuthorizationCode>( + this, METHODID_RESET_AUTHORIZATION_CODE))) + .build(); + } + } + + /** + * + * + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsStub extends io.grpc.stub.AbstractAsyncStub { + private DomainsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsStub(channel, callOptions); + } + + /** + * + * + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public void searchDomains( + com.google.cloud.domains.v1alpha2.SearchDomainsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public void retrieveRegisterParameters( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public void registerDomain( + com.google.cloud.domains.v1alpha2.RegisterDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public void retrieveTransferParameters( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public void transferDomain( + com.google.cloud.domains.v1alpha2.TransferDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTransferDomainMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public void listRegistrations( + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public void getRegistration( + com.google.cloud.domains.v1alpha2.GetRegistrationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public void updateRegistration( + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public void configureManagementSettings( + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public void configureDnsSettings( + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public void configureContactSettings( + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public void exportRegistration( + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public void deleteRegistration( + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void retrieveAuthorizationCode( + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void resetAuthorizationCode( + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DomainsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.SearchDomainsResponse searchDomains( + com.google.cloud.domains.v1alpha2.SearchDomainsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchDomainsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse + retrieveRegisterParameters( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveRegisterParametersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public com.google.longrunning.Operation registerDomain( + com.google.cloud.domains.v1alpha2.RegisterDomainRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRegisterDomainMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse + retrieveTransferParameters( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveTransferParametersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public com.google.longrunning.Operation transferDomain( + com.google.cloud.domains.v1alpha2.TransferDomainRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTransferDomainMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse listRegistrations( + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRegistrationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.Registration getRegistration( + com.google.cloud.domains.v1alpha2.GetRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRegistrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public com.google.longrunning.Operation updateRegistration( + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRegistrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public com.google.longrunning.Operation configureManagementSettings( + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureManagementSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public com.google.longrunning.Operation configureDnsSettings( + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureDnsSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public com.google.longrunning.Operation configureContactSettings( + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureContactSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public com.google.longrunning.Operation exportRegistration( + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportRegistrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public com.google.longrunning.Operation deleteRegistration( + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRegistrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.AuthorizationCode retrieveAuthorizationCode( + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveAuthorizationCodeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.cloud.domains.v1alpha2.AuthorizationCode resetAuthorizationCode( + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResetAuthorizationCodeMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DomainsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1alpha2.SearchDomainsResponse> + searchDomains(com.google.cloud.domains.v1alpha2.SearchDomainsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse> + retrieveRegisterParameters( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + registerDomain(com.google.cloud.domains.v1alpha2.RegisterDomainRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse> + retrieveTransferParameters( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + transferDomain(com.google.cloud.domains.v1alpha2.TransferDomainRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse> + listRegistrations(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1alpha2.Registration> + getRegistration(com.google.cloud.domains.v1alpha2.GetRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateRegistration(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + configureManagementSettings( + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + configureDnsSettings( + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + configureContactSettings( + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportRegistration(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRegistration(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1alpha2.AuthorizationCode> + retrieveAuthorizationCode( + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1alpha2.AuthorizationCode> + resetAuthorizationCode( + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_SEARCH_DOMAINS = 0; + private static final int METHODID_RETRIEVE_REGISTER_PARAMETERS = 1; + private static final int METHODID_REGISTER_DOMAIN = 2; + private static final int METHODID_RETRIEVE_TRANSFER_PARAMETERS = 3; + private static final int METHODID_TRANSFER_DOMAIN = 4; + private static final int METHODID_LIST_REGISTRATIONS = 5; + private static final int METHODID_GET_REGISTRATION = 6; + private static final int METHODID_UPDATE_REGISTRATION = 7; + private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 8; + private static final int METHODID_CONFIGURE_DNS_SETTINGS = 9; + private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 10; + private static final int METHODID_EXPORT_REGISTRATION = 11; + private static final int METHODID_DELETE_REGISTRATION = 12; + private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 13; + private static final int METHODID_RESET_AUTHORIZATION_CODE = 14; + + 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 DomainsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DomainsImplBase 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_SEARCH_DOMAINS: + serviceImpl.searchDomains( + (com.google.cloud.domains.v1alpha2.SearchDomainsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RETRIEVE_REGISTER_PARAMETERS: + serviceImpl.retrieveRegisterParameters( + (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse>) + responseObserver); + break; + case METHODID_REGISTER_DOMAIN: + serviceImpl.registerDomain( + (com.google.cloud.domains.v1alpha2.RegisterDomainRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RETRIEVE_TRANSFER_PARAMETERS: + serviceImpl.retrieveTransferParameters( + (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse>) + responseObserver); + break; + case METHODID_TRANSFER_DOMAIN: + serviceImpl.transferDomain( + (com.google.cloud.domains.v1alpha2.TransferDomainRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REGISTRATIONS: + serviceImpl.listRegistrations( + (com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse>) + responseObserver); + break; + case METHODID_GET_REGISTRATION: + serviceImpl.getRegistration( + (com.google.cloud.domains.v1alpha2.GetRegistrationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_REGISTRATION: + serviceImpl.updateRegistration( + (com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_MANAGEMENT_SETTINGS: + serviceImpl.configureManagementSettings( + (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_DNS_SETTINGS: + serviceImpl.configureDnsSettings( + (com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_CONTACT_SETTINGS: + serviceImpl.configureContactSettings( + (com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_REGISTRATION: + serviceImpl.exportRegistration( + (com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REGISTRATION: + serviceImpl.deleteRegistration( + (com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RETRIEVE_AUTHORIZATION_CODE: + serviceImpl.retrieveAuthorizationCode( + (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RESET_AUTHORIZATION_CODE: + serviceImpl.resetAuthorizationCode( + (com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class DomainsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DomainsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Domains"); + } + } + + private static final class DomainsFileDescriptorSupplier extends DomainsBaseDescriptorSupplier { + DomainsFileDescriptorSupplier() {} + } + + private static final class DomainsMethodDescriptorSupplier extends DomainsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DomainsMethodDescriptorSupplier(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 (DomainsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) + .addMethod(getSearchDomainsMethod()) + .addMethod(getRetrieveRegisterParametersMethod()) + .addMethod(getRegisterDomainMethod()) + .addMethod(getRetrieveTransferParametersMethod()) + .addMethod(getTransferDomainMethod()) + .addMethod(getListRegistrationsMethod()) + .addMethod(getGetRegistrationMethod()) + .addMethod(getUpdateRegistrationMethod()) + .addMethod(getConfigureManagementSettingsMethod()) + .addMethod(getConfigureDnsSettingsMethod()) + .addMethod(getConfigureContactSettingsMethod()) + .addMethod(getExportRegistrationMethod()) + .addMethod(getDeleteRegistrationMethod()) + .addMethod(getRetrieveAuthorizationCodeMethod()) + .addMethod(getResetAuthorizationCodeMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java b/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java new file mode 100644 index 00000000..be75f90e --- /dev/null +++ b/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java @@ -0,0 +1,2284 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.domains.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The Cloud Domains API enables management and configuration of domain names.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/domains/v1beta1/domains.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DomainsGrpc { + + private DomainsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.domains.v1beta1.Domains"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.SearchDomainsRequest, + com.google.cloud.domains.v1beta1.SearchDomainsResponse> + getSearchDomainsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchDomains", + requestType = com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, + responseType = com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.SearchDomainsRequest, + com.google.cloud.domains.v1beta1.SearchDomainsResponse> + getSearchDomainsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.SearchDomainsRequest, + com.google.cloud.domains.v1beta1.SearchDomainsResponse> + getSearchDomainsMethod; + if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { + DomainsGrpc.getSearchDomainsMethod = + getSearchDomainsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.SearchDomainsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.SearchDomainsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) + .build(); + } + } + } + return getSearchDomainsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> + getRetrieveRegisterParametersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveRegisterParameters", + requestType = com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, + responseType = com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> + getRetrieveRegisterParametersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> + getRetrieveRegisterParametersMethod; + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) + == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) + == null) { + DomainsGrpc.getRetrieveRegisterParametersMethod = + getRetrieveRegisterParametersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) + .build(); + } + } + } + return getRetrieveRegisterParametersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RegisterDomainRequest, com.google.longrunning.Operation> + getRegisterDomainMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RegisterDomain", + requestType = com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RegisterDomainRequest, com.google.longrunning.Operation> + getRegisterDomainMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RegisterDomainRequest, + com.google.longrunning.Operation> + getRegisterDomainMethod; + if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { + DomainsGrpc.getRegisterDomainMethod = + getRegisterDomainMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RegisterDomainRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) + .build(); + } + } + } + return getRegisterDomainMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> + getRetrieveTransferParametersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveTransferParameters", + requestType = com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, + responseType = com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> + getRetrieveTransferParametersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> + getRetrieveTransferParametersMethod; + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) + == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) + == null) { + DomainsGrpc.getRetrieveTransferParametersMethod = + getRetrieveTransferParametersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) + .build(); + } + } + } + return getRetrieveTransferParametersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.TransferDomainRequest, com.google.longrunning.Operation> + getTransferDomainMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TransferDomain", + requestType = com.google.cloud.domains.v1beta1.TransferDomainRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.TransferDomainRequest, com.google.longrunning.Operation> + getTransferDomainMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.TransferDomainRequest, + com.google.longrunning.Operation> + getTransferDomainMethod; + if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { + DomainsGrpc.getTransferDomainMethod = + getTransferDomainMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.TransferDomainRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) + .build(); + } + } + } + return getTransferDomainMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ListRegistrationsRequest, + com.google.cloud.domains.v1beta1.ListRegistrationsResponse> + getListRegistrationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRegistrations", + requestType = com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, + responseType = com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ListRegistrationsRequest, + com.google.cloud.domains.v1beta1.ListRegistrationsResponse> + getListRegistrationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ListRegistrationsRequest, + com.google.cloud.domains.v1beta1.ListRegistrationsResponse> + getListRegistrationsMethod; + if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { + DomainsGrpc.getListRegistrationsMethod = + getListRegistrationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ListRegistrationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ListRegistrationsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) + .build(); + } + } + } + return getListRegistrationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.GetRegistrationRequest, + com.google.cloud.domains.v1beta1.Registration> + getGetRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRegistration", + requestType = com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, + responseType = com.google.cloud.domains.v1beta1.Registration.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.GetRegistrationRequest, + com.google.cloud.domains.v1beta1.Registration> + getGetRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.GetRegistrationRequest, + com.google.cloud.domains.v1beta1.Registration> + getGetRegistrationMethod; + if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { + DomainsGrpc.getGetRegistrationMethod = + getGetRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.GetRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.Registration.getDefaultInstance())) + .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) + .build(); + } + } + } + return getGetRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest, + com.google.longrunning.Operation> + getUpdateRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRegistration", + requestType = com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest, + com.google.longrunning.Operation> + getUpdateRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest, + com.google.longrunning.Operation> + getUpdateRegistrationMethod; + if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { + DomainsGrpc.getUpdateRegistrationMethod = + getUpdateRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("UpdateRegistration")) + .build(); + } + } + } + return getUpdateRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation> + getConfigureManagementSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureManagementSettings", + requestType = com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation> + getConfigureManagementSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation> + getConfigureManagementSettingsMethod; + if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) + == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureManagementSettingsMethod = + DomainsGrpc.getConfigureManagementSettingsMethod) + == null) { + DomainsGrpc.getConfigureManagementSettingsMethod = + getConfigureManagementSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) + .build(); + } + } + } + return getConfigureManagementSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation> + getConfigureDnsSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureDnsSettings", + requestType = com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation> + getConfigureDnsSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation> + getConfigureDnsSettingsMethod; + if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { + DomainsGrpc.getConfigureDnsSettingsMethod = + getConfigureDnsSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) + .build(); + } + } + } + return getConfigureDnsSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest, + com.google.longrunning.Operation> + getConfigureContactSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ConfigureContactSettings", + requestType = com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest, + com.google.longrunning.Operation> + getConfigureContactSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest, + com.google.longrunning.Operation> + getConfigureContactSettingsMethod; + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) + == null) { + synchronized (DomainsGrpc.class) { + if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) + == null) { + DomainsGrpc.getConfigureContactSettingsMethod = + getConfigureContactSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) + .build(); + } + } + } + return getConfigureContactSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ExportRegistrationRequest, + com.google.longrunning.Operation> + getExportRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportRegistration", + requestType = com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ExportRegistrationRequest, + com.google.longrunning.Operation> + getExportRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ExportRegistrationRequest, + com.google.longrunning.Operation> + getExportRegistrationMethod; + if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { + DomainsGrpc.getExportRegistrationMethod = + getExportRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ExportRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ExportRegistration")) + .build(); + } + } + } + return getExportRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest, + com.google.longrunning.Operation> + getDeleteRegistrationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRegistration", + requestType = com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest, + com.google.longrunning.Operation> + getDeleteRegistrationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest, + com.google.longrunning.Operation> + getDeleteRegistrationMethod; + if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { + DomainsGrpc.getDeleteRegistrationMethod = + getDeleteRegistrationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("DeleteRegistration")) + .build(); + } + } + } + return getDeleteRegistrationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1beta1.AuthorizationCode> + getRetrieveAuthorizationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RetrieveAuthorizationCode", + requestType = com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, + responseType = com.google.cloud.domains.v1beta1.AuthorizationCode.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1beta1.AuthorizationCode> + getRetrieveAuthorizationCodeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1beta1.AuthorizationCode> + getRetrieveAuthorizationCodeMethod; + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) + == null) { + synchronized (DomainsGrpc.class) { + if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) + == null) { + DomainsGrpc.getRetrieveAuthorizationCodeMethod = + getRetrieveAuthorizationCodeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.AuthorizationCode + .getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) + .build(); + } + } + } + return getRetrieveAuthorizationCodeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1beta1.AuthorizationCode> + getResetAuthorizationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResetAuthorizationCode", + requestType = com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, + responseType = com.google.cloud.domains.v1beta1.AuthorizationCode.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1beta1.AuthorizationCode> + getResetAuthorizationCodeMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1beta1.AuthorizationCode> + getResetAuthorizationCodeMethod; + if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { + synchronized (DomainsGrpc.class) { + if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) + == null) { + DomainsGrpc.getResetAuthorizationCodeMethod = + getResetAuthorizationCodeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.domains.v1beta1.AuthorizationCode + .getDefaultInstance())) + .setSchemaDescriptor( + new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) + .build(); + } + } + } + return getResetAuthorizationCodeMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DomainsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsStub(channel, callOptions); + } + }; + return DomainsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DomainsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsBlockingStub(channel, callOptions); + } + }; + return DomainsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DomainsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DomainsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsFutureStub(channel, callOptions); + } + }; + return DomainsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public abstract static class DomainsImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public void searchDomains( + com.google.cloud.domains.v1beta1.SearchDomainsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchDomainsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public void retrieveRegisterParameters( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRetrieveRegisterParametersMethod(), responseObserver); + } + + /** + * + * + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public void registerDomain( + com.google.cloud.domains.v1beta1.RegisterDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRegisterDomainMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public void retrieveTransferParameters( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRetrieveTransferParametersMethod(), responseObserver); + } + + /** + * + * + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public void transferDomain( + com.google.cloud.domains.v1beta1.TransferDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTransferDomainMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public void listRegistrations( + com.google.cloud.domains.v1beta1.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRegistrationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public void getRegistration( + com.google.cloud.domains.v1beta1.GetRegistrationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRegistrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public void updateRegistration( + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRegistrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public void configureManagementSettings( + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getConfigureManagementSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public void configureDnsSettings( + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getConfigureDnsSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public void configureContactSettings( + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getConfigureContactSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public void exportRegistration( + com.google.cloud.domains.v1beta1.ExportRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportRegistrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public void deleteRegistration( + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRegistrationMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void retrieveAuthorizationCode( + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRetrieveAuthorizationCodeMethod(), responseObserver); + } + + /** + * + * + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void resetAuthorizationCode( + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResetAuthorizationCodeMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getSearchDomainsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.SearchDomainsRequest, + com.google.cloud.domains.v1beta1.SearchDomainsResponse>( + this, METHODID_SEARCH_DOMAINS))) + .addMethod( + getRetrieveRegisterParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest, + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse>( + this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) + .addMethod( + getRegisterDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.RegisterDomainRequest, + com.google.longrunning.Operation>(this, METHODID_REGISTER_DOMAIN))) + .addMethod( + getRetrieveTransferParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest, + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse>( + this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) + .addMethod( + getTransferDomainMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.TransferDomainRequest, + com.google.longrunning.Operation>(this, METHODID_TRANSFER_DOMAIN))) + .addMethod( + getListRegistrationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ListRegistrationsRequest, + com.google.cloud.domains.v1beta1.ListRegistrationsResponse>( + this, METHODID_LIST_REGISTRATIONS))) + .addMethod( + getGetRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.GetRegistrationRequest, + com.google.cloud.domains.v1beta1.Registration>( + this, METHODID_GET_REGISTRATION))) + .addMethod( + getUpdateRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_REGISTRATION))) + .addMethod( + getConfigureManagementSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) + .addMethod( + getConfigureDnsSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest, + com.google.longrunning.Operation>(this, METHODID_CONFIGURE_DNS_SETTINGS))) + .addMethod( + getConfigureContactSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest, + com.google.longrunning.Operation>(this, METHODID_CONFIGURE_CONTACT_SETTINGS))) + .addMethod( + getExportRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ExportRegistrationRequest, + com.google.longrunning.Operation>(this, METHODID_EXPORT_REGISTRATION))) + .addMethod( + getDeleteRegistrationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REGISTRATION))) + .addMethod( + getRetrieveAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest, + com.google.cloud.domains.v1beta1.AuthorizationCode>( + this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) + .addMethod( + getResetAuthorizationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest, + com.google.cloud.domains.v1beta1.AuthorizationCode>( + this, METHODID_RESET_AUTHORIZATION_CODE))) + .build(); + } + } + + /** + * + * + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsStub extends io.grpc.stub.AbstractAsyncStub { + private DomainsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsStub(channel, callOptions); + } + + /** + * + * + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public void searchDomains( + com.google.cloud.domains.v1beta1.SearchDomainsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public void retrieveRegisterParameters( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public void registerDomain( + com.google.cloud.domains.v1beta1.RegisterDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public void retrieveTransferParameters( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public void transferDomain( + com.google.cloud.domains.v1beta1.TransferDomainRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTransferDomainMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public void listRegistrations( + com.google.cloud.domains.v1beta1.ListRegistrationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public void getRegistration( + com.google.cloud.domains.v1beta1.GetRegistrationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public void updateRegistration( + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public void configureManagementSettings( + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public void configureDnsSettings( + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public void configureContactSettings( + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public void exportRegistration( + com.google.cloud.domains.v1beta1.ExportRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public void deleteRegistration( + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void retrieveAuthorizationCode( + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public void resetAuthorizationCode( + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DomainsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.SearchDomainsResponse searchDomains( + com.google.cloud.domains.v1beta1.SearchDomainsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchDomainsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse + retrieveRegisterParameters( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveRegisterParametersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public com.google.longrunning.Operation registerDomain( + com.google.cloud.domains.v1beta1.RegisterDomainRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRegisterDomainMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse + retrieveTransferParameters( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveTransferParametersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public com.google.longrunning.Operation transferDomain( + com.google.cloud.domains.v1beta1.TransferDomainRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTransferDomainMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.ListRegistrationsResponse listRegistrations( + com.google.cloud.domains.v1beta1.ListRegistrationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRegistrationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.Registration getRegistration( + com.google.cloud.domains.v1beta1.GetRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRegistrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public com.google.longrunning.Operation updateRegistration( + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRegistrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public com.google.longrunning.Operation configureManagementSettings( + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureManagementSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public com.google.longrunning.Operation configureDnsSettings( + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureDnsSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public com.google.longrunning.Operation configureContactSettings( + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getConfigureContactSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public com.google.longrunning.Operation exportRegistration( + com.google.cloud.domains.v1beta1.ExportRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportRegistrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public com.google.longrunning.Operation deleteRegistration( + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRegistrationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.AuthorizationCode retrieveAuthorizationCode( + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRetrieveAuthorizationCodeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.cloud.domains.v1beta1.AuthorizationCode resetAuthorizationCode( + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResetAuthorizationCodeMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Cloud Domains API enables management and configuration of domain names.
+   * 
+ */ + public static final class DomainsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DomainsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DomainsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DomainsFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Searches for available domain names similar to the provided query.
+     * Availability results from this method are approximate; call
+     * `RetrieveRegisterParameters` on a domain before registering to confirm
+     * availability.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1beta1.SearchDomainsResponse> + searchDomains(com.google.cloud.domains.v1beta1.SearchDomainsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets parameters needed to register a new domain name, including price and
+     * up-to-date availability. Use the returned values to call `RegisterDomain`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse> + retrieveRegisterParameters( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Registers a new domain name and creates a corresponding `Registration`
+     * resource.
+     * Call `RetrieveRegisterParameters` first to check availability of the domain
+     * name and determine parameters like price that are needed to build a call to
+     * this method.
+     * A successful call creates a `Registration` resource in state
+     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
+     * minutes, indicating that the domain was successfully registered. If the
+     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
+     * domain was not registered successfully, and you can safely delete the
+     * resource and retry registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + registerDomain(com.google.cloud.domains.v1beta1.RegisterDomainRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets parameters needed to transfer a domain name from another registrar to
+     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
+     * Domains is not supported.
+     * Use the returned values to call `TransferDomain`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse> + retrieveTransferParameters( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Transfers a domain name from another registrar to Cloud Domains.  For
+     * domains managed by Google Domains, transferring to Cloud Domains is not
+     * supported.
+     * Before calling this method, go to the domain's current registrar to unlock
+     * the domain for transfer and retrieve the domain's transfer authorization
+     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
+     * unlocked and to get values needed to build a call to this method.
+     * A successful call creates a `Registration` resource in state
+     * `TRANSFER_PENDING`. It can take several days to complete the transfer
+     * process. The registrant can often speed up this process by approving the
+     * transfer through the current registrar, either by clicking a link in an
+     * email from the registrar or by visiting the registrar's website.
+     * A few minutes after transfer approval, the resource transitions to state
+     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
+     * rejected or the request expires without being approved, the resource can
+     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
+     * the resource and retry the transfer.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + transferDomain(com.google.cloud.domains.v1beta1.TransferDomainRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists the `Registration` resources in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1beta1.ListRegistrationsResponse> + listRegistrations(com.google.cloud.domains.v1beta1.ListRegistrationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the details of a `Registration` resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1beta1.Registration> + getRegistration(com.google.cloud.domains.v1beta1.GetRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates select fields of a `Registration` resource, notably `labels`. To
+     * update other fields, use the appropriate custom update method:
+     * * To update management settings, see `ConfigureManagementSettings`
+     * * To update DNS configuration, see `ConfigureDnsSettings`
+     * * To update contact information, see `ConfigureContactSettings`
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateRegistration(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s management settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + configureManagementSettings( + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s DNS settings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + configureDnsSettings(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a `Registration`'s contact settings. Some changes require
+     * confirmation by the domain's registrant contact .
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + configureContactSettings( + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Exports a `Registration` resource, such that it is no longer managed by
+     * Cloud Domains.
+     * When an active domain is successfully exported, you can continue to use the
+     * domain in [Google Domains](https://domains.google/) until it expires. The
+     * calling user becomes the domain's sole owner in Google Domains, and
+     * permissions for the domain are subsequently managed there. The domain does
+     * not renew automatically unless the new owner sets up billing in Google
+     * Domains.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportRegistration(com.google.cloud.domains.v1beta1.ExportRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a `Registration` resource.
+     * This method works on any `Registration` resource using [Subscription or
+     * Commitment billing](/domains/pricing#billing-models), provided that the
+     * resource was created at least 1 day in the past.
+     * For `Registration` resources using
+     * [Monthly billing](/domains/pricing#billing-models), this method works if:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * * `state` is `TRANSFER_FAILED`
+     * When an active registration is successfully deleted, you can continue to
+     * use the domain in [Google Domains](https://domains.google/) until it
+     * expires. The calling user becomes the domain's sole owner in Google
+     * Domains, and permissions for the domain are subsequently managed there. The
+     * domain does not renew automatically unless the new owner sets up billing in
+     * Google Domains.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRegistration(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the authorization code of the `Registration` for the purpose of
+     * transferring the domain to another registrar.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1beta1.AuthorizationCode> + retrieveAuthorizationCode( + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Resets the authorization code of the `Registration` to a new random string.
+     * You can call this method only after 60 days have elapsed since the initial
+     * domain registration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.domains.v1beta1.AuthorizationCode> + resetAuthorizationCode( + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_SEARCH_DOMAINS = 0; + private static final int METHODID_RETRIEVE_REGISTER_PARAMETERS = 1; + private static final int METHODID_REGISTER_DOMAIN = 2; + private static final int METHODID_RETRIEVE_TRANSFER_PARAMETERS = 3; + private static final int METHODID_TRANSFER_DOMAIN = 4; + private static final int METHODID_LIST_REGISTRATIONS = 5; + private static final int METHODID_GET_REGISTRATION = 6; + private static final int METHODID_UPDATE_REGISTRATION = 7; + private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 8; + private static final int METHODID_CONFIGURE_DNS_SETTINGS = 9; + private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 10; + private static final int METHODID_EXPORT_REGISTRATION = 11; + private static final int METHODID_DELETE_REGISTRATION = 12; + private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 13; + private static final int METHODID_RESET_AUTHORIZATION_CODE = 14; + + 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 DomainsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DomainsImplBase 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_SEARCH_DOMAINS: + serviceImpl.searchDomains( + (com.google.cloud.domains.v1beta1.SearchDomainsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RETRIEVE_REGISTER_PARAMETERS: + serviceImpl.retrieveRegisterParameters( + (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse>) + responseObserver); + break; + case METHODID_REGISTER_DOMAIN: + serviceImpl.registerDomain( + (com.google.cloud.domains.v1beta1.RegisterDomainRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RETRIEVE_TRANSFER_PARAMETERS: + serviceImpl.retrieveTransferParameters( + (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse>) + responseObserver); + break; + case METHODID_TRANSFER_DOMAIN: + serviceImpl.transferDomain( + (com.google.cloud.domains.v1beta1.TransferDomainRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REGISTRATIONS: + serviceImpl.listRegistrations( + (com.google.cloud.domains.v1beta1.ListRegistrationsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.domains.v1beta1.ListRegistrationsResponse>) + responseObserver); + break; + case METHODID_GET_REGISTRATION: + serviceImpl.getRegistration( + (com.google.cloud.domains.v1beta1.GetRegistrationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_REGISTRATION: + serviceImpl.updateRegistration( + (com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_MANAGEMENT_SETTINGS: + serviceImpl.configureManagementSettings( + (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_DNS_SETTINGS: + serviceImpl.configureDnsSettings( + (com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CONFIGURE_CONTACT_SETTINGS: + serviceImpl.configureContactSettings( + (com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_REGISTRATION: + serviceImpl.exportRegistration( + (com.google.cloud.domains.v1beta1.ExportRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REGISTRATION: + serviceImpl.deleteRegistration( + (com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RETRIEVE_AUTHORIZATION_CODE: + serviceImpl.retrieveAuthorizationCode( + (com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RESET_AUTHORIZATION_CODE: + serviceImpl.resetAuthorizationCode( + (com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class DomainsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DomainsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Domains"); + } + } + + private static final class DomainsFileDescriptorSupplier extends DomainsBaseDescriptorSupplier { + DomainsFileDescriptorSupplier() {} + } + + private static final class DomainsMethodDescriptorSupplier extends DomainsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DomainsMethodDescriptorSupplier(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 (DomainsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) + .addMethod(getSearchDomainsMethod()) + .addMethod(getRetrieveRegisterParametersMethod()) + .addMethod(getRegisterDomainMethod()) + .addMethod(getRetrieveTransferParametersMethod()) + .addMethod(getTransferDomainMethod()) + .addMethod(getListRegistrationsMethod()) + .addMethod(getGetRegistrationMethod()) + .addMethod(getUpdateRegistrationMethod()) + .addMethod(getConfigureManagementSettingsMethod()) + .addMethod(getConfigureDnsSettingsMethod()) + .addMethod(getConfigureContactSettingsMethod()) + .addMethod(getExportRegistrationMethod()) + .addMethod(getDeleteRegistrationMethod()) + .addMethod(getRetrieveAuthorizationCodeMethod()) + .addMethod(getResetAuthorizationCodeMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java deleted file mode 100644 index 6f6da3cc..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public interface DeleteRegistrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DeleteRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java deleted file mode 100644 index b530855e..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java +++ /dev/null @@ -1,720 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public final class DomainsProto { - private DomainsProto() {} - 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_domains_v1_Registration_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_Registration_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DnsSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ContactSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_TransferParameters_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1_OperationMetadata_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/domains/v1/domains.proto\022" + - "\027google.cloud.domains.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/longrunning/" + - "operations.proto\032 google/protobuf/field_" + - "mask.proto\032\037google/protobuf/timestamp.pr" + - "oto\032\027google/type/money.proto\032 google/typ" + - "e/postal_address.proto\"\353\010\n\014Registration\022" + - "\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain_name\030\002 \001(\tB" + - "\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\0132\032.google.pr" + - "otobuf.TimestampB\003\340A\003\0224\n\013expire_time\030\006 \001" + - "(\0132\032.google.protobuf.TimestampB\003\340A\003\022?\n\005s" + - "tate\030\007 \001(\0162+.google.cloud.domains.v1.Reg" + - "istration.StateB\003\340A\003\022@\n\006issues\030\010 \003(\0162+.g" + - "oogle.cloud.domains.v1.Registration.Issu" + - "eB\003\340A\003\022A\n\006labels\030\t \003(\01321.google.cloud.do" + - "mains.v1.Registration.LabelsEntry\022H\n\023man" + - "agement_settings\030\n \001(\0132+.google.cloud.do" + - "mains.v1.ManagementSettings\022:\n\014dns_setti" + - "ngs\030\013 \001(\0132$.google.cloud.domains.v1.DnsS" + - "ettings\022G\n\020contact_settings\030\014 \001(\0132(.goog" + - "le.cloud.domains.v1.ContactSettingsB\003\340A\002" + - "\022O\n\030pending_contact_settings\030\r \001(\0132(.goo" + - "gle.cloud.domains.v1.ContactSettingsB\003\340A" + - "\003\022G\n\021supported_privacy\030\016 \003(\0162\'.google.cl" + - "oud.domains.v1.ContactPrivacyB\003\340A\003\032-\n\013La" + - "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + - "\001\"\245\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\030\n\024RE" + - "GISTRATION_PENDING\020\001\022\027\n\023REGISTRATION_FAI" + - "LED\020\002\022\024\n\020TRANSFER_PENDING\020\003\022\023\n\017TRANSFER_" + - "FAILED\020\004\022\n\n\006ACTIVE\020\006\022\r\n\tSUSPENDED\020\007\022\014\n\010E" + - "XPORTED\020\010\"I\n\005Issue\022\025\n\021ISSUE_UNSPECIFIED\020" + - "\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVERIFIED_EMA" + - "IL\020\002:n\352Ak\n#domains.googleapis.com/Regist" + - "ration\022Dprojects/{project}/locations/{lo" + - "cation}/registrations/{registration}\"\221\002\n" + - "\022ManagementSettings\022V\n\016renewal_method\030\003 " + - "\001(\01629.google.cloud.domains.v1.Management" + - "Settings.RenewalMethodB\003\340A\003\022G\n\023transfer_" + - "lock_state\030\004 \001(\0162*.google.cloud.domains." + - "v1.TransferLockState\"Z\n\rRenewalMethod\022\036\n" + - "\032RENEWAL_METHOD_UNSPECIFIED\020\000\022\025\n\021AUTOMAT" + - "IC_RENEWAL\020\001\022\022\n\016MANUAL_RENEWAL\020\002\"\236\n\n\013Dns" + - "Settings\022D\n\ncustom_dns\030\001 \001(\0132..google.cl" + - "oud.domains.v1.DnsSettings.CustomDnsH\000\022S" + - "\n\022google_domains_dns\030\002 \001(\01325.google.clou" + - "d.domains.v1.DnsSettings.GoogleDomainsDn" + - "sH\000\022E\n\014glue_records\030\004 \003(\0132/.google.cloud" + - ".domains.v1.DnsSettings.GlueRecord\032i\n\tCu" + - "stomDns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\002\022A\n\nds" + - "_records\030\002 \003(\0132-.google.cloud.domains.v1" + - ".DnsSettings.DsRecord\032\272\001\n\020GoogleDomainsD" + - "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\003\022C\n\010ds_stat" + - "e\030\002 \001(\0162,.google.cloud.domains.v1.DnsSet" + - "tings.DsStateB\003\340A\002\022F\n\nds_records\030\003 \003(\0132-" + - ".google.cloud.domains.v1.DnsSettings.DsR" + - "ecordB\003\340A\003\032\303\004\n\010DsRecord\022\017\n\007key_tag\030\001 \001(\005" + - "\022J\n\talgorithm\030\002 \001(\01627.google.cloud.domai" + - "ns.v1.DnsSettings.DsRecord.Algorithm\022M\n\013" + - "digest_type\030\003 \001(\01628.google.cloud.domains" + - ".v1.DnsSettings.DsRecord.DigestType\022\016\n\006d" + - "igest\030\004 \001(\t\"\237\002\n\tAlgorithm\022\031\n\025ALGORITHM_U" + - "NSPECIFIED\020\000\022\n\n\006RSAMD5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020" + - "\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA1\020\005\022\020\n\014DSANSEC3SHA1\020" + - "\006\022\024\n\020RSASHA1NSEC3SHA1\020\007\022\r\n\tRSASHA256\020\010\022\r" + - "\n\tRSASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256S" + - "HA256\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020" + - "\017\022\t\n\005ED448\020\020\022\r\n\010INDIRECT\020\374\001\022\017\n\nPRIVATEDN" + - "S\020\375\001\022\017\n\nPRIVATEOID\020\376\001\"Y\n\nDigestType\022\033\n\027D" + - "IGEST_TYPE_UNSPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SH" + - "A256\020\002\022\014\n\010GOST3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlue" + - "Record\022\026\n\thost_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_a" + - "ddresses\030\002 \003(\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y" + - "\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED\020\000\022\032\n\026D" + - "S_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_RECORDS_PU" + - "BLISHED\020\002B\016\n\014dns_provider\"\313\003\n\017ContactSet" + - "tings\022=\n\007privacy\030\001 \001(\0162\'.google.cloud.do" + - "mains.v1.ContactPrivacyB\003\340A\002\022Q\n\022registra" + - "nt_contact\030\002 \001(\01320.google.cloud.domains." + - "v1.ContactSettings.ContactB\003\340A\002\022L\n\radmin" + - "_contact\030\003 \001(\01320.google.cloud.domains.v1" + - ".ContactSettings.ContactB\003\340A\002\022P\n\021technic" + - "al_contact\030\004 \001(\01320.google.cloud.domains." + - "v1.ContactSettings.ContactB\003\340A\002\032\205\001\n\007Cont" + - "act\0227\n\016postal_address\030\001 \001(\0132\032.google.typ" + - "e.PostalAddressB\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002" + - "\022\031\n\014phone_number\030\003 \001(\tB\003\340A\002\022\022\n\nfax_numbe" + - "r\030\004 \001(\t\"g\n\024SearchDomainsRequest\022\022\n\005query" + - "\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!l" + - "ocations.googleapis.com/Location\"a\n\025Sear" + - "chDomainsResponse\022H\n\023register_parameters" + - "\030\001 \003(\0132+.google.cloud.domains.v1.Registe" + - "rParameters\"z\n!RetrieveRegisterParameter" + - "sRequest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010lo" + - "cation\030\002 \001(\tB)\340A\002\372A#\n!locations.googleap" + - "is.com/Location\"n\n\"RetrieveRegisterParam" + - "etersResponse\022H\n\023register_parameters\030\001 \001" + - "(\0132+.google.cloud.domains.v1.RegisterPar" + - "ameters\"\332\002\n\025RegisterDomainRequest\0229\n\006par" + - "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + - "com/Location\022@\n\014registration\030\002 \001(\0132%.goo" + - "gle.cloud.domains.v1.RegistrationB\003\340A\002\022=" + - "\n\016domain_notices\030\003 \003(\0162%.google.cloud.do" + - "mains.v1.DomainNotice\022?\n\017contact_notices" + - "\030\004 \003(\0162&.google.cloud.domains.v1.Contact" + - "Notice\022-\n\014yearly_price\030\005 \001(\0132\022.google.ty" + - "pe.MoneyB\003\340A\002\022\025\n\rvalidate_only\030\006 \001(\010\"z\n!" + - "RetrieveTransferParametersRequest\022\030\n\013dom" + - "ain_name\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340" + - "A\002\372A#\n!locations.googleapis.com/Location" + - "\"n\n\"RetrieveTransferParametersResponse\022H" + - "\n\023transfer_parameters\030\001 \001(\0132+.google.clo" + - "ud.domains.v1.TransferParameters\"\343\002\n\025Tra" + - "nsferDomainRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372" + - "A#\n!locations.googleapis.com/Location\022@\n" + - "\014registration\030\002 \001(\0132%.google.cloud.domai" + - "ns.v1.RegistrationB\003\340A\002\022?\n\017contact_notic" + - "es\030\003 \003(\0162&.google.cloud.domains.v1.Conta" + - "ctNotice\022-\n\014yearly_price\030\004 \001(\0132\022.google." + - "type.MoneyB\003\340A\002\022F\n\022authorization_code\030\005 " + - "\001(\0132*.google.cloud.domains.v1.Authorizat" + - "ionCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030ListR" + - "egistrationsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" + - "\372A#\n!locations.googleapis.com/Location\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\"r\n\031ListRegistrationsRespon" + - "se\022<\n\rregistrations\030\001 \003(\0132%.google.cloud" + - ".domains.v1.Registration\022\027\n\017next_page_to" + - "ken\030\002 \001(\t\"S\n\026GetRegistrationRequest\0229\n\004n" + - "ame\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.co" + - "m/Registration\"\216\001\n\031UpdateRegistrationReq" + - "uest\022;\n\014registration\030\001 \001(\0132%.google.clou" + - "d.domains.v1.Registration\0224\n\013update_mask" + - "\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"" + - "\347\001\n\"ConfigureManagementSettingsRequest\022A" + - "\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.go" + - "ogleapis.com/Registration\022H\n\023management_" + - "settings\030\002 \001(\0132+.google.cloud.domains.v1" + - ".ManagementSettings\0224\n\013update_mask\030\003 \001(\013" + - "2\032.google.protobuf.FieldMaskB\003\340A\002\"\351\001\n\033Co" + - "nfigureDnsSettingsRequest\022A\n\014registratio" + - "n\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com/" + - "Registration\022:\n\014dns_settings\030\002 \001(\0132$.goo" + - "gle.cloud.domains.v1.DnsSettings\0224\n\013upda" + - "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas" + - "kB\003\340A\002\022\025\n\rvalidate_only\030\004 \001(\010\"\266\002\n\037Config" + - "ureContactSettingsRequest\022A\n\014registratio" + - "n\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com/" + - "Registration\022B\n\020contact_settings\030\002 \001(\0132(" + - ".google.cloud.domains.v1.ContactSettings" + - "\0224\n\013update_mask\030\003 \001(\0132\032.google.protobuf." + - "FieldMaskB\003\340A\002\022?\n\017contact_notices\030\004 \003(\0162" + - "&.google.cloud.domains.v1.ContactNotice\022" + - "\025\n\rvalidate_only\030\005 \001(\010\"V\n\031ExportRegistra" + - "tionRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domai" + - "ns.googleapis.com/Registration\"V\n\031Delete" + - "RegistrationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A" + - "%\n#domains.googleapis.com/Registration\"e" + - "\n RetrieveAuthorizationCodeRequest\022A\n\014re" + - "gistration\030\001 \001(\tB+\340A\002\372A%\n#domains.google" + - "apis.com/Registration\"b\n\035ResetAuthorizat" + - "ionCodeRequest\022A\n\014registration\030\001 \001(\tB+\340A" + - "\002\372A%\n#domains.googleapis.com/Registratio" + - "n\"\222\003\n\022RegisterParameters\022\023\n\013domain_name\030" + - "\001 \001(\t\022N\n\014availability\030\002 \001(\01628.google.clo" + - "ud.domains.v1.RegisterParameters.Availab" + - "ility\022B\n\021supported_privacy\030\003 \003(\0162\'.googl" + - "e.cloud.domains.v1.ContactPrivacy\022=\n\016dom" + - "ain_notices\030\004 \003(\0162%.google.cloud.domains" + - ".v1.DomainNotice\022(\n\014yearly_price\030\005 \001(\0132\022" + - ".google.type.Money\"j\n\014Availability\022\034\n\030AV" + - "AILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE\020\001\022" + - "\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007UNK" + - "NOWN\020\004\"\221\002\n\022TransferParameters\022\023\n\013domain_" + - "name\030\001 \001(\t\022\031\n\021current_registrar\030\002 \001(\t\022\024\n" + - "\014name_servers\030\003 \003(\t\022G\n\023transfer_lock_sta" + - "te\030\004 \001(\0162*.google.cloud.domains.v1.Trans" + - "ferLockState\022B\n\021supported_privacy\030\005 \003(\0162" + - "\'.google.cloud.domains.v1.ContactPrivacy" + - "\022(\n\014yearly_price\030\006 \001(\0132\022.google.type.Mon" + - "ey\"!\n\021AuthorizationCode\022\014\n\004code\030\001 \001(\t\"\274\001" + - "\n\021OperationMetadata\022/\n\013create_time\030\001 \001(\013" + - "2\032.google.protobuf.Timestamp\022,\n\010end_time" + - "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006ta" + - "rget\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detai" + - "l\030\005 \001(\t\022\023\n\013api_version\030\006 \001(\t*\177\n\016ContactP" + - "rivacy\022\037\n\033CONTACT_PRIVACY_UNSPECIFIED\020\000\022" + - "\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVATE_CONT" + - "ACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DATA\020\003*A\n" + - "\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UNSPECIFI" + - "ED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rContactNotic" + - "e\022\036\n\032CONTACT_NOTICE_UNSPECIFIED\020\000\022\'\n#PUB" + - "LIC_CONTACT_DATA_ACKNOWLEDGEMENT\020\001*R\n\021Tr" + - "ansferLockState\022#\n\037TRANSFER_LOCK_STATE_U" + - "NSPECIFIED\020\000\022\014\n\010UNLOCKED\020\001\022\n\n\006LOCKED\020\0022\221" + - "\035\n\007Domains\022\312\001\n\rSearchDomains\022-.google.cl" + - "oud.domains.v1.SearchDomainsRequest\032..go" + - "ogle.cloud.domains.v1.SearchDomainsRespo" + - "nse\"Z\202\323\344\223\002C\022A/v1/{location=projects/*/lo" + - "cations/*}/registrations:searchDomains\332A" + - "\016location,query\022\204\002\n\032RetrieveRegisterPara" + - "meters\022:.google.cloud.domains.v1.Retriev" + - "eRegisterParametersRequest\032;.google.clou" + - "d.domains.v1.RetrieveRegisterParametersR" + - "esponse\"m\202\323\344\223\002P\022N/v1/{location=projects/" + - "*/locations/*}/registrations:retrieveReg" + - "isterParameters\332A\024location,domain_name\022\356" + - "\001\n\016RegisterDomain\022..google.cloud.domains" + - ".v1.RegisterDomainRequest\032\035.google.longr" + - "unning.Operation\"\214\001\202\323\344\223\002?\":/v1/{parent=p" + - "rojects/*/locations/*}/registrations:reg" + - "ister:\001*\332A parent,registration,yearly_pr" + - "ice\312A!\n\014Registration\022\021OperationMetadata\022" + - "\204\002\n\032RetrieveTransferParameters\022:.google." + - "cloud.domains.v1.RetrieveTransferParamet" + - "ersRequest\032;.google.cloud.domains.v1.Ret" + - "rieveTransferParametersResponse\"m\202\323\344\223\002P\022" + - "N/v1/{location=projects/*/locations/*}/r" + - "egistrations:retrieveTransferParameters\332" + - "A\024location,domain_name\022\201\002\n\016TransferDomai" + - "n\022..google.cloud.domains.v1.TransferDoma" + - "inRequest\032\035.google.longrunning.Operation" + - "\"\237\001\202\323\344\223\002?\":/v1/{parent=projects/*/locati" + - "ons/*}/registrations:transfer:\001*\332A3paren" + - "t,registration,yearly_price,authorizatio" + - "n_code\312A!\n\014Registration\022\021OperationMetada" + - "ta\022\276\001\n\021ListRegistrations\0221.google.cloud." + - "domains.v1.ListRegistrationsRequest\0322.go" + - "ogle.cloud.domains.v1.ListRegistrationsR" + - "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" + - "locations/*}/registrations\332A\006parent\022\253\001\n\017" + - "GetRegistration\022/.google.cloud.domains.v" + - "1.GetRegistrationRequest\032%.google.cloud." + - "domains.v1.Registration\"@\202\323\344\223\0023\0221/v1/{na" + - "me=projects/*/locations/*/registrations/" + - "*}\332A\004name\022\375\001\n\022UpdateRegistration\0222.googl" + - "e.cloud.domains.v1.UpdateRegistrationReq" + - "uest\032\035.google.longrunning.Operation\"\223\001\202\323" + - "\344\223\002N2>/v1/{registration.name=projects/*/" + - "locations/*/registrations/*}:\014registrati" + - "on\332A\030registration,update_mask\312A!\n\014Regist" + - "ration\022\021OperationMetadata\022\257\002\n\033ConfigureM" + - "anagementSettings\022;.google.cloud.domains" + - ".v1.ConfigureManagementSettingsRequest\032\035" + - ".google.longrunning.Operation\"\263\001\202\323\344\223\002Z\"U" + - "/v1/{registration=projects/*/locations/*" + - "/registrations/*}:configureManagementSet" + - "tings:\001*\332A,registration,management_setti" + - "ngs,update_mask\312A!\n\014Registration\022\021Operat" + - "ionMetadata\022\223\002\n\024ConfigureDnsSettings\0224.g" + - "oogle.cloud.domains.v1.ConfigureDnsSetti" + - "ngsRequest\032\035.google.longrunning.Operatio" + - "n\"\245\001\202\323\344\223\002S\"N/v1/{registration=projects/*" + - "/locations/*/registrations/*}:configureD" + - "nsSettings:\001*\332A%registration,dns_setting" + - "s,update_mask\312A!\n\014Registration\022\021Operatio" + - "nMetadata\022\243\002\n\030ConfigureContactSettings\0228" + - ".google.cloud.domains.v1.ConfigureContac" + - "tSettingsRequest\032\035.google.longrunning.Op" + - "eration\"\255\001\202\323\344\223\002W\"R/v1/{registration=proj" + - "ects/*/locations/*/registrations/*}:conf" + - "igureContactSettings:\001*\332A)registration,c" + - "ontact_settings,update_mask\312A!\n\014Registra" + - "tion\022\021OperationMetadata\022\327\001\n\022ExportRegist" + - "ration\0222.google.cloud.domains.v1.ExportR" + - "egistrationRequest\032\035.google.longrunning." + - "Operation\"n\202\323\344\223\002=\"8/v1/{name=projects/*/" + - "locations/*/registrations/*}:export:\001*\332A" + - "\004name\312A!\n\014Registration\022\021OperationMetadat" + - "a\022\326\001\n\022DeleteRegistration\0222.google.cloud." + - "domains.v1.DeleteRegistrationRequest\032\035.g" + - "oogle.longrunning.Operation\"m\202\323\344\223\0023*1/v1" + - "/{name=projects/*/locations/*/registrati" + - "ons/*}\332A\004name\312A*\n\025google.protobuf.Empty\022" + - "\021OperationMetadata\022\356\001\n\031RetrieveAuthoriza" + - "tionCode\0229.google.cloud.domains.v1.Retri" + - "eveAuthorizationCodeRequest\032*.google.clo" + - "ud.domains.v1.AuthorizationCode\"j\202\323\344\223\002U\022" + - "S/v1/{registration=projects/*/locations/" + - "*/registrations/*}:retrieveAuthorization" + - "Code\332A\014registration\022\350\001\n\026ResetAuthorizati" + - "onCode\0226.google.cloud.domains.v1.ResetAu" + - "thorizationCodeRequest\032*.google.cloud.do" + - "mains.v1.AuthorizationCode\"j\202\323\344\223\002U\"P/v1/" + - "{registration=projects/*/locations/*/reg" + - "istrations/*}:resetAuthorizationCode:\001*\332" + - "A\014registration\032J\312A\026domains.googleapis.co" + - "m\322A.https://www.googleapis.com/auth/clou" + - "d-platformBm\n\033com.google.cloud.domains.v" + - "1B\014DomainsProtoP\001Z>google.golang.org/gen" + - "proto/googleapis/cloud/domains/v1;domain" + - "sb\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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_domains_v1_Registration_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_Registration_descriptor, - new java.lang.String[] { "Name", "DomainName", "CreateTime", "ExpireTime", "State", "Issues", "Labels", "ManagementSettings", "DnsSettings", "ContactSettings", "PendingContactSettings", "SupportedPrivacy", }); - internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor = - internal_static_google_cloud_domains_v1_Registration_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1_Registration_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_domains_v1_ManagementSettings_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ManagementSettings_descriptor, - new java.lang.String[] { "RenewalMethod", "TransferLockState", }); - internal_static_google_cloud_domains_v1_DnsSettings_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DnsSettings_descriptor, - new java.lang.String[] { "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider", }); - internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor = - internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor, - new java.lang.String[] { "NameServers", "DsRecords", }); - internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor = - internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor, - new java.lang.String[] { "NameServers", "DsState", "DsRecords", }); - internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor = - internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor, - new java.lang.String[] { "KeyTag", "Algorithm", "DigestType", "Digest", }); - internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor = - internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor, - new java.lang.String[] { "HostName", "Ipv4Addresses", "Ipv6Addresses", }); - internal_static_google_cloud_domains_v1_ContactSettings_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ContactSettings_descriptor, - new java.lang.String[] { "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact", }); - internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor = - internal_static_google_cloud_domains_v1_ContactSettings_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor, - new java.lang.String[] { "PostalAddress", "Email", "PhoneNumber", "FaxNumber", }); - internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor, - new java.lang.String[] { "Query", "Location", }); - internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor, - new java.lang.String[] { "RegisterParameters", }); - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor, - new java.lang.String[] { "DomainName", "Location", }); - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor, - new java.lang.String[] { "RegisterParameters", }); - internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor, - new java.lang.String[] { "Parent", "Registration", "DomainNotices", "ContactNotices", "YearlyPrice", "ValidateOnly", }); - internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor, - new java.lang.String[] { "DomainName", "Location", }); - internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor, - new java.lang.String[] { "TransferParameters", }); - internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor, - new java.lang.String[] { "Parent", "Registration", "ContactNotices", "YearlyPrice", "AuthorizationCode", "ValidateOnly", }); - internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor, - new java.lang.String[] { "Registrations", "NextPageToken", }); - internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor, - new java.lang.String[] { "Registration", "UpdateMask", }); - internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor, - new java.lang.String[] { "Registration", "ManagementSettings", "UpdateMask", }); - internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor, - new java.lang.String[] { "Registration", "DnsSettings", "UpdateMask", "ValidateOnly", }); - internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor, - new java.lang.String[] { "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly", }); - internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor, - new java.lang.String[] { "Registration", }); - internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor, - new java.lang.String[] { "Registration", }); - internal_static_google_cloud_domains_v1_RegisterParameters_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_RegisterParameters_descriptor, - new java.lang.String[] { "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice", }); - internal_static_google_cloud_domains_v1_TransferParameters_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_TransferParameters_descriptor, - new java.lang.String[] { "DomainName", "CurrentRegistrar", "NameServers", "TransferLockState", "SupportedPrivacy", "YearlyPrice", }); - internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor, - new java.lang.String[] { "Code", }); - internal_static_google_cloud_domains_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java deleted file mode 100644 index 66accc9b..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public interface ExportRegistrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ExportRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java deleted file mode 100644 index 5ab3859a..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public interface GetRegistrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.GetRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index f0305f7d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public interface ResetAuthorizationCodeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ResetAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The registration. - */ - java.lang.String getRegistration(); - /** - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for registration. - */ - com.google.protobuf.ByteString - getRegistrationBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index 9ade7d1d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1/domains.proto - -package com.google.cloud.domains.v1; - -public interface RetrieveAuthorizationCodeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The registration. - */ - java.lang.String getRegistration(); - /** - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for registration. - */ - com.google.protobuf.ByteString - getRegistrationBytes(); -} diff --git a/owl-bot-staging/v1alpha2/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java b/owl-bot-staging/v1alpha2/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java deleted file mode 100644 index acf83641..00000000 --- a/owl-bot-staging/v1alpha2/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java +++ /dev/null @@ -1,1763 +0,0 @@ -package com.google.cloud.domains.v1alpha2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Cloud Domains API enables management and configuration of domain names.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/domains/v1alpha2/domains.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DomainsGrpc { - - private DomainsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.domains.v1alpha2.Domains"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getSearchDomainsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchDomains", - requestType = com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, - responseType = com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchDomainsMethod() { - io.grpc.MethodDescriptor getSearchDomainsMethod; - if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { - DomainsGrpc.getSearchDomainsMethod = getSearchDomainsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.SearchDomainsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) - .build(); - } - } - } - return getSearchDomainsMethod; - } - - private static volatile io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveRegisterParameters", - requestType = com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, - responseType = com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod() { - io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { - DomainsGrpc.getRetrieveRegisterParametersMethod = getRetrieveRegisterParametersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) - .build(); - } - } - } - return getRetrieveRegisterParametersMethod; - } - - private static volatile io.grpc.MethodDescriptor getRegisterDomainMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RegisterDomain", - requestType = com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRegisterDomainMethod() { - io.grpc.MethodDescriptor getRegisterDomainMethod; - if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { - DomainsGrpc.getRegisterDomainMethod = getRegisterDomainMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) - .build(); - } - } - } - return getRegisterDomainMethod; - } - - private static volatile io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveTransferParameters", - requestType = com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, - responseType = com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRetrieveTransferParametersMethod() { - io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { - DomainsGrpc.getRetrieveTransferParametersMethod = getRetrieveTransferParametersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) - .build(); - } - } - } - return getRetrieveTransferParametersMethod; - } - - private static volatile io.grpc.MethodDescriptor getTransferDomainMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TransferDomain", - requestType = com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTransferDomainMethod() { - io.grpc.MethodDescriptor getTransferDomainMethod; - if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { - DomainsGrpc.getTransferDomainMethod = getTransferDomainMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.TransferDomainRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) - .build(); - } - } - } - return getTransferDomainMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRegistrationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRegistrations", - requestType = com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, - responseType = com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRegistrationsMethod() { - io.grpc.MethodDescriptor getListRegistrationsMethod; - if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { - DomainsGrpc.getListRegistrationsMethod = getListRegistrationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) - .build(); - } - } - } - return getListRegistrationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRegistration", - requestType = com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, - responseType = com.google.cloud.domains.v1alpha2.Registration.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRegistrationMethod() { - io.grpc.MethodDescriptor getGetRegistrationMethod; - if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { - DomainsGrpc.getGetRegistrationMethod = getGetRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) - .build(); - } - } - } - return getGetRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRegistration", - requestType = com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRegistrationMethod() { - io.grpc.MethodDescriptor getUpdateRegistrationMethod; - if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { - DomainsGrpc.getUpdateRegistrationMethod = getUpdateRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("UpdateRegistration")) - .build(); - } - } - } - return getUpdateRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureManagementSettings", - requestType = com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getConfigureManagementSettingsMethod() { - io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; - if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { - DomainsGrpc.getConfigureManagementSettingsMethod = getConfigureManagementSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) - .build(); - } - } - } - return getConfigureManagementSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureDnsSettings", - requestType = com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getConfigureDnsSettingsMethod() { - io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; - if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { - DomainsGrpc.getConfigureDnsSettingsMethod = getConfigureDnsSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) - .build(); - } - } - } - return getConfigureDnsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getConfigureContactSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureContactSettings", - requestType = com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getConfigureContactSettingsMethod() { - io.grpc.MethodDescriptor getConfigureContactSettingsMethod; - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { - DomainsGrpc.getConfigureContactSettingsMethod = getConfigureContactSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) - .build(); - } - } - } - return getConfigureContactSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getExportRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportRegistration", - requestType = com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportRegistrationMethod() { - io.grpc.MethodDescriptor getExportRegistrationMethod; - if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { - DomainsGrpc.getExportRegistrationMethod = getExportRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ExportRegistration")) - .build(); - } - } - } - return getExportRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRegistration", - requestType = com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRegistrationMethod() { - io.grpc.MethodDescriptor getDeleteRegistrationMethod; - if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { - DomainsGrpc.getDeleteRegistrationMethod = getDeleteRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("DeleteRegistration")) - .build(); - } - } - } - return getDeleteRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveAuthorizationCode", - requestType = com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, - responseType = com.google.cloud.domains.v1alpha2.AuthorizationCode.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod() { - io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { - DomainsGrpc.getRetrieveAuthorizationCodeMethod = getRetrieveAuthorizationCodeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) - .build(); - } - } - } - return getRetrieveAuthorizationCodeMethod; - } - - private static volatile io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResetAuthorizationCode", - requestType = com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, - responseType = com.google.cloud.domains.v1alpha2.AuthorizationCode.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getResetAuthorizationCodeMethod() { - io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; - if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { - DomainsGrpc.getResetAuthorizationCodeMethod = getResetAuthorizationCodeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) - .build(); - } - } - } - return getResetAuthorizationCodeMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DomainsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsStub(channel, callOptions); - } - }; - return DomainsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DomainsBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsBlockingStub(channel, callOptions); - } - }; - return DomainsBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DomainsFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsFutureStub(channel, callOptions); - } - }; - return DomainsFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static abstract class DomainsImplBase implements io.grpc.BindableService { - - /** - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public void searchDomains(com.google.cloud.domains.v1alpha2.SearchDomainsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchDomainsMethod(), responseObserver); - } - - /** - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public void retrieveRegisterParameters(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveRegisterParametersMethod(), responseObserver); - } - - /** - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public void registerDomain(com.google.cloud.domains.v1alpha2.RegisterDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterDomainMethod(), responseObserver); - } - - /** - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public void retrieveTransferParameters(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveTransferParametersMethod(), responseObserver); - } - - /** - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public void transferDomain(com.google.cloud.domains.v1alpha2.TransferDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTransferDomainMethod(), responseObserver); - } - - /** - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public void listRegistrations(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRegistrationsMethod(), responseObserver); - } - - /** - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public void getRegistration(com.google.cloud.domains.v1alpha2.GetRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRegistrationMethod(), responseObserver); - } - - /** - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public void updateRegistration(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRegistrationMethod(), responseObserver); - } - - /** - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public void configureManagementSettings(com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureManagementSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public void configureDnsSettings(com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureDnsSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public void configureContactSettings(com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureContactSettingsMethod(), responseObserver); - } - - /** - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public void exportRegistration(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportRegistrationMethod(), responseObserver); - } - - /** - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public void deleteRegistration(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRegistrationMethod(), responseObserver); - } - - /** - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void retrieveAuthorizationCode(com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveAuthorizationCodeMethod(), responseObserver); - } - - /** - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void resetAuthorizationCode(com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetAuthorizationCodeMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getSearchDomainsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.SearchDomainsRequest, - com.google.cloud.domains.v1alpha2.SearchDomainsResponse>( - this, METHODID_SEARCH_DOMAINS))) - .addMethod( - getRetrieveRegisterParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse>( - this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) - .addMethod( - getRegisterDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.RegisterDomainRequest, - com.google.longrunning.Operation>( - this, METHODID_REGISTER_DOMAIN))) - .addMethod( - getRetrieveTransferParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse>( - this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) - .addMethod( - getTransferDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.TransferDomainRequest, - com.google.longrunning.Operation>( - this, METHODID_TRANSFER_DOMAIN))) - .addMethod( - getListRegistrationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest, - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse>( - this, METHODID_LIST_REGISTRATIONS))) - .addMethod( - getGetRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.GetRegistrationRequest, - com.google.cloud.domains.v1alpha2.Registration>( - this, METHODID_GET_REGISTRATION))) - .addMethod( - getUpdateRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_REGISTRATION))) - .addMethod( - getConfigureManagementSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) - .addMethod( - getConfigureDnsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_DNS_SETTINGS))) - .addMethod( - getConfigureContactSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_CONTACT_SETTINGS))) - .addMethod( - getExportRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest, - com.google.longrunning.Operation>( - this, METHODID_EXPORT_REGISTRATION))) - .addMethod( - getDeleteRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REGISTRATION))) - .addMethod( - getRetrieveAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1alpha2.AuthorizationCode>( - this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) - .addMethod( - getResetAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1alpha2.AuthorizationCode>( - this, METHODID_RESET_AUTHORIZATION_CODE))) - .build(); - } - } - - /** - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsStub extends io.grpc.stub.AbstractAsyncStub { - private DomainsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsStub(channel, callOptions); - } - - /** - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public void searchDomains(com.google.cloud.domains.v1alpha2.SearchDomainsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public void retrieveRegisterParameters(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public void registerDomain(com.google.cloud.domains.v1alpha2.RegisterDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public void retrieveTransferParameters(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public void transferDomain(com.google.cloud.domains.v1alpha2.TransferDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public void listRegistrations(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public void getRegistration(com.google.cloud.domains.v1alpha2.GetRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public void updateRegistration(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public void configureManagementSettings(com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public void configureDnsSettings(com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public void configureContactSettings(com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public void exportRegistration(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public void deleteRegistration(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void retrieveAuthorizationCode(com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void resetAuthorizationCode(com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private DomainsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsBlockingStub(channel, callOptions); - } - - /** - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.SearchDomainsResponse searchDomains(com.google.cloud.domains.v1alpha2.SearchDomainsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchDomainsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse retrieveRegisterParameters(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveRegisterParametersMethod(), getCallOptions(), request); - } - - /** - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public com.google.longrunning.Operation registerDomain(com.google.cloud.domains.v1alpha2.RegisterDomainRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRegisterDomainMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse retrieveTransferParameters(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveTransferParametersMethod(), getCallOptions(), request); - } - - /** - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public com.google.longrunning.Operation transferDomain(com.google.cloud.domains.v1alpha2.TransferDomainRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTransferDomainMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse listRegistrations(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRegistrationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.Registration getRegistration(com.google.cloud.domains.v1alpha2.GetRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRegistrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public com.google.longrunning.Operation updateRegistration(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRegistrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public com.google.longrunning.Operation configureManagementSettings(com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureManagementSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public com.google.longrunning.Operation configureDnsSettings(com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureDnsSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public com.google.longrunning.Operation configureContactSettings(com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureContactSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public com.google.longrunning.Operation exportRegistration(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportRegistrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public com.google.longrunning.Operation deleteRegistration(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRegistrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.AuthorizationCode retrieveAuthorizationCode(com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveAuthorizationCodeMethod(), getCallOptions(), request); - } - - /** - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.cloud.domains.v1alpha2.AuthorizationCode resetAuthorizationCode(com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResetAuthorizationCodeMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsFutureStub extends io.grpc.stub.AbstractFutureStub { - private DomainsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsFutureStub(channel, callOptions); - } - - /** - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchDomains( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture retrieveRegisterParameters( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request); - } - - /** - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture registerDomain( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture retrieveTransferParameters( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request); - } - - /** - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture transferDomain( - com.google.cloud.domains.v1alpha2.TransferDomainRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRegistrations( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRegistration( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRegistration( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture configureManagementSettings( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture configureDnsSettings( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture configureContactSettings( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture exportRegistration( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRegistration( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture retrieveAuthorizationCode( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request); - } - - /** - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture resetAuthorizationCode( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_SEARCH_DOMAINS = 0; - private static final int METHODID_RETRIEVE_REGISTER_PARAMETERS = 1; - private static final int METHODID_REGISTER_DOMAIN = 2; - private static final int METHODID_RETRIEVE_TRANSFER_PARAMETERS = 3; - private static final int METHODID_TRANSFER_DOMAIN = 4; - private static final int METHODID_LIST_REGISTRATIONS = 5; - private static final int METHODID_GET_REGISTRATION = 6; - private static final int METHODID_UPDATE_REGISTRATION = 7; - private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 8; - private static final int METHODID_CONFIGURE_DNS_SETTINGS = 9; - private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 10; - private static final int METHODID_EXPORT_REGISTRATION = 11; - private static final int METHODID_DELETE_REGISTRATION = 12; - private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 13; - private static final int METHODID_RESET_AUTHORIZATION_CODE = 14; - - 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 DomainsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DomainsImplBase 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_SEARCH_DOMAINS: - serviceImpl.searchDomains((com.google.cloud.domains.v1alpha2.SearchDomainsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRIEVE_REGISTER_PARAMETERS: - serviceImpl.retrieveRegisterParameters((com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REGISTER_DOMAIN: - serviceImpl.registerDomain((com.google.cloud.domains.v1alpha2.RegisterDomainRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRIEVE_TRANSFER_PARAMETERS: - serviceImpl.retrieveTransferParameters((com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TRANSFER_DOMAIN: - serviceImpl.transferDomain((com.google.cloud.domains.v1alpha2.TransferDomainRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REGISTRATIONS: - serviceImpl.listRegistrations((com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REGISTRATION: - serviceImpl.getRegistration((com.google.cloud.domains.v1alpha2.GetRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REGISTRATION: - serviceImpl.updateRegistration((com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_MANAGEMENT_SETTINGS: - serviceImpl.configureManagementSettings((com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_DNS_SETTINGS: - serviceImpl.configureDnsSettings((com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_CONTACT_SETTINGS: - serviceImpl.configureContactSettings((com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_REGISTRATION: - serviceImpl.exportRegistration((com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REGISTRATION: - serviceImpl.deleteRegistration((com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRIEVE_AUTHORIZATION_CODE: - serviceImpl.retrieveAuthorizationCode((com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESET_AUTHORIZATION_CODE: - serviceImpl.resetAuthorizationCode((com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class DomainsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DomainsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Domains"); - } - } - - private static final class DomainsFileDescriptorSupplier - extends DomainsBaseDescriptorSupplier { - DomainsFileDescriptorSupplier() {} - } - - private static final class DomainsMethodDescriptorSupplier - extends DomainsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DomainsMethodDescriptorSupplier(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 (DomainsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) - .addMethod(getSearchDomainsMethod()) - .addMethod(getRetrieveRegisterParametersMethod()) - .addMethod(getRegisterDomainMethod()) - .addMethod(getRetrieveTransferParametersMethod()) - .addMethod(getTransferDomainMethod()) - .addMethod(getListRegistrationsMethod()) - .addMethod(getGetRegistrationMethod()) - .addMethod(getUpdateRegistrationMethod()) - .addMethod(getConfigureManagementSettingsMethod()) - .addMethod(getConfigureDnsSettingsMethod()) - .addMethod(getConfigureContactSettingsMethod()) - .addMethod(getExportRegistrationMethod()) - .addMethod(getDeleteRegistrationMethod()) - .addMethod(getRetrieveAuthorizationCodeMethod()) - .addMethod(getResetAuthorizationCodeMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java deleted file mode 100644 index b65a3019..00000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public interface DeleteRegistrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * 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/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java deleted file mode 100644 index 288346aa..00000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java +++ /dev/null @@ -1,732 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public final class DomainsProto { - private DomainsProto() {} - 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_domains_v1alpha2_Registration_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1alpha2_OperationMetadata_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/domains/v1alpha2/domains." + - "proto\022\035google.cloud.domains.v1alpha2\032\034go" + - "ogle/api/annotations.proto\032\027google/api/c" + - "lient.proto\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032#google/" + - "longrunning/operations.proto\032 google/pro" + - "tobuf/field_mask.proto\032\037google/protobuf/" + - "timestamp.proto\032\027google/type/money.proto" + - "\032 google/type/postal_address.proto\"\233\t\n\014R" + - "egistration\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain" + - "_name\030\002 \001(\tB\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013exp" + - "ire_time\030\006 \001(\0132\032.google.protobuf.Timesta" + - "mpB\003\340A\003\022E\n\005state\030\007 \001(\01621.google.cloud.do" + - "mains.v1alpha2.Registration.StateB\003\340A\003\022F" + - "\n\006issues\030\010 \003(\01621.google.cloud.domains.v1" + - "alpha2.Registration.IssueB\003\340A\003\022G\n\006labels" + - "\030\t \003(\01327.google.cloud.domains.v1alpha2.R" + - "egistration.LabelsEntry\022N\n\023management_se" + - "ttings\030\n \001(\01321.google.cloud.domains.v1al" + - "pha2.ManagementSettings\022@\n\014dns_settings\030" + - "\013 \001(\0132*.google.cloud.domains.v1alpha2.Dn" + - "sSettings\022M\n\020contact_settings\030\014 \001(\0132..go" + - "ogle.cloud.domains.v1alpha2.ContactSetti" + - "ngsB\003\340A\002\022U\n\030pending_contact_settings\030\r \001" + - "(\0132..google.cloud.domains.v1alpha2.Conta" + - "ctSettingsB\003\340A\003\022M\n\021supported_privacy\030\016 \003" + - "(\0162-.google.cloud.domains.v1alpha2.Conta" + - "ctPrivacyB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + - "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\245\001\n\005State\022\025\n\021STATE" + - "_UNSPECIFIED\020\000\022\030\n\024REGISTRATION_PENDING\020\001" + - "\022\027\n\023REGISTRATION_FAILED\020\002\022\024\n\020TRANSFER_PE" + - "NDING\020\003\022\023\n\017TRANSFER_FAILED\020\004\022\n\n\006ACTIVE\020\006" + - "\022\r\n\tSUSPENDED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025" + - "\n\021ISSUE_UNSPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT" + - "\020\001\022\024\n\020UNVERIFIED_EMAIL\020\002:n\352Ak\n#domains.g" + - "oogleapis.com/Registration\022Dprojects/{pr" + - "oject}/locations/{location}/registration" + - "s/{registration}\"\235\002\n\022ManagementSettings\022" + - "\\\n\016renewal_method\030\003 \001(\0162?.google.cloud.d" + - "omains.v1alpha2.ManagementSettings.Renew" + - "alMethodB\003\340A\003\022M\n\023transfer_lock_state\030\004 \001" + - "(\01620.google.cloud.domains.v1alpha2.Trans" + - "ferLockState\"Z\n\rRenewalMethod\022\036\n\032RENEWAL" + - "_METHOD_UNSPECIFIED\020\000\022\025\n\021AUTOMATIC_RENEW" + - "AL\020\001\022\022\n\016MANUAL_RENEWAL\020\002\"\316\n\n\013DnsSettings" + - "\022J\n\ncustom_dns\030\001 \001(\01324.google.cloud.doma" + - "ins.v1alpha2.DnsSettings.CustomDnsH\000\022Y\n\022" + - "google_domains_dns\030\002 \001(\0132;.google.cloud." + - "domains.v1alpha2.DnsSettings.GoogleDomai" + - "nsDnsH\000\022K\n\014glue_records\030\004 \003(\01325.google.c" + - "loud.domains.v1alpha2.DnsSettings.GlueRe" + - "cord\032o\n\tCustomDns\022\031\n\014name_servers\030\001 \003(\tB" + - "\003\340A\002\022G\n\nds_records\030\002 \003(\01323.google.cloud." + - "domains.v1alpha2.DnsSettings.DsRecord\032\306\001" + - "\n\020GoogleDomainsDns\022\031\n\014name_servers\030\001 \003(\t" + - "B\003\340A\003\022I\n\010ds_state\030\002 \001(\01622.google.cloud.d" + - "omains.v1alpha2.DnsSettings.DsStateB\003\340A\002" + - "\022L\n\nds_records\030\003 \003(\01323.google.cloud.doma" + - "ins.v1alpha2.DnsSettings.DsRecordB\003\340A\003\032\317" + - "\004\n\010DsRecord\022\017\n\007key_tag\030\001 \001(\005\022P\n\talgorith" + - "m\030\002 \001(\0162=.google.cloud.domains.v1alpha2." + - "DnsSettings.DsRecord.Algorithm\022S\n\013digest" + - "_type\030\003 \001(\0162>.google.cloud.domains.v1alp" + - "ha2.DnsSettings.DsRecord.DigestType\022\016\n\006d" + - "igest\030\004 \001(\t\"\237\002\n\tAlgorithm\022\031\n\025ALGORITHM_U" + - "NSPECIFIED\020\000\022\n\n\006RSAMD5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020" + - "\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA1\020\005\022\020\n\014DSANSEC3SHA1\020" + - "\006\022\024\n\020RSASHA1NSEC3SHA1\020\007\022\r\n\tRSASHA256\020\010\022\r" + - "\n\tRSASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256S" + - "HA256\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020" + - "\017\022\t\n\005ED448\020\020\022\r\n\010INDIRECT\020\374\001\022\017\n\nPRIVATEDN" + - "S\020\375\001\022\017\n\nPRIVATEOID\020\376\001\"Y\n\nDigestType\022\033\n\027D" + - "IGEST_TYPE_UNSPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SH" + - "A256\020\002\022\014\n\010GOST3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlue" + - "Record\022\026\n\thost_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_a" + - "ddresses\030\002 \003(\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y" + - "\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED\020\000\022\032\n\026D" + - "S_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_RECORDS_PU" + - "BLISHED\020\002B\016\n\014dns_provider\"\343\003\n\017ContactSet" + - "tings\022C\n\007privacy\030\001 \001(\0162-.google.cloud.do" + - "mains.v1alpha2.ContactPrivacyB\003\340A\002\022W\n\022re" + - "gistrant_contact\030\002 \001(\01326.google.cloud.do" + - "mains.v1alpha2.ContactSettings.ContactB\003" + - "\340A\002\022R\n\radmin_contact\030\003 \001(\01326.google.clou" + - "d.domains.v1alpha2.ContactSettings.Conta" + - "ctB\003\340A\002\022V\n\021technical_contact\030\004 \001(\01326.goo" + - "gle.cloud.domains.v1alpha2.ContactSettin" + - "gs.ContactB\003\340A\002\032\205\001\n\007Contact\0227\n\016postal_ad" + - "dress\030\001 \001(\0132\032.google.type.PostalAddressB" + - "\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002\022\031\n\014phone_number" + - "\030\003 \001(\tB\003\340A\002\022\022\n\nfax_number\030\004 \001(\t\"g\n\024Searc" + - "hDomainsRequest\022\022\n\005query\030\001 \001(\tB\003\340A\002\022;\n\010l" + - "ocation\030\002 \001(\tB)\340A\002\372A#\n!locations.googlea" + - "pis.com/Location\"g\n\025SearchDomainsRespons" + - "e\022N\n\023register_parameters\030\001 \003(\01321.google." + - "cloud.domains.v1alpha2.RegisterParameter" + - "s\"z\n!RetrieveRegisterParametersRequest\022\030" + - "\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001" + - "(\tB)\340A\002\372A#\n!locations.googleapis.com/Loc" + - "ation\"t\n\"RetrieveRegisterParametersRespo" + - "nse\022N\n\023register_parameters\030\001 \001(\01321.googl" + - "e.cloud.domains.v1alpha2.RegisterParamet" + - "ers\"\354\002\n\025RegisterDomainRequest\0229\n\006parent\030" + - "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/" + - "Location\022F\n\014registration\030\002 \001(\0132+.google." + - "cloud.domains.v1alpha2.RegistrationB\003\340A\002" + - "\022C\n\016domain_notices\030\003 \003(\0162+.google.cloud." + - "domains.v1alpha2.DomainNotice\022E\n\017contact" + - "_notices\030\004 \003(\0162,.google.cloud.domains.v1" + - "alpha2.ContactNotice\022-\n\014yearly_price\030\005 \001" + - "(\0132\022.google.type.MoneyB\003\340A\002\022\025\n\rvalidate_" + - "only\030\006 \001(\010\"z\n!RetrieveTransferParameters" + - "Request\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010loc" + - "ation\030\002 \001(\tB)\340A\002\372A#\n!locations.googleapi" + - "s.com/Location\"t\n\"RetrieveTransferParame" + - "tersResponse\022N\n\023transfer_parameters\030\001 \001(" + - "\01321.google.cloud.domains.v1alpha2.Transf" + - "erParameters\"\365\002\n\025TransferDomainRequest\0229" + - "\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.google" + - "apis.com/Location\022F\n\014registration\030\002 \001(\0132" + - "+.google.cloud.domains.v1alpha2.Registra" + - "tionB\003\340A\002\022E\n\017contact_notices\030\003 \003(\0162,.goo" + - "gle.cloud.domains.v1alpha2.ContactNotice" + - "\022-\n\014yearly_price\030\004 \001(\0132\022.google.type.Mon" + - "eyB\003\340A\002\022L\n\022authorization_code\030\005 \001(\01320.go" + - "ogle.cloud.domains.v1alpha2.Authorizatio" + - "nCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030ListReg" + - "istrationsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + - "#\n!locations.googleapis.com/Location\022\021\n\t" + - "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" + - "ilter\030\004 \001(\t\"x\n\031ListRegistrationsResponse" + - "\022B\n\rregistrations\030\001 \003(\0132+.google.cloud.d" + - "omains.v1alpha2.Registration\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"S\n\026GetRegistrationRequest\022" + - "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapi" + - "s.com/Registration\"\224\001\n\031UpdateRegistratio" + - "nRequest\022A\n\014registration\030\001 \001(\0132+.google." + - "cloud.domains.v1alpha2.Registration\0224\n\013u" + - "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + - "MaskB\003\340A\002\"\355\001\n\"ConfigureManagementSetting" + - "sRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#" + - "domains.googleapis.com/Registration\022N\n\023m" + - "anagement_settings\030\002 \001(\01321.google.cloud." + - "domains.v1alpha2.ManagementSettings\0224\n\013u" + - "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + - "MaskB\003\340A\002\"\357\001\n\033ConfigureDnsSettingsReques" + - "t\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains" + - ".googleapis.com/Registration\022@\n\014dns_sett" + - "ings\030\002 \001(\0132*.google.cloud.domains.v1alph" + - "a2.DnsSettings\0224\n\013update_mask\030\003 \001(\0132\032.go" + - "ogle.protobuf.FieldMaskB\003\340A\002\022\025\n\rvalidate" + - "_only\030\004 \001(\010\"\302\002\n\037ConfigureContactSettings" + - "Request\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#d" + - "omains.googleapis.com/Registration\022H\n\020co" + - "ntact_settings\030\002 \001(\0132..google.cloud.doma" + - "ins.v1alpha2.ContactSettings\0224\n\013update_m" + - "ask\030\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340" + - "A\002\022E\n\017contact_notices\030\004 \003(\0162,.google.clo" + - "ud.domains.v1alpha2.ContactNotice\022\025\n\rval" + - "idate_only\030\005 \001(\010\"V\n\031ExportRegistrationRe" + - "quest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" + - "gleapis.com/Registration\"V\n\031DeleteRegist" + - "rationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#dom" + - "ains.googleapis.com/Registration\"e\n Retr" + - "ieveAuthorizationCodeRequest\022A\n\014registra" + - "tion\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.c" + - "om/Registration\"b\n\035ResetAuthorizationCod" + - "eRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#" + - "domains.googleapis.com/Registration\"\244\003\n\022" + - "RegisterParameters\022\023\n\013domain_name\030\001 \001(\t\022" + - "T\n\014availability\030\002 \001(\0162>.google.cloud.dom" + - "ains.v1alpha2.RegisterParameters.Availab" + - "ility\022H\n\021supported_privacy\030\003 \003(\0162-.googl" + - "e.cloud.domains.v1alpha2.ContactPrivacy\022" + - "C\n\016domain_notices\030\004 \003(\0162+.google.cloud.d" + - "omains.v1alpha2.DomainNotice\022(\n\014yearly_p" + - "rice\030\005 \001(\0132\022.google.type.Money\"j\n\014Availa" + - "bility\022\034\n\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\t" + - "AVAILABLE\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPOR" + - "TED\020\003\022\013\n\007UNKNOWN\020\004\"\235\002\n\022TransferParameter" + - "s\022\023\n\013domain_name\030\001 \001(\t\022\031\n\021current_regist" + - "rar\030\002 \001(\t\022\024\n\014name_servers\030\003 \003(\t\022M\n\023trans" + - "fer_lock_state\030\004 \001(\01620.google.cloud.doma" + - "ins.v1alpha2.TransferLockState\022H\n\021suppor" + - "ted_privacy\030\005 \003(\0162-.google.cloud.domains" + - ".v1alpha2.ContactPrivacy\022(\n\014yearly_price" + - "\030\006 \001(\0132\022.google.type.Money\"!\n\021Authorizat" + - "ionCode\022\014\n\004code\030\001 \001(\t\"\274\001\n\021OperationMetad" + - "ata\022/\n\013create_time\030\001 \001(\0132\032.google.protob" + - "uf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google." + - "protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004ve" + - "rb\030\004 \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\023\n\013api_v" + - "ersion\030\006 \001(\t*\177\n\016ContactPrivacy\022\037\n\033CONTAC" + - "T_PRIVACY_UNSPECIFIED\020\000\022\027\n\023PUBLIC_CONTAC" + - "T_DATA\020\001\022\030\n\024PRIVATE_CONTACT_DATA\020\002\022\031\n\025RE" + - "DACTED_CONTACT_DATA\020\003*A\n\014DomainNotice\022\035\n" + - "\031DOMAIN_NOTICE_UNSPECIFIED\020\000\022\022\n\016HSTS_PRE" + - "LOADED\020\001*X\n\rContactNotice\022\036\n\032CONTACT_NOT" + - "ICE_UNSPECIFIED\020\000\022\'\n#PUBLIC_CONTACT_DATA" + - "_ACKNOWLEDGEMENT\020\001*R\n\021TransferLockState\022" + - "#\n\037TRANSFER_LOCK_STATE_UNSPECIFIED\020\000\022\014\n\010" + - "UNLOCKED\020\001\022\n\n\006LOCKED\020\0022\357\036\n\007Domains\022\334\001\n\rS" + - "earchDomains\0223.google.cloud.domains.v1al" + - "pha2.SearchDomainsRequest\0324.google.cloud" + - ".domains.v1alpha2.SearchDomainsResponse\"" + - "`\202\323\344\223\002I\022G/v1alpha2/{location=projects/*/" + - "locations/*}/registrations:searchDomains" + - "\332A\016location,query\022\226\002\n\032RetrieveRegisterPa" + - "rameters\022@.google.cloud.domains.v1alpha2" + - ".RetrieveRegisterParametersRequest\032A.goo" + - "gle.cloud.domains.v1alpha2.RetrieveRegis" + - "terParametersResponse\"s\202\323\344\223\002V\022T/v1alpha2" + - "/{location=projects/*/locations/*}/regis" + - "trations:retrieveRegisterParameters\332A\024lo" + - "cation,domain_name\022\372\001\n\016RegisterDomain\0224." + - "google.cloud.domains.v1alpha2.RegisterDo" + - "mainRequest\032\035.google.longrunning.Operati" + - "on\"\222\001\202\323\344\223\002E\"@/v1alpha2/{parent=projects/" + - "*/locations/*}/registrations:register:\001*" + - "\332A parent,registration,yearly_price\312A!\n\014" + - "Registration\022\021OperationMetadata\022\226\002\n\032Retr" + - "ieveTransferParameters\022@.google.cloud.do" + - "mains.v1alpha2.RetrieveTransferParameter" + - "sRequest\032A.google.cloud.domains.v1alpha2" + - ".RetrieveTransferParametersResponse\"s\202\323\344" + - "\223\002V\022T/v1alpha2/{location=projects/*/loca" + - "tions/*}/registrations:retrieveTransferP" + - "arameters\332A\024location,domain_name\022\215\002\n\016Tra" + - "nsferDomain\0224.google.cloud.domains.v1alp" + - "ha2.TransferDomainRequest\032\035.google.longr" + - "unning.Operation\"\245\001\202\323\344\223\002E\"@/v1alpha2/{pa" + - "rent=projects/*/locations/*}/registratio" + - "ns:transfer:\001*\332A3parent,registration,yea" + - "rly_price,authorization_code\312A!\n\014Registr" + - "ation\022\021OperationMetadata\022\320\001\n\021ListRegistr" + - "ations\0227.google.cloud.domains.v1alpha2.L" + - "istRegistrationsRequest\0328.google.cloud.d" + - "omains.v1alpha2.ListRegistrationsRespons" + - "e\"H\202\323\344\223\0029\0227/v1alpha2/{parent=projects/*/" + - "locations/*}/registrations\332A\006parent\022\275\001\n\017" + - "GetRegistration\0225.google.cloud.domains.v" + - "1alpha2.GetRegistrationRequest\032+.google." + - "cloud.domains.v1alpha2.Registration\"F\202\323\344" + - "\223\0029\0227/v1alpha2/{name=projects/*/location" + - "s/*/registrations/*}\332A\004name\022\211\002\n\022UpdateRe" + - "gistration\0228.google.cloud.domains.v1alph" + - "a2.UpdateRegistrationRequest\032\035.google.lo" + - "ngrunning.Operation\"\231\001\202\323\344\223\002T2D/v1alpha2/" + - "{registration.name=projects/*/locations/" + - "*/registrations/*}:\014registration\332A\030regis" + - "tration,update_mask\312A!\n\014Registration\022\021Op" + - "erationMetadata\022\273\002\n\033ConfigureManagementS" + - "ettings\022A.google.cloud.domains.v1alpha2." + - "ConfigureManagementSettingsRequest\032\035.goo" + - "gle.longrunning.Operation\"\271\001\202\323\344\223\002`\"[/v1a" + - "lpha2/{registration=projects/*/locations" + - "/*/registrations/*}:configureManagementS" + - "ettings:\001*\332A,registration,management_set" + - "tings,update_mask\312A!\n\014Registration\022\021Oper" + - "ationMetadata\022\237\002\n\024ConfigureDnsSettings\022:" + - ".google.cloud.domains.v1alpha2.Configure" + - "DnsSettingsRequest\032\035.google.longrunning." + - "Operation\"\253\001\202\323\344\223\002Y\"T/v1alpha2/{registrat" + - "ion=projects/*/locations/*/registrations" + - "/*}:configureDnsSettings:\001*\332A%registrati" + - "on,dns_settings,update_mask\312A!\n\014Registra" + - "tion\022\021OperationMetadata\022\257\002\n\030ConfigureCon" + - "tactSettings\022>.google.cloud.domains.v1al" + - "pha2.ConfigureContactSettingsRequest\032\035.g" + - "oogle.longrunning.Operation\"\263\001\202\323\344\223\002]\"X/v" + - "1alpha2/{registration=projects/*/locatio" + - "ns/*/registrations/*}:configureContactSe" + - "ttings:\001*\332A)registration,contact_setting" + - "s,update_mask\312A!\n\014Registration\022\021Operatio" + - "nMetadata\022\343\001\n\022ExportRegistration\0228.googl" + - "e.cloud.domains.v1alpha2.ExportRegistrat" + - "ionRequest\032\035.google.longrunning.Operatio" + - "n\"t\202\323\344\223\002C\">/v1alpha2/{name=projects/*/lo" + - "cations/*/registrations/*}:export:\001*\332A\004n" + - "ame\312A!\n\014Registration\022\021OperationMetadata\022" + - "\342\001\n\022DeleteRegistration\0228.google.cloud.do" + - "mains.v1alpha2.DeleteRegistrationRequest" + - "\032\035.google.longrunning.Operation\"s\202\323\344\223\0029*" + - "7/v1alpha2/{name=projects/*/locations/*/" + - "registrations/*}\332A\004name\312A*\n\025google.proto" + - "buf.Empty\022\021OperationMetadata\022\200\002\n\031Retriev" + - "eAuthorizationCode\022?.google.cloud.domain" + - "s.v1alpha2.RetrieveAuthorizationCodeRequ" + - "est\0320.google.cloud.domains.v1alpha2.Auth" + - "orizationCode\"p\202\323\344\223\002[\022Y/v1alpha2/{regist" + - "ration=projects/*/locations/*/registrati" + - "ons/*}:retrieveAuthorizationCode\332A\014regis" + - "tration\022\372\001\n\026ResetAuthorizationCode\022<.goo" + - "gle.cloud.domains.v1alpha2.ResetAuthoriz" + - "ationCodeRequest\0320.google.cloud.domains." + - "v1alpha2.AuthorizationCode\"p\202\323\344\223\002[\"V/v1a" + - "lpha2/{registration=projects/*/locations" + - "/*/registrations/*}:resetAuthorizationCo" + - "de:\001*\332A\014registration\032J\312A\026domains.googlea" + - "pis.com\322A.https://www.googleapis.com/aut" + - "h/cloud-platformBy\n!com.google.cloud.dom" + - "ains.v1alpha2B\014DomainsProtoP\001ZDgoogle.go" + - "lang.org/genproto/googleapis/cloud/domai" + - "ns/v1alpha2;domainsb\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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_domains_v1alpha2_Registration_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_Registration_descriptor, - new java.lang.String[] { "Name", "DomainName", "CreateTime", "ExpireTime", "State", "Issues", "Labels", "ManagementSettings", "DnsSettings", "ContactSettings", "PendingContactSettings", "SupportedPrivacy", }); - internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor = - internal_static_google_cloud_domains_v1alpha2_Registration_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor, - new java.lang.String[] { "RenewalMethod", "TransferLockState", }); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor, - new java.lang.String[] { "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider", }); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor = - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor, - new java.lang.String[] { "NameServers", "DsRecords", }); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor = - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor, - new java.lang.String[] { "NameServers", "DsState", "DsRecords", }); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor = - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor, - new java.lang.String[] { "KeyTag", "Algorithm", "DigestType", "Digest", }); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor = - internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor, - new java.lang.String[] { "HostName", "Ipv4Addresses", "Ipv6Addresses", }); - internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor, - new java.lang.String[] { "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact", }); - internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor = - internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor, - new java.lang.String[] { "PostalAddress", "Email", "PhoneNumber", "FaxNumber", }); - internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor, - new java.lang.String[] { "Query", "Location", }); - internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor, - new java.lang.String[] { "RegisterParameters", }); - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor, - new java.lang.String[] { "DomainName", "Location", }); - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor, - new java.lang.String[] { "RegisterParameters", }); - internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor, - new java.lang.String[] { "Parent", "Registration", "DomainNotices", "ContactNotices", "YearlyPrice", "ValidateOnly", }); - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor, - new java.lang.String[] { "DomainName", "Location", }); - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor, - new java.lang.String[] { "TransferParameters", }); - internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor, - new java.lang.String[] { "Parent", "Registration", "ContactNotices", "YearlyPrice", "AuthorizationCode", "ValidateOnly", }); - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor, - new java.lang.String[] { "Registrations", "NextPageToken", }); - internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor, - new java.lang.String[] { "Registration", "UpdateMask", }); - internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor, - new java.lang.String[] { "Registration", "ManagementSettings", "UpdateMask", }); - internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor, - new java.lang.String[] { "Registration", "DnsSettings", "UpdateMask", "ValidateOnly", }); - internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor, - new java.lang.String[] { "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly", }); - internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor, - new java.lang.String[] { "Registration", }); - internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor, - new java.lang.String[] { "Registration", }); - internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor, - new java.lang.String[] { "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice", }); - internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor, - new java.lang.String[] { "DomainName", "CurrentRegistrar", "NameServers", "TransferLockState", "SupportedPrivacy", "YearlyPrice", }); - internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor, - new java.lang.String[] { "Code", }); - internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java deleted file mode 100644 index f0d95dfb..00000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public interface ExportRegistrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ExportRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * 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/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java deleted file mode 100644 index 4ab774f4..00000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public interface GetRegistrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.GetRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * 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/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index a8dd01df..00000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public interface ResetAuthorizationCodeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The registration. - */ - java.lang.String getRegistration(); - /** - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for registration. - */ - com.google.protobuf.ByteString - getRegistrationBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index 23547f93..00000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1alpha2/domains.proto - -package com.google.cloud.domains.v1alpha2; - -public interface RetrieveAuthorizationCodeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The registration. - */ - java.lang.String getRegistration(); - /** - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for registration. - */ - com.google.protobuf.ByteString - getRegistrationBytes(); -} diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java deleted file mode 100644 index e0362311..00000000 --- a/owl-bot-staging/v1beta1/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java +++ /dev/null @@ -1,1763 +0,0 @@ -package com.google.cloud.domains.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Cloud Domains API enables management and configuration of domain names.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/domains/v1beta1/domains.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DomainsGrpc { - - private DomainsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.domains.v1beta1.Domains"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getSearchDomainsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchDomains", - requestType = com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, - responseType = com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchDomainsMethod() { - io.grpc.MethodDescriptor getSearchDomainsMethod; - if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getSearchDomainsMethod = DomainsGrpc.getSearchDomainsMethod) == null) { - DomainsGrpc.getSearchDomainsMethod = getSearchDomainsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchDomains")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.SearchDomainsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.SearchDomainsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("SearchDomains")) - .build(); - } - } - } - return getSearchDomainsMethod; - } - - private static volatile io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveRegisterParameters", - requestType = com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, - responseType = com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod() { - io.grpc.MethodDescriptor getRetrieveRegisterParametersMethod; - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveRegisterParametersMethod = DomainsGrpc.getRetrieveRegisterParametersMethod) == null) { - DomainsGrpc.getRetrieveRegisterParametersMethod = getRetrieveRegisterParametersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveRegisterParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveRegisterParameters")) - .build(); - } - } - } - return getRetrieveRegisterParametersMethod; - } - - private static volatile io.grpc.MethodDescriptor getRegisterDomainMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RegisterDomain", - requestType = com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRegisterDomainMethod() { - io.grpc.MethodDescriptor getRegisterDomainMethod; - if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getRegisterDomainMethod = DomainsGrpc.getRegisterDomainMethod) == null) { - DomainsGrpc.getRegisterDomainMethod = getRegisterDomainMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RegisterDomainRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RegisterDomain")) - .build(); - } - } - } - return getRegisterDomainMethod; - } - - private static volatile io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveTransferParameters", - requestType = com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, - responseType = com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRetrieveTransferParametersMethod() { - io.grpc.MethodDescriptor getRetrieveTransferParametersMethod; - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveTransferParametersMethod = DomainsGrpc.getRetrieveTransferParametersMethod) == null) { - DomainsGrpc.getRetrieveTransferParametersMethod = getRetrieveTransferParametersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveTransferParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveTransferParameters")) - .build(); - } - } - } - return getRetrieveTransferParametersMethod; - } - - private static volatile io.grpc.MethodDescriptor getTransferDomainMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TransferDomain", - requestType = com.google.cloud.domains.v1beta1.TransferDomainRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTransferDomainMethod() { - io.grpc.MethodDescriptor getTransferDomainMethod; - if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getTransferDomainMethod = DomainsGrpc.getTransferDomainMethod) == null) { - DomainsGrpc.getTransferDomainMethod = getTransferDomainMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferDomain")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.TransferDomainRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("TransferDomain")) - .build(); - } - } - } - return getTransferDomainMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRegistrationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRegistrations", - requestType = com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, - responseType = com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRegistrationsMethod() { - io.grpc.MethodDescriptor getListRegistrationsMethod; - if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getListRegistrationsMethod = DomainsGrpc.getListRegistrationsMethod) == null) { - DomainsGrpc.getListRegistrationsMethod = getListRegistrationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRegistrations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ListRegistrationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ListRegistrations")) - .build(); - } - } - } - return getListRegistrationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRegistration", - requestType = com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, - responseType = com.google.cloud.domains.v1beta1.Registration.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRegistrationMethod() { - io.grpc.MethodDescriptor getGetRegistrationMethod; - if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getGetRegistrationMethod = DomainsGrpc.getGetRegistrationMethod) == null) { - DomainsGrpc.getGetRegistrationMethod = getGetRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.GetRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.Registration.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("GetRegistration")) - .build(); - } - } - } - return getGetRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRegistration", - requestType = com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRegistrationMethod() { - io.grpc.MethodDescriptor getUpdateRegistrationMethod; - if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getUpdateRegistrationMethod = DomainsGrpc.getUpdateRegistrationMethod) == null) { - DomainsGrpc.getUpdateRegistrationMethod = getUpdateRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("UpdateRegistration")) - .build(); - } - } - } - return getUpdateRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureManagementSettings", - requestType = com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getConfigureManagementSettingsMethod() { - io.grpc.MethodDescriptor getConfigureManagementSettingsMethod; - if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureManagementSettingsMethod = DomainsGrpc.getConfigureManagementSettingsMethod) == null) { - DomainsGrpc.getConfigureManagementSettingsMethod = getConfigureManagementSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureManagementSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureManagementSettings")) - .build(); - } - } - } - return getConfigureManagementSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureDnsSettings", - requestType = com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getConfigureDnsSettingsMethod() { - io.grpc.MethodDescriptor getConfigureDnsSettingsMethod; - if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureDnsSettingsMethod = DomainsGrpc.getConfigureDnsSettingsMethod) == null) { - DomainsGrpc.getConfigureDnsSettingsMethod = getConfigureDnsSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureDnsSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureDnsSettings")) - .build(); - } - } - } - return getConfigureDnsSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getConfigureContactSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ConfigureContactSettings", - requestType = com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getConfigureContactSettingsMethod() { - io.grpc.MethodDescriptor getConfigureContactSettingsMethod; - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getConfigureContactSettingsMethod = DomainsGrpc.getConfigureContactSettingsMethod) == null) { - DomainsGrpc.getConfigureContactSettingsMethod = getConfigureContactSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureContactSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ConfigureContactSettings")) - .build(); - } - } - } - return getConfigureContactSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getExportRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportRegistration", - requestType = com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportRegistrationMethod() { - io.grpc.MethodDescriptor getExportRegistrationMethod; - if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getExportRegistrationMethod = DomainsGrpc.getExportRegistrationMethod) == null) { - DomainsGrpc.getExportRegistrationMethod = getExportRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ExportRegistration")) - .build(); - } - } - } - return getExportRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRegistrationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRegistration", - requestType = com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRegistrationMethod() { - io.grpc.MethodDescriptor getDeleteRegistrationMethod; - if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getDeleteRegistrationMethod = DomainsGrpc.getDeleteRegistrationMethod) == null) { - DomainsGrpc.getDeleteRegistrationMethod = getDeleteRegistrationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRegistration")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("DeleteRegistration")) - .build(); - } - } - } - return getDeleteRegistrationMethod; - } - - private static volatile io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RetrieveAuthorizationCode", - requestType = com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, - responseType = com.google.cloud.domains.v1beta1.AuthorizationCode.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod() { - io.grpc.MethodDescriptor getRetrieveAuthorizationCodeMethod; - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getRetrieveAuthorizationCodeMethod = DomainsGrpc.getRetrieveAuthorizationCodeMethod) == null) { - DomainsGrpc.getRetrieveAuthorizationCodeMethod = getRetrieveAuthorizationCodeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("RetrieveAuthorizationCode")) - .build(); - } - } - } - return getRetrieveAuthorizationCodeMethod; - } - - private static volatile io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResetAuthorizationCode", - requestType = com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, - responseType = com.google.cloud.domains.v1beta1.AuthorizationCode.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getResetAuthorizationCodeMethod() { - io.grpc.MethodDescriptor getResetAuthorizationCodeMethod; - if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { - synchronized (DomainsGrpc.class) { - if ((getResetAuthorizationCodeMethod = DomainsGrpc.getResetAuthorizationCodeMethod) == null) { - DomainsGrpc.getResetAuthorizationCodeMethod = getResetAuthorizationCodeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetAuthorizationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance())) - .setSchemaDescriptor(new DomainsMethodDescriptorSupplier("ResetAuthorizationCode")) - .build(); - } - } - } - return getResetAuthorizationCodeMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DomainsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsStub(channel, callOptions); - } - }; - return DomainsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DomainsBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsBlockingStub(channel, callOptions); - } - }; - return DomainsBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DomainsFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DomainsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsFutureStub(channel, callOptions); - } - }; - return DomainsFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static abstract class DomainsImplBase implements io.grpc.BindableService { - - /** - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public void searchDomains(com.google.cloud.domains.v1beta1.SearchDomainsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchDomainsMethod(), responseObserver); - } - - /** - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public void retrieveRegisterParameters(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveRegisterParametersMethod(), responseObserver); - } - - /** - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public void registerDomain(com.google.cloud.domains.v1beta1.RegisterDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterDomainMethod(), responseObserver); - } - - /** - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public void retrieveTransferParameters(com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveTransferParametersMethod(), responseObserver); - } - - /** - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public void transferDomain(com.google.cloud.domains.v1beta1.TransferDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTransferDomainMethod(), responseObserver); - } - - /** - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public void listRegistrations(com.google.cloud.domains.v1beta1.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRegistrationsMethod(), responseObserver); - } - - /** - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public void getRegistration(com.google.cloud.domains.v1beta1.GetRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRegistrationMethod(), responseObserver); - } - - /** - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public void updateRegistration(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRegistrationMethod(), responseObserver); - } - - /** - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public void configureManagementSettings(com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureManagementSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public void configureDnsSettings(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureDnsSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public void configureContactSettings(com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureContactSettingsMethod(), responseObserver); - } - - /** - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public void exportRegistration(com.google.cloud.domains.v1beta1.ExportRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportRegistrationMethod(), responseObserver); - } - - /** - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public void deleteRegistration(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRegistrationMethod(), responseObserver); - } - - /** - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void retrieveAuthorizationCode(com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveAuthorizationCodeMethod(), responseObserver); - } - - /** - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void resetAuthorizationCode(com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetAuthorizationCodeMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getSearchDomainsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.SearchDomainsRequest, - com.google.cloud.domains.v1beta1.SearchDomainsResponse>( - this, METHODID_SEARCH_DOMAINS))) - .addMethod( - getRetrieveRegisterParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest, - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse>( - this, METHODID_RETRIEVE_REGISTER_PARAMETERS))) - .addMethod( - getRegisterDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.RegisterDomainRequest, - com.google.longrunning.Operation>( - this, METHODID_REGISTER_DOMAIN))) - .addMethod( - getRetrieveTransferParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest, - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse>( - this, METHODID_RETRIEVE_TRANSFER_PARAMETERS))) - .addMethod( - getTransferDomainMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.TransferDomainRequest, - com.google.longrunning.Operation>( - this, METHODID_TRANSFER_DOMAIN))) - .addMethod( - getListRegistrationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ListRegistrationsRequest, - com.google.cloud.domains.v1beta1.ListRegistrationsResponse>( - this, METHODID_LIST_REGISTRATIONS))) - .addMethod( - getGetRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.GetRegistrationRequest, - com.google.cloud.domains.v1beta1.Registration>( - this, METHODID_GET_REGISTRATION))) - .addMethod( - getUpdateRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_REGISTRATION))) - .addMethod( - getConfigureManagementSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_MANAGEMENT_SETTINGS))) - .addMethod( - getConfigureDnsSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_DNS_SETTINGS))) - .addMethod( - getConfigureContactSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CONFIGURE_CONTACT_SETTINGS))) - .addMethod( - getExportRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ExportRegistrationRequest, - com.google.longrunning.Operation>( - this, METHODID_EXPORT_REGISTRATION))) - .addMethod( - getDeleteRegistrationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REGISTRATION))) - .addMethod( - getRetrieveAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest, - com.google.cloud.domains.v1beta1.AuthorizationCode>( - this, METHODID_RETRIEVE_AUTHORIZATION_CODE))) - .addMethod( - getResetAuthorizationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest, - com.google.cloud.domains.v1beta1.AuthorizationCode>( - this, METHODID_RESET_AUTHORIZATION_CODE))) - .build(); - } - } - - /** - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsStub extends io.grpc.stub.AbstractAsyncStub { - private DomainsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsStub(channel, callOptions); - } - - /** - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public void searchDomains(com.google.cloud.domains.v1beta1.SearchDomainsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public void retrieveRegisterParameters(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public void registerDomain(com.google.cloud.domains.v1beta1.RegisterDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public void retrieveTransferParameters(com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public void transferDomain(com.google.cloud.domains.v1beta1.TransferDomainRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public void listRegistrations(com.google.cloud.domains.v1beta1.ListRegistrationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public void getRegistration(com.google.cloud.domains.v1beta1.GetRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public void updateRegistration(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public void configureManagementSettings(com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public void configureDnsSettings(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public void configureContactSettings(com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public void exportRegistration(com.google.cloud.domains.v1beta1.ExportRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public void deleteRegistration(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void retrieveAuthorizationCode(com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public void resetAuthorizationCode(com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private DomainsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsBlockingStub(channel, callOptions); - } - - /** - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public com.google.cloud.domains.v1beta1.SearchDomainsResponse searchDomains(com.google.cloud.domains.v1beta1.SearchDomainsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchDomainsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse retrieveRegisterParameters(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveRegisterParametersMethod(), getCallOptions(), request); - } - - /** - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public com.google.longrunning.Operation registerDomain(com.google.cloud.domains.v1beta1.RegisterDomainRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRegisterDomainMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse retrieveTransferParameters(com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveTransferParametersMethod(), getCallOptions(), request); - } - - /** - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public com.google.longrunning.Operation transferDomain(com.google.cloud.domains.v1beta1.TransferDomainRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTransferDomainMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public com.google.cloud.domains.v1beta1.ListRegistrationsResponse listRegistrations(com.google.cloud.domains.v1beta1.ListRegistrationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRegistrationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public com.google.cloud.domains.v1beta1.Registration getRegistration(com.google.cloud.domains.v1beta1.GetRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRegistrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public com.google.longrunning.Operation updateRegistration(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRegistrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public com.google.longrunning.Operation configureManagementSettings(com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureManagementSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public com.google.longrunning.Operation configureDnsSettings(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureDnsSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public com.google.longrunning.Operation configureContactSettings(com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getConfigureContactSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public com.google.longrunning.Operation exportRegistration(com.google.cloud.domains.v1beta1.ExportRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportRegistrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public com.google.longrunning.Operation deleteRegistration(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRegistrationMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.cloud.domains.v1beta1.AuthorizationCode retrieveAuthorizationCode(com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRetrieveAuthorizationCodeMethod(), getCallOptions(), request); - } - - /** - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.cloud.domains.v1beta1.AuthorizationCode resetAuthorizationCode(com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResetAuthorizationCodeMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Cloud Domains API enables management and configuration of domain names.
-   * 
- */ - public static final class DomainsFutureStub extends io.grpc.stub.AbstractFutureStub { - private DomainsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DomainsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DomainsFutureStub(channel, callOptions); - } - - /** - *
-     * Searches for available domain names similar to the provided query.
-     * Availability results from this method are approximate; call
-     * `RetrieveRegisterParameters` on a domain before registering to confirm
-     * availability.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchDomains( - com.google.cloud.domains.v1beta1.SearchDomainsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchDomainsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets parameters needed to register a new domain name, including price and
-     * up-to-date availability. Use the returned values to call `RegisterDomain`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture retrieveRegisterParameters( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveRegisterParametersMethod(), getCallOptions()), request); - } - - /** - *
-     * Registers a new domain name and creates a corresponding `Registration`
-     * resource.
-     * Call `RetrieveRegisterParameters` first to check availability of the domain
-     * name and determine parameters like price that are needed to build a call to
-     * this method.
-     * A successful call creates a `Registration` resource in state
-     * `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2
-     * minutes, indicating that the domain was successfully registered. If the
-     * resource ends up in state `REGISTRATION_FAILED`, it indicates that the
-     * domain was not registered successfully, and you can safely delete the
-     * resource and retry registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture registerDomain( - com.google.cloud.domains.v1beta1.RegisterDomainRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRegisterDomainMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets parameters needed to transfer a domain name from another registrar to
-     * Cloud Domains. For domains managed by Google Domains, transferring to Cloud
-     * Domains is not supported.
-     * Use the returned values to call `TransferDomain`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture retrieveTransferParameters( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveTransferParametersMethod(), getCallOptions()), request); - } - - /** - *
-     * Transfers a domain name from another registrar to Cloud Domains.  For
-     * domains managed by Google Domains, transferring to Cloud Domains is not
-     * supported.
-     * Before calling this method, go to the domain's current registrar to unlock
-     * the domain for transfer and retrieve the domain's transfer authorization
-     * code. Then call `RetrieveTransferParameters` to confirm that the domain is
-     * unlocked and to get values needed to build a call to this method.
-     * A successful call creates a `Registration` resource in state
-     * `TRANSFER_PENDING`. It can take several days to complete the transfer
-     * process. The registrant can often speed up this process by approving the
-     * transfer through the current registrar, either by clicking a link in an
-     * email from the registrar or by visiting the registrar's website.
-     * A few minutes after transfer approval, the resource transitions to state
-     * `ACTIVE`, indicating that the transfer was successful. If the transfer is
-     * rejected or the request expires without being approved, the resource can
-     * end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete
-     * the resource and retry the transfer.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture transferDomain( - com.google.cloud.domains.v1beta1.TransferDomainRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTransferDomainMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists the `Registration` resources in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRegistrations( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRegistrationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the details of a `Registration` resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRegistration( - com.google.cloud.domains.v1beta1.GetRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRegistrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates select fields of a `Registration` resource, notably `labels`. To
-     * update other fields, use the appropriate custom update method:
-     * * To update management settings, see `ConfigureManagementSettings`
-     * * To update DNS configuration, see `ConfigureDnsSettings`
-     * * To update contact information, see `ConfigureContactSettings`
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRegistration( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRegistrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a `Registration`'s management settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture configureManagementSettings( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureManagementSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a `Registration`'s DNS settings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture configureDnsSettings( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureDnsSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a `Registration`'s contact settings. Some changes require
-     * confirmation by the domain's registrant contact .
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture configureContactSettings( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getConfigureContactSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Exports a `Registration` resource, such that it is no longer managed by
-     * Cloud Domains.
-     * When an active domain is successfully exported, you can continue to use the
-     * domain in [Google Domains](https://domains.google/) until it expires. The
-     * calling user becomes the domain's sole owner in Google Domains, and
-     * permissions for the domain are subsequently managed there. The domain does
-     * not renew automatically unless the new owner sets up billing in Google
-     * Domains.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture exportRegistration( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportRegistrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a `Registration` resource.
-     * This method works on any `Registration` resource using [Subscription or
-     * Commitment billing](/domains/pricing#billing-models), provided that the
-     * resource was created at least 1 day in the past.
-     * For `Registration` resources using
-     * [Monthly billing](/domains/pricing#billing-models), this method works if:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * * `state` is `TRANSFER_FAILED`
-     * When an active registration is successfully deleted, you can continue to
-     * use the domain in [Google Domains](https://domains.google/) until it
-     * expires. The calling user becomes the domain's sole owner in Google
-     * Domains, and permissions for the domain are subsequently managed there. The
-     * domain does not renew automatically unless the new owner sets up billing in
-     * Google Domains.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRegistration( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRegistrationMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the authorization code of the `Registration` for the purpose of
-     * transferring the domain to another registrar.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture retrieveAuthorizationCode( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRetrieveAuthorizationCodeMethod(), getCallOptions()), request); - } - - /** - *
-     * Resets the authorization code of the `Registration` to a new random string.
-     * You can call this method only after 60 days have elapsed since the initial
-     * domain registration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture resetAuthorizationCode( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResetAuthorizationCodeMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_SEARCH_DOMAINS = 0; - private static final int METHODID_RETRIEVE_REGISTER_PARAMETERS = 1; - private static final int METHODID_REGISTER_DOMAIN = 2; - private static final int METHODID_RETRIEVE_TRANSFER_PARAMETERS = 3; - private static final int METHODID_TRANSFER_DOMAIN = 4; - private static final int METHODID_LIST_REGISTRATIONS = 5; - private static final int METHODID_GET_REGISTRATION = 6; - private static final int METHODID_UPDATE_REGISTRATION = 7; - private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 8; - private static final int METHODID_CONFIGURE_DNS_SETTINGS = 9; - private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 10; - private static final int METHODID_EXPORT_REGISTRATION = 11; - private static final int METHODID_DELETE_REGISTRATION = 12; - private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 13; - private static final int METHODID_RESET_AUTHORIZATION_CODE = 14; - - 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 DomainsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DomainsImplBase 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_SEARCH_DOMAINS: - serviceImpl.searchDomains((com.google.cloud.domains.v1beta1.SearchDomainsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRIEVE_REGISTER_PARAMETERS: - serviceImpl.retrieveRegisterParameters((com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REGISTER_DOMAIN: - serviceImpl.registerDomain((com.google.cloud.domains.v1beta1.RegisterDomainRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRIEVE_TRANSFER_PARAMETERS: - serviceImpl.retrieveTransferParameters((com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TRANSFER_DOMAIN: - serviceImpl.transferDomain((com.google.cloud.domains.v1beta1.TransferDomainRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REGISTRATIONS: - serviceImpl.listRegistrations((com.google.cloud.domains.v1beta1.ListRegistrationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REGISTRATION: - serviceImpl.getRegistration((com.google.cloud.domains.v1beta1.GetRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REGISTRATION: - serviceImpl.updateRegistration((com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_MANAGEMENT_SETTINGS: - serviceImpl.configureManagementSettings((com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_DNS_SETTINGS: - serviceImpl.configureDnsSettings((com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CONFIGURE_CONTACT_SETTINGS: - serviceImpl.configureContactSettings((com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_REGISTRATION: - serviceImpl.exportRegistration((com.google.cloud.domains.v1beta1.ExportRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REGISTRATION: - serviceImpl.deleteRegistration((com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RETRIEVE_AUTHORIZATION_CODE: - serviceImpl.retrieveAuthorizationCode((com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESET_AUTHORIZATION_CODE: - serviceImpl.resetAuthorizationCode((com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class DomainsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DomainsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Domains"); - } - } - - private static final class DomainsFileDescriptorSupplier - extends DomainsBaseDescriptorSupplier { - DomainsFileDescriptorSupplier() {} - } - - private static final class DomainsMethodDescriptorSupplier - extends DomainsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DomainsMethodDescriptorSupplier(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 (DomainsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DomainsFileDescriptorSupplier()) - .addMethod(getSearchDomainsMethod()) - .addMethod(getRetrieveRegisterParametersMethod()) - .addMethod(getRegisterDomainMethod()) - .addMethod(getRetrieveTransferParametersMethod()) - .addMethod(getTransferDomainMethod()) - .addMethod(getListRegistrationsMethod()) - .addMethod(getGetRegistrationMethod()) - .addMethod(getUpdateRegistrationMethod()) - .addMethod(getConfigureManagementSettingsMethod()) - .addMethod(getConfigureDnsSettingsMethod()) - .addMethod(getConfigureContactSettingsMethod()) - .addMethod(getExportRegistrationMethod()) - .addMethod(getDeleteRegistrationMethod()) - .addMethod(getRetrieveAuthorizationCodeMethod()) - .addMethod(getResetAuthorizationCodeMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java deleted file mode 100644 index c37b2bcf..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public interface DeleteRegistrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DeleteRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the `Registration` to delete,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * 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/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java deleted file mode 100644 index e45325f8..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java +++ /dev/null @@ -1,730 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public final class DomainsProto { - private DomainsProto() {} - 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_domains_v1beta1_Registration_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_domains_v1beta1_OperationMetadata_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/domains/v1beta1/domains.p" + - "roto\022\034google.cloud.domains.v1beta1\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/lo" + - "ngrunning/operations.proto\032 google/proto" + - "buf/field_mask.proto\032\037google/protobuf/ti" + - "mestamp.proto\032\027google/type/money.proto\032 " + - "google/type/postal_address.proto\"\223\t\n\014Reg" + - "istration\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain_n" + - "ame\030\002 \001(\tB\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\0132\032" + - ".google.protobuf.TimestampB\003\340A\003\0224\n\013expir" + - "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp" + - "B\003\340A\003\022D\n\005state\030\007 \001(\01620.google.cloud.doma" + - "ins.v1beta1.Registration.StateB\003\340A\003\022E\n\006i" + - "ssues\030\010 \003(\01620.google.cloud.domains.v1bet" + - "a1.Registration.IssueB\003\340A\003\022F\n\006labels\030\t \003" + - "(\01326.google.cloud.domains.v1beta1.Regist" + - "ration.LabelsEntry\022M\n\023management_setting" + - "s\030\n \001(\01320.google.cloud.domains.v1beta1.M" + - "anagementSettings\022?\n\014dns_settings\030\013 \001(\0132" + - ").google.cloud.domains.v1beta1.DnsSettin" + - "gs\022L\n\020contact_settings\030\014 \001(\0132-.google.cl" + - "oud.domains.v1beta1.ContactSettingsB\003\340A\002" + - "\022T\n\030pending_contact_settings\030\r \001(\0132-.goo" + - "gle.cloud.domains.v1beta1.ContactSetting" + - "sB\003\340A\003\022L\n\021supported_privacy\030\016 \003(\0162,.goog" + - "le.cloud.domains.v1beta1.ContactPrivacyB" + - "\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + - "e\030\002 \001(\t:\0028\001\"\245\001\n\005State\022\025\n\021STATE_UNSPECIFI" + - "ED\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022\027\n\023REGIST" + - "RATION_FAILED\020\002\022\024\n\020TRANSFER_PENDING\020\003\022\023\n" + - "\017TRANSFER_FAILED\020\004\022\n\n\006ACTIVE\020\006\022\r\n\tSUSPEN" + - "DED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025\n\021ISSUE_UN" + - "SPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVE" + - "RIFIED_EMAIL\020\002:n\352Ak\n#domains.googleapis." + - "com/Registration\022Dprojects/{project}/loc" + - "ations/{location}/registrations/{registr" + - "ation}\"\233\002\n\022ManagementSettings\022[\n\016renewal" + - "_method\030\003 \001(\0162>.google.cloud.domains.v1b" + - "eta1.ManagementSettings.RenewalMethodB\003\340" + - "A\003\022L\n\023transfer_lock_state\030\004 \001(\0162/.google" + - ".cloud.domains.v1beta1.TransferLockState" + - "\"Z\n\rRenewalMethod\022\036\n\032RENEWAL_METHOD_UNSP" + - "ECIFIED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001\022\022\n\016MANU" + - "AL_RENEWAL\020\002\"\306\n\n\013DnsSettings\022I\n\ncustom_d" + - "ns\030\001 \001(\01323.google.cloud.domains.v1beta1." + - "DnsSettings.CustomDnsH\000\022X\n\022google_domain" + - "s_dns\030\002 \001(\0132:.google.cloud.domains.v1bet" + - "a1.DnsSettings.GoogleDomainsDnsH\000\022J\n\014glu" + - "e_records\030\004 \003(\01324.google.cloud.domains.v" + - "1beta1.DnsSettings.GlueRecord\032n\n\tCustomD" + - "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\002\022F\n\nds_reco" + - "rds\030\002 \003(\01322.google.cloud.domains.v1beta1" + - ".DnsSettings.DsRecord\032\304\001\n\020GoogleDomainsD" + - "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\003\022H\n\010ds_stat" + - "e\030\002 \001(\01621.google.cloud.domains.v1beta1.D" + - "nsSettings.DsStateB\003\340A\002\022K\n\nds_records\030\003 " + - "\003(\01322.google.cloud.domains.v1beta1.DnsSe" + - "ttings.DsRecordB\003\340A\003\032\315\004\n\010DsRecord\022\017\n\007key" + - "_tag\030\001 \001(\005\022O\n\talgorithm\030\002 \001(\0162<.google.c" + - "loud.domains.v1beta1.DnsSettings.DsRecor" + - "d.Algorithm\022R\n\013digest_type\030\003 \001(\0162=.googl" + - "e.cloud.domains.v1beta1.DnsSettings.DsRe" + - "cord.DigestType\022\016\n\006digest\030\004 \001(\t\"\237\002\n\tAlgo" + - "rithm\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\022\n\n\006RSAM" + - "D5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA" + - "1\020\005\022\020\n\014DSANSEC3SHA1\020\006\022\024\n\020RSASHA1NSEC3SHA" + - "1\020\007\022\r\n\tRSASHA256\020\010\022\r\n\tRSASHA512\020\n\022\013\n\007ECC" + - "GOST\020\014\022\023\n\017ECDSAP256SHA256\020\r\022\023\n\017ECDSAP384" + - "SHA384\020\016\022\013\n\007ED25519\020\017\022\t\n\005ED448\020\020\022\r\n\010INDI" + - "RECT\020\374\001\022\017\n\nPRIVATEDNS\020\375\001\022\017\n\nPRIVATEOID\020\376" + - "\001\"Y\n\nDigestType\022\033\n\027DIGEST_TYPE_UNSPECIFI" + - "ED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SHA256\020\002\022\014\n\010GOST3411\020\003" + - "\022\n\n\006SHA384\020\004\032T\n\nGlueRecord\022\026\n\thost_name\030" + - "\001 \001(\tB\003\340A\002\022\026\n\016ipv4_addresses\030\002 \003(\t\022\026\n\016ip" + - "v6_addresses\030\003 \003(\t\"Y\n\007DsState\022\030\n\024DS_STAT" + - "E_UNSPECIFIED\020\000\022\032\n\026DS_RECORDS_UNPUBLISHE" + - "D\020\001\022\030\n\024DS_RECORDS_PUBLISHED\020\002B\016\n\014dns_pro" + - "vider\"\337\003\n\017ContactSettings\022B\n\007privacy\030\001 \001" + - "(\0162,.google.cloud.domains.v1beta1.Contac" + - "tPrivacyB\003\340A\002\022V\n\022registrant_contact\030\002 \001(" + - "\01325.google.cloud.domains.v1beta1.Contact" + - "Settings.ContactB\003\340A\002\022Q\n\radmin_contact\030\003" + - " \001(\01325.google.cloud.domains.v1beta1.Cont" + - "actSettings.ContactB\003\340A\002\022U\n\021technical_co" + - "ntact\030\004 \001(\01325.google.cloud.domains.v1bet" + - "a1.ContactSettings.ContactB\003\340A\002\032\205\001\n\007Cont" + - "act\0227\n\016postal_address\030\001 \001(\0132\032.google.typ" + - "e.PostalAddressB\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002" + - "\022\031\n\014phone_number\030\003 \001(\tB\003\340A\002\022\022\n\nfax_numbe" + - "r\030\004 \001(\t\"g\n\024SearchDomainsRequest\022\022\n\005query" + - "\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!l" + - "ocations.googleapis.com/Location\"f\n\025Sear" + - "chDomainsResponse\022M\n\023register_parameters" + - "\030\001 \003(\01320.google.cloud.domains.v1beta1.Re" + - "gisterParameters\"z\n!RetrieveRegisterPara" + - "metersRequest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022" + - ";\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locations.goo" + - "gleapis.com/Location\"s\n\"RetrieveRegister" + - "ParametersResponse\022M\n\023register_parameter" + - "s\030\001 \001(\01320.google.cloud.domains.v1beta1.R" + - "egisterParameters\"\351\002\n\025RegisterDomainRequ" + - "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.g" + - "oogleapis.com/Location\022E\n\014registration\030\002" + - " \001(\0132*.google.cloud.domains.v1beta1.Regi" + - "strationB\003\340A\002\022B\n\016domain_notices\030\003 \003(\0162*." + - "google.cloud.domains.v1beta1.DomainNotic" + - "e\022D\n\017contact_notices\030\004 \003(\0162+.google.clou" + - "d.domains.v1beta1.ContactNotice\022-\n\014yearl" + - "y_price\030\005 \001(\0132\022.google.type.MoneyB\003\340A\002\022\025" + - "\n\rvalidate_only\030\006 \001(\010\"z\n!RetrieveTransfe" + - "rParametersRequest\022\030\n\013domain_name\030\001 \001(\tB" + - "\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!location" + - "s.googleapis.com/Location\"s\n\"RetrieveTra" + - "nsferParametersResponse\022M\n\023transfer_para" + - "meters\030\001 \001(\01320.google.cloud.domains.v1be" + - "ta1.TransferParameters\"\362\002\n\025TransferDomai" + - "nRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati" + - "ons.googleapis.com/Location\022E\n\014registrat" + - "ion\030\002 \001(\0132*.google.cloud.domains.v1beta1" + - ".RegistrationB\003\340A\002\022D\n\017contact_notices\030\003 " + - "\003(\0162+.google.cloud.domains.v1beta1.Conta" + - "ctNotice\022-\n\014yearly_price\030\004 \001(\0132\022.google." + - "type.MoneyB\003\340A\002\022K\n\022authorization_code\030\005 " + - "\001(\0132/.google.cloud.domains.v1beta1.Autho" + - "rizationCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030" + - "ListRegistrationsRequest\0229\n\006parent\030\001 \001(\t" + - "B)\340A\002\372A#\n!locations.googleapis.com/Locat" + - "ion\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\"w\n\031ListRegistrationsR" + - "esponse\022A\n\rregistrations\030\001 \003(\0132*.google." + - "cloud.domains.v1beta1.Registration\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"S\n\026GetRegistrationRe" + - "quest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" + - "gleapis.com/Registration\"\223\001\n\031UpdateRegis" + - "trationRequest\022@\n\014registration\030\001 \001(\0132*.g" + - "oogle.cloud.domains.v1beta1.Registration" + - "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + - "FieldMaskB\003\340A\002\"\354\001\n\"ConfigureManagementSe" + - "ttingsRequest\022A\n\014registration\030\001 \001(\tB+\340A\002" + - "\372A%\n#domains.googleapis.com/Registration" + - "\022M\n\023management_settings\030\002 \001(\01320.google.c" + - "loud.domains.v1beta1.ManagementSettings\022" + - "4\n\013update_mask\030\003 \001(\0132\032.google.protobuf.F" + - "ieldMaskB\003\340A\002\"\356\001\n\033ConfigureDnsSettingsRe" + - "quest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#dom" + - "ains.googleapis.com/Registration\022?\n\014dns_" + - "settings\030\002 \001(\0132).google.cloud.domains.v1" + - "beta1.DnsSettings\0224\n\013update_mask\030\003 \001(\0132\032" + - ".google.protobuf.FieldMaskB\003\340A\002\022\025\n\rvalid" + - "ate_only\030\004 \001(\010\"\300\002\n\037ConfigureContactSetti" + - "ngsRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%" + - "\n#domains.googleapis.com/Registration\022G\n" + - "\020contact_settings\030\002 \001(\0132-.google.cloud.d" + - "omains.v1beta1.ContactSettings\0224\n\013update" + - "_mask\030\003 \001(\0132\032.google.protobuf.FieldMaskB" + - "\003\340A\002\022D\n\017contact_notices\030\004 \003(\0162+.google.c" + - "loud.domains.v1beta1.ContactNotice\022\025\n\rva" + - "lidate_only\030\005 \001(\010\"V\n\031ExportRegistrationR" + - "equest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.go" + - "ogleapis.com/Registration\"V\n\031DeleteRegis" + - "trationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#do" + - "mains.googleapis.com/Registration\"e\n Ret" + - "rieveAuthorizationCodeRequest\022A\n\014registr" + - "ation\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis." + - "com/Registration\"b\n\035ResetAuthorizationCo" + - "deRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n" + - "#domains.googleapis.com/Registration\"\241\003\n" + - "\022RegisterParameters\022\023\n\013domain_name\030\001 \001(\t" + - "\022S\n\014availability\030\002 \001(\0162=.google.cloud.do" + - "mains.v1beta1.RegisterParameters.Availab" + - "ility\022G\n\021supported_privacy\030\003 \003(\0162,.googl" + - "e.cloud.domains.v1beta1.ContactPrivacy\022B" + - "\n\016domain_notices\030\004 \003(\0162*.google.cloud.do" + - "mains.v1beta1.DomainNotice\022(\n\014yearly_pri" + - "ce\030\005 \001(\0132\022.google.type.Money\"j\n\014Availabi" + - "lity\022\034\n\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\tAV" + - "AILABLE\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTE" + - "D\020\003\022\013\n\007UNKNOWN\020\004\"\233\002\n\022TransferParameters\022" + - "\023\n\013domain_name\030\001 \001(\t\022\031\n\021current_registra" + - "r\030\002 \001(\t\022\024\n\014name_servers\030\003 \003(\t\022L\n\023transfe" + - "r_lock_state\030\004 \001(\0162/.google.cloud.domain" + - "s.v1beta1.TransferLockState\022G\n\021supported" + - "_privacy\030\005 \003(\0162,.google.cloud.domains.v1" + - "beta1.ContactPrivacy\022(\n\014yearly_price\030\006 \001" + - "(\0132\022.google.type.Money\"!\n\021AuthorizationC" + - "ode\022\014\n\004code\030\001 \001(\t\"\274\001\n\021OperationMetadata\022" + - "/\n\013create_time\030\001 \001(\0132\032.google.protobuf.T" + - "imestamp\022,\n\010end_time\030\002 \001(\0132\032.google.prot" + - "obuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004" + - " \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\023\n\013api_versi" + - "on\030\006 \001(\t*\177\n\016ContactPrivacy\022\037\n\033CONTACT_PR" + - "IVACY_UNSPECIFIED\020\000\022\027\n\023PUBLIC_CONTACT_DA" + - "TA\020\001\022\030\n\024PRIVATE_CONTACT_DATA\020\002\022\031\n\025REDACT" + - "ED_CONTACT_DATA\020\003*A\n\014DomainNotice\022\035\n\031DOM" + - "AIN_NOTICE_UNSPECIFIED\020\000\022\022\n\016HSTS_PRELOAD" + - "ED\020\001*X\n\rContactNotice\022\036\n\032CONTACT_NOTICE_" + - "UNSPECIFIED\020\000\022\'\n#PUBLIC_CONTACT_DATA_ACK" + - "NOWLEDGEMENT\020\001*R\n\021TransferLockState\022#\n\037T" + - "RANSFER_LOCK_STATE_UNSPECIFIED\020\000\022\014\n\010UNLO" + - "CKED\020\001\022\n\n\006LOCKED\020\0022\312\036\n\007Domains\022\331\001\n\rSearc" + - "hDomains\0222.google.cloud.domains.v1beta1." + - "SearchDomainsRequest\0323.google.cloud.doma" + - "ins.v1beta1.SearchDomainsResponse\"_\202\323\344\223\002" + - "H\022F/v1beta1/{location=projects/*/locatio" + - "ns/*}/registrations:searchDomains\332A\016loca" + - "tion,query\022\223\002\n\032RetrieveRegisterParameter" + - "s\022?.google.cloud.domains.v1beta1.Retriev" + - "eRegisterParametersRequest\032@.google.clou" + - "d.domains.v1beta1.RetrieveRegisterParame" + - "tersResponse\"r\202\323\344\223\002U\022S/v1beta1/{location" + - "=projects/*/locations/*}/registrations:r" + - "etrieveRegisterParameters\332A\024location,dom" + - "ain_name\022\370\001\n\016RegisterDomain\0223.google.clo" + - "ud.domains.v1beta1.RegisterDomainRequest" + - "\032\035.google.longrunning.Operation\"\221\001\202\323\344\223\002D" + - "\"?/v1beta1/{parent=projects/*/locations/" + - "*}/registrations:register:\001*\332A parent,re" + - "gistration,yearly_price\312A!\n\014Registration" + - "\022\021OperationMetadata\022\223\002\n\032RetrieveTransfer" + - "Parameters\022?.google.cloud.domains.v1beta" + - "1.RetrieveTransferParametersRequest\032@.go" + - "ogle.cloud.domains.v1beta1.RetrieveTrans" + - "ferParametersResponse\"r\202\323\344\223\002U\022S/v1beta1/" + - "{location=projects/*/locations/*}/regist" + - "rations:retrieveTransferParameters\332A\024loc" + - "ation,domain_name\022\213\002\n\016TransferDomain\0223.g" + - "oogle.cloud.domains.v1beta1.TransferDoma" + - "inRequest\032\035.google.longrunning.Operation" + - "\"\244\001\202\323\344\223\002D\"?/v1beta1/{parent=projects/*/l" + - "ocations/*}/registrations:transfer:\001*\332A3" + - "parent,registration,yearly_price,authori" + - "zation_code\312A!\n\014Registration\022\021OperationM" + - "etadata\022\315\001\n\021ListRegistrations\0226.google.c" + - "loud.domains.v1beta1.ListRegistrationsRe" + - "quest\0327.google.cloud.domains.v1beta1.Lis" + - "tRegistrationsResponse\"G\202\323\344\223\0028\0226/v1beta1" + - "/{parent=projects/*/locations/*}/registr" + - "ations\332A\006parent\022\272\001\n\017GetRegistration\0224.go" + - "ogle.cloud.domains.v1beta1.GetRegistrati" + - "onRequest\032*.google.cloud.domains.v1beta1" + - ".Registration\"E\202\323\344\223\0028\0226/v1beta1/{name=pr" + - "ojects/*/locations/*/registrations/*}\332A\004" + - "name\022\207\002\n\022UpdateRegistration\0227.google.clo" + - "ud.domains.v1beta1.UpdateRegistrationReq" + - "uest\032\035.google.longrunning.Operation\"\230\001\202\323" + - "\344\223\002S2C/v1beta1/{registration.name=projec" + - "ts/*/locations/*/registrations/*}:\014regis" + - "tration\332A\030registration,update_mask\312A!\n\014R" + - "egistration\022\021OperationMetadata\022\271\002\n\033Confi" + - "gureManagementSettings\022@.google.cloud.do" + - "mains.v1beta1.ConfigureManagementSetting" + - "sRequest\032\035.google.longrunning.Operation\"" + - "\270\001\202\323\344\223\002_\"Z/v1beta1/{registration=project" + - "s/*/locations/*/registrations/*}:configu" + - "reManagementSettings:\001*\332A,registration,m" + - "anagement_settings,update_mask\312A!\n\014Regis" + - "tration\022\021OperationMetadata\022\235\002\n\024Configure" + - "DnsSettings\0229.google.cloud.domains.v1bet" + - "a1.ConfigureDnsSettingsRequest\032\035.google." + - "longrunning.Operation\"\252\001\202\323\344\223\002X\"S/v1beta1" + - "/{registration=projects/*/locations/*/re" + - "gistrations/*}:configureDnsSettings:\001*\332A" + - "%registration,dns_settings,update_mask\312A" + - "!\n\014Registration\022\021OperationMetadata\022\255\002\n\030C" + - "onfigureContactSettings\022=.google.cloud.d" + - "omains.v1beta1.ConfigureContactSettingsR" + - "equest\032\035.google.longrunning.Operation\"\262\001" + - "\202\323\344\223\002\\\"W/v1beta1/{registration=projects/" + - "*/locations/*/registrations/*}:configure" + - "ContactSettings:\001*\332A)registration,contac" + - "t_settings,update_mask\312A!\n\014Registration\022" + - "\021OperationMetadata\022\341\001\n\022ExportRegistratio" + - "n\0227.google.cloud.domains.v1beta1.ExportR" + - "egistrationRequest\032\035.google.longrunning." + - "Operation\"s\202\323\344\223\002B\"=/v1beta1/{name=projec" + - "ts/*/locations/*/registrations/*}:export" + - ":\001*\332A\004name\312A!\n\014Registration\022\021OperationMe" + - "tadata\022\340\001\n\022DeleteRegistration\0227.google.c" + - "loud.domains.v1beta1.DeleteRegistrationR" + - "equest\032\035.google.longrunning.Operation\"r\202" + - "\323\344\223\0028*6/v1beta1/{name=projects/*/locatio" + - "ns/*/registrations/*}\332A\004name\312A*\n\025google." + - "protobuf.Empty\022\021OperationMetadata\022\375\001\n\031Re" + - "trieveAuthorizationCode\022>.google.cloud.d" + - "omains.v1beta1.RetrieveAuthorizationCode" + - "Request\032/.google.cloud.domains.v1beta1.A" + - "uthorizationCode\"o\202\323\344\223\002Z\022X/v1beta1/{regi" + - "stration=projects/*/locations/*/registra" + - "tions/*}:retrieveAuthorizationCode\332A\014reg" + - "istration\022\367\001\n\026ResetAuthorizationCode\022;.g" + - "oogle.cloud.domains.v1beta1.ResetAuthori" + - "zationCodeRequest\032/.google.cloud.domains" + - ".v1beta1.AuthorizationCode\"o\202\323\344\223\002Z\"U/v1b" + - "eta1/{registration=projects/*/locations/" + - "*/registrations/*}:resetAuthorizationCod" + - "e:\001*\332A\014registration\032J\312A\026domains.googleap" + - "is.com\322A.https://www.googleapis.com/auth" + - "/cloud-platformBw\n com.google.cloud.doma" + - "ins.v1beta1B\014DomainsProtoP\001ZCgoogle.gola" + - "ng.org/genproto/googleapis/cloud/domains" + - "/v1beta1;domainsb\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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_domains_v1beta1_Registration_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_Registration_descriptor, - new java.lang.String[] { "Name", "DomainName", "CreateTime", "ExpireTime", "State", "Issues", "Labels", "ManagementSettings", "DnsSettings", "ContactSettings", "PendingContactSettings", "SupportedPrivacy", }); - internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor = - internal_static_google_cloud_domains_v1beta1_Registration_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor, - new java.lang.String[] { "RenewalMethod", "TransferLockState", }); - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor, - new java.lang.String[] { "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider", }); - internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor = - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor, - new java.lang.String[] { "NameServers", "DsRecords", }); - internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor = - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor, - new java.lang.String[] { "NameServers", "DsState", "DsRecords", }); - internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor = - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor, - new java.lang.String[] { "KeyTag", "Algorithm", "DigestType", "Digest", }); - internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor = - internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor, - new java.lang.String[] { "HostName", "Ipv4Addresses", "Ipv6Addresses", }); - internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor, - new java.lang.String[] { "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact", }); - internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor = - internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor, - new java.lang.String[] { "PostalAddress", "Email", "PhoneNumber", "FaxNumber", }); - internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor, - new java.lang.String[] { "Query", "Location", }); - internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor, - new java.lang.String[] { "RegisterParameters", }); - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor, - new java.lang.String[] { "DomainName", "Location", }); - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor, - new java.lang.String[] { "RegisterParameters", }); - internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor, - new java.lang.String[] { "Parent", "Registration", "DomainNotices", "ContactNotices", "YearlyPrice", "ValidateOnly", }); - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor, - new java.lang.String[] { "DomainName", "Location", }); - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor, - new java.lang.String[] { "TransferParameters", }); - internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor, - new java.lang.String[] { "Parent", "Registration", "ContactNotices", "YearlyPrice", "AuthorizationCode", "ValidateOnly", }); - internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor, - new java.lang.String[] { "Registrations", "NextPageToken", }); - internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor, - new java.lang.String[] { "Registration", "UpdateMask", }); - internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor, - new java.lang.String[] { "Registration", "ManagementSettings", "UpdateMask", }); - internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor, - new java.lang.String[] { "Registration", "DnsSettings", "UpdateMask", "ValidateOnly", }); - internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor, - new java.lang.String[] { "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly", }); - internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor, - new java.lang.String[] { "Registration", }); - internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor, - new java.lang.String[] { "Registration", }); - internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor, - new java.lang.String[] { "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice", }); - internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor, - new java.lang.String[] { "DomainName", "CurrentRegistrar", "NameServers", "TransferLockState", "SupportedPrivacy", "YearlyPrice", }); - internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor, - new java.lang.String[] { "Code", }); - internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java deleted file mode 100644 index f82b8389..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public interface ExportRegistrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ExportRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the `Registration` to export,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * 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/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java deleted file mode 100644 index 292695f0..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public interface GetRegistrationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.GetRegistrationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the `Registration` to get, in the format
-   * `projects/*/locations/*/registrations/*`.
-   * 
- * - * 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/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index 3321ba57..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public interface ResetAuthorizationCodeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The registration. - */ - java.lang.String getRegistration(); - /** - *
-   * Required. The name of the `Registration` whose authorization code is being reset,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for registration. - */ - com.google.protobuf.ByteString - getRegistrationBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java deleted file mode 100644 index f46a6f5c..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/domains/v1beta1/domains.proto - -package com.google.cloud.domains.v1beta1; - -public interface RetrieveAuthorizationCodeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The registration. - */ - java.lang.String getRegistration(); - /** - *
-   * Required. The name of the `Registration` whose authorization code is being retrieved,
-   * in the format `projects/*/locations/*/registrations/*`.
-   * 
- * - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for registration. - */ - com.google.protobuf.ByteString - getRegistrationBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java index 3ffea4e5..a6a87f2e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCode.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Defines an authorization code.
  * 
* * Protobuf type {@code google.cloud.domains.v1.AuthorizationCode} */ -public final class AuthorizationCode extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuthorizationCode extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.AuthorizationCode) AuthorizationCodeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuthorizationCode.newBuilder() to construct. private AuthorizationCode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuthorizationCode() { code_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthorizationCode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AuthorizationCode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AuthorizationCode( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + code_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,40 @@ private AuthorizationCode( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.AuthorizationCode.class, com.google.cloud.domains.v1.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1.AuthorizationCode.class, + com.google.cloud.domains.v1.AuthorizationCode.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private volatile java.lang.Object code_; /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The code. */ @java.lang.Override @@ -110,30 +133,30 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString - getCodeBytes() { + public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); code_ = b; return b; } else { @@ -142,6 +165,7 @@ public java.lang.String getCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } @@ -178,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1.AuthorizationCode)) { return super.equals(obj); } - com.google.cloud.domains.v1.AuthorizationCode other = (com.google.cloud.domains.v1.AuthorizationCode) obj; + com.google.cloud.domains.v1.AuthorizationCode other = + (com.google.cloud.domains.v1.AuthorizationCode) obj; - if (!getCode() - .equals(other.getCode())) return false; + if (!getCode().equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +228,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.AuthorizationCode parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.AuthorizationCode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.AuthorizationCode parseFrom(java.io.InputStream input) 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.domains.v1.AuthorizationCode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.AuthorizationCode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.AuthorizationCode parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.AuthorizationCode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.AuthorizationCode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.AuthorizationCode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines an authorization code.
    * 
* * Protobuf type {@code google.cloud.domains.v1.AuthorizationCode} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.AuthorizationCode) com.google.cloud.domains.v1.AuthorizationCodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.AuthorizationCode.class, com.google.cloud.domains.v1.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1.AuthorizationCode.class, + com.google.cloud.domains.v1.AuthorizationCode.Builder.class); } // Construct using com.google.cloud.domains.v1.AuthorizationCode.newBuilder() @@ -324,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor; } @java.lang.Override @@ -364,7 +395,8 @@ public com.google.cloud.domains.v1.AuthorizationCode build() { @java.lang.Override public com.google.cloud.domains.v1.AuthorizationCode buildPartial() { - com.google.cloud.domains.v1.AuthorizationCode result = new com.google.cloud.domains.v1.AuthorizationCode(this); + com.google.cloud.domains.v1.AuthorizationCode result = + new com.google.cloud.domains.v1.AuthorizationCode(this); result.code_ = code_; onBuilt(); return result; @@ -374,38 +406,39 @@ public com.google.cloud.domains.v1.AuthorizationCode buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.AuthorizationCode) { - return mergeFrom((com.google.cloud.domains.v1.AuthorizationCode)other); + return mergeFrom((com.google.cloud.domains.v1.AuthorizationCode) other); } else { super.mergeFrom(other); return this; @@ -449,19 +482,21 @@ public Builder mergeFrom( private java.lang.Object code_ = ""; /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -470,21 +505,22 @@ public java.lang.String getCode() { } } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @return The bytes for code. */ - public com.google.protobuf.ByteString - getCodeBytes() { + public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); code_ = b; return b; } else { @@ -492,64 +528,71 @@ public java.lang.String getCode() { } } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode( - java.lang.String value) { + public Builder setCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -559,12 +602,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.AuthorizationCode) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.AuthorizationCode) private static final com.google.cloud.domains.v1.AuthorizationCode DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.AuthorizationCode(); } @@ -573,16 +616,16 @@ public static com.google.cloud.domains.v1.AuthorizationCode getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthorizationCode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuthorizationCode(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthorizationCode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthorizationCode(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.AuthorizationCode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java index e03bfc2e..f2893185 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/AuthorizationCodeOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface AuthorizationCodeOrBuilder extends +public interface AuthorizationCodeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.AuthorizationCode) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The code. */ java.lang.String getCode(); /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The bytes for code. */ - com.google.protobuf.ByteString - getCodeBytes(); + com.google.protobuf.ByteString getCodeBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java index f3a959d1..560f2e81 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `ConfigureContactSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureContactSettingsRequest} */ -public final class ConfigureContactSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigureContactSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ConfigureContactSettingsRequest) ConfigureContactSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigureContactSettingsRequest.newBuilder() to construct. - private ConfigureContactSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureContactSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConfigureContactSettingsRequest() { registration_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -26,16 +45,15 @@ private ConfigureContactSettingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigureContactSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConfigureContactSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,73 +73,81 @@ private ConfigureContactSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null; - if (contactSettings_ != null) { - subBuilder = contactSettings_.toBuilder(); - } - contactSettings_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(contactSettings_); - contactSettings_ = subBuilder.buildPartial(); + registration_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null; + if (contactSettings_ != null) { + subBuilder = contactSettings_.toBuilder(); + } + contactSettings_ = + input.readMessage( + com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(contactSettings_); + contactSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - contactNotices_.add(rawValue); - break; - } - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 40: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + contactNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; + } + case 40: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,8 +155,7 @@ private ConfigureContactSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -139,28 +164,36 @@ private ConfigureContactSettingsRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureContactSettingsRequest.class, + com.google.cloud.domains.v1.ConfigureContactSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -169,30 +202,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -203,11 +238,14 @@ public java.lang.String getRegistration() { public static final int CONTACT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.ContactSettings contactSettings_; /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; + * * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -215,18 +253,25 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; + * * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings getContactSettings() { - return contactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() + : contactSettings_; } /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -241,13 +286,17 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -255,13 +304,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -269,13 +322,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -285,36 +341,47 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> + contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>() { public com.google.cloud.domains.v1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactNotice result = com.google.cloud.domains.v1.ContactNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1.ContactNotice result = + com.google.cloud.domains.v1.ContactNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ @java.lang.Override @@ -322,12 +389,15 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -336,26 +406,31 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return contactNotices_; } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -363,16 +438,20 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } + private int contactNoticesMemoizedSerializedSize; public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_; /** + * + * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; + * * @return The validateOnly. */ @java.lang.Override @@ -381,6 +460,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,8 +472,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); @@ -427,28 +506,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getContactSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContactSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + contactNoticesMemoizedSerializedSize = dataSize; } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -458,28 +535,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.domains.v1.ConfigureContactSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ConfigureContactSettingsRequest other = (com.google.cloud.domains.v1.ConfigureContactSettingsRequest) obj; + com.google.cloud.domains.v1.ConfigureContactSettingsRequest other = + (com.google.cloud.domains.v1.ConfigureContactSettingsRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings() - .equals(other.getContactSettings())) return false; + if (!getContactSettings().equals(other.getContactSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -506,125 +580,134 @@ public int hashCode() { hash = (53 * hash) + contactNotices_.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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.ConfigureContactSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.ConfigureContactSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureContactSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureContactSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ConfigureContactSettingsRequest) com.google.cloud.domains.v1.ConfigureContactSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureContactSettingsRequest.class, + com.google.cloud.domains.v1.ConfigureContactSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ConfigureContactSettingsRequest.newBuilder() @@ -632,16 +715,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -667,9 +749,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override @@ -688,7 +770,8 @@ public com.google.cloud.domains.v1.ConfigureContactSettingsRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ConfigureContactSettingsRequest buildPartial() { - com.google.cloud.domains.v1.ConfigureContactSettingsRequest result = new com.google.cloud.domains.v1.ConfigureContactSettingsRequest(this); + com.google.cloud.domains.v1.ConfigureContactSettingsRequest result = + new com.google.cloud.domains.v1.ConfigureContactSettingsRequest(this); int from_bitField0_ = bitField0_; result.registration_ = registration_; if (contactSettingsBuilder_ == null) { @@ -715,38 +798,39 @@ public com.google.cloud.domains.v1.ConfigureContactSettingsRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ConfigureContactSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1.ConfigureContactSettingsRequest)other); + return mergeFrom((com.google.cloud.domains.v1.ConfigureContactSettingsRequest) other); } else { super.mergeFrom(other); return this; @@ -754,7 +838,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ConfigureContactSettingsRequest other) { - if (other == com.google.cloud.domains.v1.ConfigureContactSettingsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.ConfigureContactSettingsRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -797,7 +882,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.ConfigureContactSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.ConfigureContactSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -806,23 +892,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -831,21 +922,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -853,57 +947,70 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -911,34 +1018,47 @@ public Builder setRegistrationBytes( private com.google.cloud.domains.v1.ContactSettings contactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> contactSettingsBuilder_; + com.google.cloud.domains.v1.ContactSettings, + com.google.cloud.domains.v1.ContactSettings.Builder, + com.google.cloud.domains.v1.ContactSettingsOrBuilder> + contactSettingsBuilder_; /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; + * * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; + * * @return The contactSettings. */ public com.google.cloud.domains.v1.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() + : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -959,6 +1079,8 @@ public Builder setContactSettings(com.google.cloud.domains.v1.ContactSettings va return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -977,6 +1099,8 @@ public Builder setContactSettings( return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -987,7 +1111,9 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1.ContactSettings if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.ContactSettings.newBuilder(contactSettings_) + .mergeFrom(value) + .buildPartial(); } else { contactSettings_ = value; } @@ -999,6 +1125,8 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1.ContactSettings return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1017,6 +1145,8 @@ public Builder clearContactSettings() { return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1024,11 +1154,13 @@ public Builder clearContactSettings() { * .google.cloud.domains.v1.ContactSettings contact_settings = 2; */ public com.google.cloud.domains.v1.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1039,11 +1171,14 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null ? - com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() + : contactSettings_; } } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1051,14 +1186,17 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr * .google.cloud.domains.v1.ContactSettings contact_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1.ContactSettings, + com.google.cloud.domains.v1.ContactSettings.Builder, + com.google.cloud.domains.v1.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder>( - getContactSettings(), - getParentForChildren(), - isClean()); + contactSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings, + com.google.cloud.domains.v1.ContactSettings.Builder, + com.google.cloud.domains.v1.ContactSettingsOrBuilder>( + getContactSettings(), getParentForChildren(), isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -1066,45 +1204,61 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1120,16 +1274,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1140,19 +1296,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1164,13 +1323,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1184,61 +1346,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private java.util.List contactNotices_ = - java.util.Collections.emptyList(); + private java.util.List contactNotices_ = java.util.Collections.emptyList(); + private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1246,37 +1421,47 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1284,18 +1469,20 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. */ - public Builder setContactNotices( - int index, com.google.cloud.domains.v1.ContactNotice value) { + public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactNotice value) { if (value == null) { throw new NullPointerException(); } @@ -1305,12 +1492,15 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1324,12 +1514,15 @@ public Builder addContactNotices(com.google.cloud.domains.v1.ContactNotice value return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1343,12 +1536,15 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1358,25 +1554,30 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1384,30 +1585,35 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue( - int index, int value) { + public Builder setContactNoticesValue(int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1418,17 +1624,19 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue( - java.lang.Iterable values) { + public Builder addAllContactNoticesValue(java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1437,13 +1645,16 @@ public Builder addAllContactNoticesValue( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; + * * @return The validateOnly. */ @java.lang.Override @@ -1451,37 +1662,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1491,12 +1708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ConfigureContactSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ConfigureContactSettingsRequest) private static final com.google.cloud.domains.v1.ConfigureContactSettingsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ConfigureContactSettingsRequest(); } @@ -1505,16 +1722,16 @@ public static com.google.cloud.domains.v1.ConfigureContactSettingsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureContactSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureContactSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureContactSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureContactSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1529,6 +1746,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.domains.v1.ConfigureContactSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java index 97bc6250..b94c22a4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureContactSettingsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ConfigureContactSettingsRequestOrBuilder extends +public interface ConfigureContactSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ConfigureContactSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ java.lang.String getRegistration(); /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - com.google.protobuf.ByteString - getRegistrationBytes(); + com.google.protobuf.ByteString getRegistrationBytes(); /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; + * * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1.ContactSettings contact_settings = 2; + * * @return The contactSettings. */ com.google.cloud.domains.v1.ContactSettings getContactSettings(); /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -57,98 +90,126 @@ public interface ConfigureContactSettingsRequestOrBuilder extends com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ int getContactNoticesCount(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1.ContactNotice getContactNotices(int index); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List - getContactNoticesValueList(); + java.util.List getContactNoticesValueList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** + * + * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java index 9e08b477..3d1f19e5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `ConfigureDnsSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureDnsSettingsRequest} */ -public final class ConfigureDnsSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigureDnsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ConfigureDnsSettingsRequest) ConfigureDnsSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigureDnsSettingsRequest.newBuilder() to construct. private ConfigureDnsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConfigureDnsSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigureDnsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConfigureDnsSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,50 +70,56 @@ private ConfigureDnsSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1.DnsSettings.Builder subBuilder = null; - if (dnsSettings_ != null) { - subBuilder = dnsSettings_.toBuilder(); + registration_ = s; + break; } - dnsSettings_ = input.readMessage(com.google.cloud.domains.v1.DnsSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsSettings_); - dnsSettings_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.domains.v1.DnsSettings.Builder subBuilder = null; + if (dnsSettings_ != null) { + subBuilder = dnsSettings_.toBuilder(); + } + dnsSettings_ = + input.readMessage( + com.google.cloud.domains.v1.DnsSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsSettings_); + dnsSettings_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 32: + { + validateOnly_ = input.readBool(); + break; } - - break; - } - case 32: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,35 +127,42 @@ private ConfigureDnsSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.class, + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -141,30 +171,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -175,11 +207,14 @@ public java.lang.String getRegistration() { public static final int DNS_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.DnsSettings dnsSettings_; /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; + * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -187,18 +222,25 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; + * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings getDnsSettings() { - return dnsSettings_ == null ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() + : dnsSettings_; } /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -213,6 +255,8 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder( public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -224,7 +268,9 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -232,6 +278,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -243,7 +291,9 @@ public boolean hasUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -251,6 +301,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -262,7 +314,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -272,11 +325,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** + * + * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -285,6 +341,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,8 +353,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -323,16 +379,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDnsSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,27 +395,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.domains.v1.ConfigureDnsSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest other = (com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) obj; + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest other = + (com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings() - .equals(other.getDnsSettings())) return false; + if (!getDnsSettings().equals(other.getDnsSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,125 +435,134 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureDnsSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureDnsSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ConfigureDnsSettingsRequest) com.google.cloud.domains.v1.ConfigureDnsSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.class, + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.newBuilder() @@ -511,16 +570,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -544,9 +602,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override @@ -565,7 +623,8 @@ public com.google.cloud.domains.v1.ConfigureDnsSettingsRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ConfigureDnsSettingsRequest buildPartial() { - com.google.cloud.domains.v1.ConfigureDnsSettingsRequest result = new com.google.cloud.domains.v1.ConfigureDnsSettingsRequest(this); + com.google.cloud.domains.v1.ConfigureDnsSettingsRequest result = + new com.google.cloud.domains.v1.ConfigureDnsSettingsRequest(this); result.registration_ = registration_; if (dnsSettingsBuilder_ == null) { result.dnsSettings_ = dnsSettings_; @@ -586,38 +645,39 @@ public com.google.cloud.domains.v1.ConfigureDnsSettingsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1.ConfigureDnsSettingsRequest)other); + return mergeFrom((com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) other); } else { super.mergeFrom(other); return this; @@ -625,7 +685,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ConfigureDnsSettingsRequest other) { - if (other == com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.ConfigureDnsSettingsRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -658,7 +719,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.ConfigureDnsSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,19 +732,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -691,21 +757,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -713,57 +782,70 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -771,34 +853,47 @@ public Builder setRegistrationBytes( private com.google.cloud.domains.v1.DnsSettings dnsSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder> dnsSettingsBuilder_; + com.google.cloud.domains.v1.DnsSettings, + com.google.cloud.domains.v1.DnsSettings.Builder, + com.google.cloud.domains.v1.DnsSettingsOrBuilder> + dnsSettingsBuilder_; /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; + * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; + * * @return The dnsSettings. */ public com.google.cloud.domains.v1.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() + : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -819,14 +914,15 @@ public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings value) { return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; */ - public Builder setDnsSettings( - com.google.cloud.domains.v1.DnsSettings.Builder builderForValue) { + public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings.Builder builderForValue) { if (dnsSettingsBuilder_ == null) { dnsSettings_ = builderForValue.build(); onChanged(); @@ -837,6 +933,8 @@ public Builder setDnsSettings( return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -847,7 +945,9 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1.DnsSettings value) { if (dnsSettingsBuilder_ == null) { if (dnsSettings_ != null) { dnsSettings_ = - com.google.cloud.domains.v1.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.DnsSettings.newBuilder(dnsSettings_) + .mergeFrom(value) + .buildPartial(); } else { dnsSettings_ = value; } @@ -859,6 +959,8 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1.DnsSettings value) { return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -877,6 +979,8 @@ public Builder clearDnsSettings() { return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -884,11 +988,13 @@ public Builder clearDnsSettings() { * .google.cloud.domains.v1.DnsSettings dns_settings = 2; */ public com.google.cloud.domains.v1.DnsSettings.Builder getDnsSettingsBuilder() { - + onChanged(); return getDnsSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -899,11 +1005,14 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder( if (dnsSettingsBuilder_ != null) { return dnsSettingsBuilder_.getMessageOrBuilder(); } else { - return dnsSettings_ == null ? - com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() + : dnsSettings_; } } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -911,14 +1020,17 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder( * .google.cloud.domains.v1.DnsSettings dns_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder> + com.google.cloud.domains.v1.DnsSettings, + com.google.cloud.domains.v1.DnsSettings.Builder, + com.google.cloud.domains.v1.DnsSettingsOrBuilder> getDnsSettingsFieldBuilder() { if (dnsSettingsBuilder_ == null) { - dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder>( - getDnsSettings(), - getParentForChildren(), - isClean()); + dnsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.DnsSettings, + com.google.cloud.domains.v1.DnsSettings.Builder, + com.google.cloud.domains.v1.DnsSettingsOrBuilder>( + getDnsSettings(), getParentForChildren(), isClean()); dnsSettings_ = null; } return dnsSettingsBuilder_; @@ -926,8 +1038,13 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -939,13 +1056,17 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -957,17 +1078,23 @@ public boolean hasUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -979,7 +1106,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -995,6 +1123,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1006,10 +1136,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1020,6 +1150,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1031,13 +1163,14 @@ public Builder setUpdateMask(
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1049,6 +1182,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1060,7 +1195,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1074,6 +1210,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1085,14 +1223,17 @@ public Builder clearUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1104,17 +1245,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1126,29 +1271,36 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -1156,37 +1308,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1196,12 +1354,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ConfigureDnsSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ConfigureDnsSettingsRequest) private static final com.google.cloud.domains.v1.ConfigureDnsSettingsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ConfigureDnsSettingsRequest(); } @@ -1210,16 +1368,16 @@ public static com.google.cloud.domains.v1.ConfigureDnsSettingsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureDnsSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureDnsSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureDnsSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureDnsSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1234,6 +1392,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.domains.v1.ConfigureDnsSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java index 882bfa52..22a5a368 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureDnsSettingsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ConfigureDnsSettingsRequestOrBuilder extends +public interface ConfigureDnsSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ConfigureDnsSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ java.lang.String getRegistration(); /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - com.google.protobuf.ByteString - getRegistrationBytes(); + com.google.protobuf.ByteString getRegistrationBytes(); /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; + * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 2; + * * @return The dnsSettings. */ com.google.cloud.domains.v1.DnsSettings getDnsSettings(); /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -57,6 +90,8 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -68,11 +103,15 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -84,11 +123,15 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -100,16 +143,20 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java index c1280134..947937fc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `ConfigureManagementSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureManagementSettingsRequest} */ -public final class ConfigureManagementSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigureManagementSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ConfigureManagementSettingsRequest) ConfigureManagementSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigureManagementSettingsRequest.newBuilder() to construct. - private ConfigureManagementSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureManagementSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConfigureManagementSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigureManagementSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConfigureManagementSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +71,51 @@ private ConfigureManagementSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1.ManagementSettings.Builder subBuilder = null; - if (managementSettings_ != null) { - subBuilder = managementSettings_.toBuilder(); - } - managementSettings_ = input.readMessage(com.google.cloud.domains.v1.ManagementSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(managementSettings_); - managementSettings_ = subBuilder.buildPartial(); + registration_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1.ManagementSettings.Builder subBuilder = null; + if (managementSettings_ != null) { + subBuilder = managementSettings_.toBuilder(); + } + managementSettings_ = + input.readMessage( + com.google.cloud.domains.v1.ManagementSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(managementSettings_); + managementSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +123,42 @@ private ConfigureManagementSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.class, + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -136,30 +167,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -170,11 +203,14 @@ public java.lang.String getRegistration() { public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.ManagementSettings managementSettings_; /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; + * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -182,18 +218,25 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; + * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1.ManagementSettings getManagementSettings() { - return managementSettings_ == null ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() + : managementSettings_; } /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -208,13 +251,17 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -222,13 +269,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -236,13 +287,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -250,6 +304,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +316,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -285,12 +339,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagementSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -300,24 +352,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.domains.v1.ConfigureManagementSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest other = (com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) obj; + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest other = + (com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings() - .equals(other.getManagementSettings())) return false; + if (!getManagementSettings().equals(other.getManagementSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -346,117 +396,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.ConfigureManagementSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureManagementSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ConfigureManagementSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ConfigureManagementSettingsRequest) com.google.cloud.domains.v1.ConfigureManagementSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.class, + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.newBuilder() @@ -464,16 +524,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,13 +554,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.getDefaultInstance(); } @@ -516,7 +576,8 @@ public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest buildPartial() { - com.google.cloud.domains.v1.ConfigureManagementSettingsRequest result = new com.google.cloud.domains.v1.ConfigureManagementSettingsRequest(this); + com.google.cloud.domains.v1.ConfigureManagementSettingsRequest result = + new com.google.cloud.domains.v1.ConfigureManagementSettingsRequest(this); result.registration_ = registration_; if (managementSettingsBuilder_ == null) { result.managementSettings_ = managementSettings_; @@ -536,38 +597,39 @@ public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1.ConfigureManagementSettingsRequest)other); + return mergeFrom((com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) other); } else { super.mergeFrom(other); return this; @@ -575,7 +637,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ConfigureManagementSettingsRequest other) { - if (other == com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.domains.v1.ConfigureManagementSettingsRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -605,7 +669,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.ConfigureManagementSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -617,19 +683,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -638,21 +708,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -660,57 +733,70 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -718,34 +804,47 @@ public Builder setRegistrationBytes( private com.google.cloud.domains.v1.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder> managementSettingsBuilder_; + com.google.cloud.domains.v1.ManagementSettings, + com.google.cloud.domains.v1.ManagementSettings.Builder, + com.google.cloud.domains.v1.ManagementSettingsOrBuilder> + managementSettingsBuilder_; /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; + * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; + * * @return The managementSettings. */ public com.google.cloud.domains.v1.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() + : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -766,6 +865,8 @@ public Builder setManagementSettings(com.google.cloud.domains.v1.ManagementSetti return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -784,6 +885,8 @@ public Builder setManagementSettings( return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -794,7 +897,9 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1.ManagementSet if (managementSettingsBuilder_ == null) { if (managementSettings_ != null) { managementSettings_ = - com.google.cloud.domains.v1.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.ManagementSettings.newBuilder(managementSettings_) + .mergeFrom(value) + .buildPartial(); } else { managementSettings_ = value; } @@ -806,6 +911,8 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1.ManagementSet return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -824,6 +931,8 @@ public Builder clearManagementSettings() { return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -831,26 +940,32 @@ public Builder clearManagementSettings() { * .google.cloud.domains.v1.ManagementSettings management_settings = 2; */ public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSettingsBuilder() { - + onChanged(); return getManagementSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; */ - public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() { + public com.google.cloud.domains.v1.ManagementSettingsOrBuilder + getManagementSettingsOrBuilder() { if (managementSettingsBuilder_ != null) { return managementSettingsBuilder_.getMessageOrBuilder(); } else { - return managementSettings_ == null ? - com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() + : managementSettings_; } } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -858,14 +973,17 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett * .google.cloud.domains.v1.ManagementSettings management_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder> + com.google.cloud.domains.v1.ManagementSettings, + com.google.cloud.domains.v1.ManagementSettings.Builder, + com.google.cloud.domains.v1.ManagementSettingsOrBuilder> getManagementSettingsFieldBuilder() { if (managementSettingsBuilder_ == null) { - managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder>( - getManagementSettings(), - getParentForChildren(), - isClean()); + managementSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ManagementSettings, + com.google.cloud.domains.v1.ManagementSettings.Builder, + com.google.cloud.domains.v1.ManagementSettingsOrBuilder>( + getManagementSettings(), getParentForChildren(), isClean()); managementSettings_ = null; } return managementSettingsBuilder_; @@ -873,45 +991,61 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -927,16 +1061,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -947,19 +1083,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -971,13 +1110,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -991,61 +1133,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1055,30 +1210,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ConfigureManagementSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ConfigureManagementSettingsRequest) - private static final com.google.cloud.domains.v1.ConfigureManagementSettingsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1.ConfigureManagementSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ConfigureManagementSettingsRequest(); } - public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest getDefaultInstance() { + public static com.google.cloud.domains.v1.ConfigureManagementSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureManagementSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureManagementSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureManagementSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureManagementSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1090,9 +1247,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1.ConfigureManagementSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java index 5d4cc8ce..8291d341 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ConfigureManagementSettingsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ConfigureManagementSettingsRequestOrBuilder extends +public interface ConfigureManagementSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ConfigureManagementSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ java.lang.String getRegistration(); /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - com.google.protobuf.ByteString - getRegistrationBytes(); + com.google.protobuf.ByteString getRegistrationBytes(); /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; + * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 2; + * * @return The managementSettings. */ com.google.cloud.domains.v1.ManagementSettings getManagementSettings(); /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -57,35 +90,46 @@ public interface ConfigureManagementSettingsRequestOrBuilder extends com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java index eb118477..6fb11ec0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactNotice.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Notices related to contact information.
  * 
* * Protobuf enum {@code google.cloud.domains.v1.ContactNotice} */ -public enum ContactNotice - implements com.google.protobuf.ProtocolMessageEnum { +public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The notice is undefined.
    * 
@@ -21,6 +39,8 @@ public enum ContactNotice */ CONTACT_NOTICE_UNSPECIFIED(0), /** + * + * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -33,6 +53,8 @@ public enum ContactNotice
   ;
 
   /**
+   *
+   *
    * 
    * The notice is undefined.
    * 
@@ -41,6 +63,8 @@ public enum ContactNotice */ public static final int CONTACT_NOTICE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -50,7 +74,6 @@ public enum ContactNotice
    */
   public static final int PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT_VALUE = 1;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -75,48 +98,47 @@ public static ContactNotice valueOf(int value) {
    */
   public static ContactNotice forNumber(int value) {
     switch (value) {
-      case 0: return CONTACT_NOTICE_UNSPECIFIED;
-      case 1: return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
-      default: return null;
+      case 0:
+        return CONTACT_NOTICE_UNSPECIFIED;
+      case 1:
+        return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
+      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<
-      ContactNotice> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ContactNotice findValueByNumber(int number) {
-            return ContactNotice.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 ContactNotice findValueByNumber(int number) {
+          return ContactNotice.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.domains.v1.DomainsProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final ContactNotice[] VALUES = values();
 
-  public static ContactNotice valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactNotice 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;
@@ -132,4 +154,3 @@ private ContactNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1.ContactNotice)
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java
rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java
index aa3de044..51a7da0f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java
+++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactPrivacy.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1/domains.proto
 
 package com.google.cloud.domains.v1;
 
 /**
+ *
+ *
  * 
  * Defines a set of possible contact privacy settings for a `Registration`.
  * [ICANN](https://icann.org/) maintains the WHOIS database, a publicly
@@ -14,9 +31,10 @@
  *
  * Protobuf enum {@code google.cloud.domains.v1.ContactPrivacy}
  */
-public enum ContactPrivacy
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -25,6 +43,8 @@ public enum ContactPrivacy */ CONTACT_PRIVACY_UNSPECIFIED(0), /** + * + * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -36,6 +56,8 @@ public enum ContactPrivacy
    */
   PUBLIC_CONTACT_DATA(1),
   /**
+   *
+   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -47,6 +69,8 @@ public enum ContactPrivacy
    */
   PRIVATE_CONTACT_DATA(2),
   /**
+   *
+   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -61,6 +85,8 @@ public enum ContactPrivacy
   ;
 
   /**
+   *
+   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -69,6 +95,8 @@ public enum ContactPrivacy */ public static final int CONTACT_PRIVACY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -80,6 +108,8 @@ public enum ContactPrivacy
    */
   public static final int PUBLIC_CONTACT_DATA_VALUE = 1;
   /**
+   *
+   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -91,6 +121,8 @@ public enum ContactPrivacy
    */
   public static final int PRIVATE_CONTACT_DATA_VALUE = 2;
   /**
+   *
+   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -102,7 +134,6 @@ public enum ContactPrivacy
    */
   public static final int REDACTED_CONTACT_DATA_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -127,50 +158,51 @@ public static ContactPrivacy valueOf(int value) {
    */
   public static ContactPrivacy forNumber(int value) {
     switch (value) {
-      case 0: return CONTACT_PRIVACY_UNSPECIFIED;
-      case 1: return PUBLIC_CONTACT_DATA;
-      case 2: return PRIVATE_CONTACT_DATA;
-      case 3: return REDACTED_CONTACT_DATA;
-      default: return null;
+      case 0:
+        return CONTACT_PRIVACY_UNSPECIFIED;
+      case 1:
+        return PUBLIC_CONTACT_DATA;
+      case 2:
+        return PRIVATE_CONTACT_DATA;
+      case 3:
+        return REDACTED_CONTACT_DATA;
+      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<
-      ContactPrivacy> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ContactPrivacy findValueByNumber(int number) {
-            return ContactPrivacy.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 ContactPrivacy findValueByNumber(int number) {
+          return ContactPrivacy.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.domains.v1.DomainsProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final ContactPrivacy[] VALUES = values();
 
-  public static ContactPrivacy valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactPrivacy 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;
@@ -186,4 +218,3 @@ private ContactPrivacy(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1.ContactPrivacy)
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java
rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java
index b6b74576..2e41e72a 100644
--- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java
+++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettings.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1/domains.proto
 
 package com.google.cloud.domains.v1;
 
 /**
+ *
+ *
  * 
  * Defines the contact information associated with a `Registration`.
  * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -13,31 +30,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1.ContactSettings}
  */
-public final class ContactSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContactSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ContactSettings)
     ContactSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContactSettings.newBuilder() to construct.
   private ContactSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ContactSettings() {
     privacy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ContactSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ContactSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,58 +73,71 @@ private ContactSettings(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            privacy_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
-            if (registrantContact_ != null) {
-              subBuilder = registrantContact_.toBuilder();
-            }
-            registrantContact_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.Contact.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(registrantContact_);
-              registrantContact_ = subBuilder.buildPartial();
+              privacy_ = rawValue;
+              break;
             }
+          case 18:
+            {
+              com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
+              if (registrantContact_ != null) {
+                subBuilder = registrantContact_.toBuilder();
+              }
+              registrantContact_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1.ContactSettings.Contact.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(registrantContact_);
+                registrantContact_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
-            if (adminContact_ != null) {
-              subBuilder = adminContact_.toBuilder();
-            }
-            adminContact_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.Contact.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(adminContact_);
-              adminContact_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
+              if (adminContact_ != null) {
+                subBuilder = adminContact_.toBuilder();
+              }
+              adminContact_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1.ContactSettings.Contact.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(adminContact_);
+                adminContact_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 34: {
-            com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
-            if (technicalContact_ != null) {
-              subBuilder = technicalContact_.toBuilder();
-            }
-            technicalContact_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.Contact.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(technicalContact_);
-              technicalContact_ = subBuilder.buildPartial();
+              break;
             }
+          case 34:
+            {
+              com.google.cloud.domains.v1.ContactSettings.Contact.Builder subBuilder = null;
+              if (technicalContact_ != null) {
+                subBuilder = technicalContact_.toBuilder();
+              }
+              technicalContact_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1.ContactSettings.Contact.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(technicalContact_);
+                technicalContact_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,137 +145,172 @@ private ContactSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.domains.v1.DomainsProto
+        .internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1.DomainsProto
+        .internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1.ContactSettings.class, com.google.cloud.domains.v1.ContactSettings.Builder.class);
+            com.google.cloud.domains.v1.ContactSettings.class,
+            com.google.cloud.domains.v1.ContactSettings.Builder.class);
   }
 
-  public interface ContactOrBuilder extends
+  public interface ContactOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ContactSettings.Contact)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder(); /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The email. */ java.lang.String getEmail(); /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for email. */ - com.google.protobuf.ByteString - getEmailBytes(); + com.google.protobuf.ByteString getEmailBytes(); /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phoneNumber. */ java.lang.String getPhoneNumber(); /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phoneNumber. */ - com.google.protobuf.ByteString - getPhoneNumberBytes(); + com.google.protobuf.ByteString getPhoneNumberBytes(); /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The faxNumber. */ java.lang.String getFaxNumber(); /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The bytes for faxNumber. */ - com.google.protobuf.ByteString - getFaxNumberBytes(); + com.google.protobuf.ByteString getFaxNumberBytes(); } /** + * + * *
    * Details required for a contact associated with a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ContactSettings.Contact} */ - public static final class Contact extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Contact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ContactSettings.Contact) ContactOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Contact.newBuilder() to construct. private Contact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Contact() { email_ = ""; phoneNumber_ = ""; @@ -254,16 +319,15 @@ private Contact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Contact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Contact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -282,44 +346,49 @@ private Contact( case 0: done = true; break; - case 10: { - com.google.type.PostalAddress.Builder subBuilder = null; - if (postalAddress_ != null) { - subBuilder = postalAddress_.toBuilder(); - } - postalAddress_ = input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(postalAddress_); - postalAddress_ = subBuilder.buildPartial(); + case 10: + { + com.google.type.PostalAddress.Builder subBuilder = null; + if (postalAddress_ != null) { + subBuilder = postalAddress_.toBuilder(); + } + postalAddress_ = + input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(postalAddress_); + postalAddress_ = subBuilder.buildPartial(); + } + + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - email_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + email_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - phoneNumber_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + phoneNumber_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - faxNumber_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + faxNumber_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -327,34 +396,41 @@ private Contact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ContactSettings.Contact.class, com.google.cloud.domains.v1.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1.ContactSettings.Contact.class, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder.class); } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 1; private com.google.type.PostalAddress postalAddress_; /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -362,23 +438,34 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { @@ -388,11 +475,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { public static final int EMAIL_FIELD_NUMBER = 2; private volatile java.lang.Object email_; /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The email. */ @java.lang.Override @@ -401,29 +491,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -434,12 +524,15 @@ public java.lang.String getEmail() { public static final int PHONE_NUMBER_FIELD_NUMBER = 3; private volatile java.lang.Object phoneNumber_; /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phoneNumber. */ @java.lang.Override @@ -448,30 +541,30 @@ public java.lang.String getPhoneNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; } } /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phoneNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhoneNumberBytes() { + public com.google.protobuf.ByteString getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -482,12 +575,15 @@ public java.lang.String getPhoneNumber() { public static final int FAX_NUMBER_FIELD_NUMBER = 4; private volatile java.lang.Object faxNumber_; /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The faxNumber. */ @java.lang.Override @@ -496,30 +592,30 @@ public java.lang.String getFaxNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; } } /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The bytes for faxNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getFaxNumberBytes() { + public com.google.protobuf.ByteString getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -528,6 +624,7 @@ public java.lang.String getFaxNumber() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -539,8 +636,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (postalAddress_ != null) { output.writeMessage(1, getPostalAddress()); } @@ -563,8 +659,7 @@ public int getSerializedSize() { size = 0; if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPostalAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_); @@ -583,24 +678,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.domains.v1.ContactSettings.Contact)) { return super.equals(obj); } - com.google.cloud.domains.v1.ContactSettings.Contact other = (com.google.cloud.domains.v1.ContactSettings.Contact) obj; + com.google.cloud.domains.v1.ContactSettings.Contact other = + (com.google.cloud.domains.v1.ContactSettings.Contact) obj; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress() - .equals(other.getPostalAddress())) return false; - } - if (!getEmail() - .equals(other.getEmail())) return false; - if (!getPhoneNumber() - .equals(other.getPhoneNumber())) return false; - if (!getFaxNumber() - .equals(other.getFaxNumber())) return false; + if (!getPostalAddress().equals(other.getPostalAddress())) return false; + } + if (!getEmail().equals(other.getEmail())) return false; + if (!getPhoneNumber().equals(other.getPhoneNumber())) return false; + if (!getFaxNumber().equals(other.getFaxNumber())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -628,87 +720,94 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ContactSettings.Contact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ContactSettings.Contact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ContactSettings.Contact parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ContactSettings.Contact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.ContactSettings.Contact prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.ContactSettings.Contact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -718,27 +817,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details required for a contact associated with a `Registration`.
      * 
* * Protobuf type {@code google.cloud.domains.v1.ContactSettings.Contact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ContactSettings.Contact) com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ContactSettings.Contact.class, com.google.cloud.domains.v1.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1.ContactSettings.Contact.class, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder.class); } // Construct using com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder() @@ -746,16 +850,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -775,9 +878,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor; } @java.lang.Override @@ -796,7 +899,8 @@ public com.google.cloud.domains.v1.ContactSettings.Contact build() { @java.lang.Override public com.google.cloud.domains.v1.ContactSettings.Contact buildPartial() { - com.google.cloud.domains.v1.ContactSettings.Contact result = new com.google.cloud.domains.v1.ContactSettings.Contact(this); + com.google.cloud.domains.v1.ContactSettings.Contact result = + new com.google.cloud.domains.v1.ContactSettings.Contact(this); if (postalAddressBuilder_ == null) { result.postalAddress_ = postalAddress_; } else { @@ -813,38 +917,41 @@ public com.google.cloud.domains.v1.ContactSettings.Contact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1.ContactSettings.Contact) { - return mergeFrom((com.google.cloud.domains.v1.ContactSettings.Contact)other); + return mergeFrom((com.google.cloud.domains.v1.ContactSettings.Contact) other); } else { super.mergeFrom(other); return this; @@ -852,7 +959,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ContactSettings.Contact other) { - if (other == com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance()) + return this; if (other.hasPostalAddress()) { mergePostalAddress(other.getPostalAddress()); } @@ -887,7 +995,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.ContactSettings.Contact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.ContactSettings.Contact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -899,39 +1008,58 @@ public Builder mergeFrom( private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> + postalAddressBuilder_; /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { @@ -947,14 +1075,17 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPostalAddress( - com.google.type.PostalAddress.Builder builderForValue) { + public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) { if (postalAddressBuilder_ == null) { postalAddress_ = builderForValue.build(); onChanged(); @@ -965,17 +1096,23 @@ public Builder setPostalAddress( return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { if (postalAddress_ != null) { postalAddress_ = - com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial(); + com.google.type.PostalAddress.newBuilder(postalAddress_) + .mergeFrom(value) + .buildPartial(); } else { postalAddress_ = value; } @@ -987,11 +1124,15 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPostalAddress() { if (postalAddressBuilder_ == null) { @@ -1005,48 +1146,64 @@ public Builder clearPostalAddress() { return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.PostalAddress.Builder getPostalAddressBuilder() { - + onChanged(); return getPostalAddressFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { if (postalAddressBuilder_ != null) { return postalAddressBuilder_.getMessageOrBuilder(); } else { - return postalAddress_ == null ? - com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> getPostalAddressFieldBuilder() { if (postalAddressBuilder_ == null) { - postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( - getPostalAddress(), - getParentForChildren(), - isClean()); + postalAddressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder>( + getPostalAddress(), getParentForChildren(), isClean()); postalAddress_ = null; } return postalAddressBuilder_; @@ -1054,18 +1211,20 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { private java.lang.Object email_ = ""; /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -1074,20 +1233,21 @@ public java.lang.String getEmail() { } } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for email. */ - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -1095,54 +1255,61 @@ public java.lang.String getEmail() { } } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail( - java.lang.String value) { + public Builder setEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; @@ -1150,19 +1317,21 @@ public Builder setEmailBytes( private java.lang.Object phoneNumber_ = ""; /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phoneNumber. */ public java.lang.String getPhoneNumber() { java.lang.Object ref = phoneNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; @@ -1171,21 +1340,22 @@ public java.lang.String getPhoneNumber() { } } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phoneNumber. */ - public com.google.protobuf.ByteString - getPhoneNumberBytes() { + public com.google.protobuf.ByteString getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -1193,57 +1363,64 @@ public java.lang.String getPhoneNumber() { } } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumber( - java.lang.String value) { + public Builder setPhoneNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phoneNumber_ = value; onChanged(); return this; } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPhoneNumber() { - + phoneNumber_ = getDefaultInstance().getPhoneNumber(); onChanged(); return this; } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phoneNumber_ = value; onChanged(); return this; @@ -1251,19 +1428,21 @@ public Builder setPhoneNumberBytes( private java.lang.Object faxNumber_ = ""; /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @return The faxNumber. */ public java.lang.String getFaxNumber() { java.lang.Object ref = faxNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; @@ -1272,21 +1451,22 @@ public java.lang.String getFaxNumber() { } } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @return The bytes for faxNumber. */ - public com.google.protobuf.ByteString - getFaxNumberBytes() { + public com.google.protobuf.ByteString getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -1294,61 +1474,69 @@ public java.lang.String getFaxNumber() { } } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @param value The faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumber( - java.lang.String value) { + public Builder setFaxNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + faxNumber_ = value; onChanged(); return this; } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @return This builder for chaining. */ public Builder clearFaxNumber() { - + faxNumber_ = getDefaultInstance().getFaxNumber(); onChanged(); return this; } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @param value The bytes for faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setFaxNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + faxNumber_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1361,12 +1549,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ContactSettings.Contact) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ContactSettings.Contact) private static final com.google.cloud.domains.v1.ContactSettings.Contact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ContactSettings.Contact(); } @@ -1375,16 +1563,16 @@ public static com.google.cloud.domains.v1.ContactSettings.Contact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Contact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Contact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Contact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Contact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1399,39 +1587,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.ContactSettings.Contact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PRIVACY_FIELD_NUMBER = 1; private int privacy_; /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override public int getPrivacyValue() { + @java.lang.Override + public int getPrivacyValue() { return privacy_; } /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The privacy. */ - @java.lang.Override public com.google.cloud.domains.v1.ContactPrivacy getPrivacy() { + @java.lang.Override + public com.google.cloud.domains.v1.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactPrivacy result = com.google.cloud.domains.v1.ContactPrivacy.valueOf(privacy_); + com.google.cloud.domains.v1.ContactPrivacy result = + com.google.cloud.domains.v1.ContactPrivacy.valueOf(privacy_); return result == null ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED : result; } public static final int REGISTRANT_CONTACT_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.ContactSettings.Contact registrantContact_; /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1441,7 +1643,10 @@ public com.google.cloud.domains.v1.ContactSettings.Contact getDefaultInstanceFor
    * suspension.*
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registrantContact field is set. */ @java.lang.Override @@ -1449,6 +1654,8 @@ public boolean hasRegistrantContact() { return registrantContact_ != null; } /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1458,14 +1665,21 @@ public boolean hasRegistrantContact() {
    * suspension.*
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registrantContact. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings.Contact getRegistrantContact() { - return registrantContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; + return registrantContact_ == null + ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() + : registrantContact_; } /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1475,21 +1689,29 @@ public com.google.cloud.domains.v1.ContactSettings.Contact getRegistrantContact(
    * suspension.*
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder + getRegistrantContactOrBuilder() { return getRegistrantContact(); } public static final int ADMIN_CONTACT_FIELD_NUMBER = 3; private com.google.cloud.domains.v1.ContactSettings.Contact adminContact_; /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adminContact field is set. */ @java.lang.Override @@ -1497,23 +1719,34 @@ public boolean hasAdminContact() { return adminContact_ != null; } /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adminContact. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings.Contact getAdminContact() { - return adminContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : adminContact_; + return adminContact_ == null + ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() + : adminContact_; } /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { @@ -1523,11 +1756,16 @@ public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getAdminCont public static final int TECHNICAL_CONTACT_FIELD_NUMBER = 4; private com.google.cloud.domains.v1.ContactSettings.Contact technicalContact_; /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the technicalContact field is set. */ @java.lang.Override @@ -1535,30 +1773,43 @@ public boolean hasTechnicalContact() { return technicalContact_ != null; } /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The technicalContact. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings.Contact getTechnicalContact() { - return technicalContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; + return technicalContact_ == null + ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() + : technicalContact_; } /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder + getTechnicalContactOrBuilder() { return getTechnicalContact(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1570,9 +1821,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (privacy_ != com.google.cloud.domains.v1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (privacy_ + != com.google.cloud.domains.v1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { output.writeEnum(1, privacy_); } if (registrantContact_ != null) { @@ -1593,21 +1844,18 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (privacy_ != com.google.cloud.domains.v1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, privacy_); + if (privacy_ + != com.google.cloud.domains.v1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, privacy_); } if (registrantContact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRegistrantContact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistrantContact()); } if (adminContact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAdminContact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAdminContact()); } if (technicalContact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTechnicalContact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTechnicalContact()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1617,28 +1865,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.domains.v1.ContactSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1.ContactSettings other = (com.google.cloud.domains.v1.ContactSettings) obj; + com.google.cloud.domains.v1.ContactSettings other = + (com.google.cloud.domains.v1.ContactSettings) obj; if (privacy_ != other.privacy_) return false; if (hasRegistrantContact() != other.hasRegistrantContact()) return false; if (hasRegistrantContact()) { - if (!getRegistrantContact() - .equals(other.getRegistrantContact())) return false; + if (!getRegistrantContact().equals(other.getRegistrantContact())) return false; } if (hasAdminContact() != other.hasAdminContact()) return false; if (hasAdminContact()) { - if (!getAdminContact() - .equals(other.getAdminContact())) return false; + if (!getAdminContact().equals(other.getAdminContact())) return false; } if (hasTechnicalContact() != other.hasTechnicalContact()) return false; if (hasTechnicalContact()) { - if (!getTechnicalContact() - .equals(other.getTechnicalContact())) return false; + if (!getTechnicalContact().equals(other.getTechnicalContact())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1670,97 +1916,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.ContactSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.ContactSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ContactSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ContactSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ContactSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ContactSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ContactSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ContactSettings parseFrom(java.io.InputStream input) 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.domains.v1.ContactSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ContactSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ContactSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ContactSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.ContactSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ContactSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.ContactSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines the contact information associated with a `Registration`.
    * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -1770,21 +2023,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.domains.v1.ContactSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ContactSettings)
       com.google.cloud.domains.v1.ContactSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.ContactSettings.class, com.google.cloud.domains.v1.ContactSettings.Builder.class);
+              com.google.cloud.domains.v1.ContactSettings.class,
+              com.google.cloud.domains.v1.ContactSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1.ContactSettings.newBuilder()
@@ -1792,16 +2047,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1829,9 +2083,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
     }
 
     @java.lang.Override
@@ -1850,7 +2104,8 @@ public com.google.cloud.domains.v1.ContactSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1.ContactSettings buildPartial() {
-      com.google.cloud.domains.v1.ContactSettings result = new com.google.cloud.domains.v1.ContactSettings(this);
+      com.google.cloud.domains.v1.ContactSettings result =
+          new com.google.cloud.domains.v1.ContactSettings(this);
       result.privacy_ = privacy_;
       if (registrantContactBuilder_ == null) {
         result.registrantContact_ = registrantContact_;
@@ -1875,38 +2130,39 @@ public com.google.cloud.domains.v1.ContactSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1.ContactSettings) {
-        return mergeFrom((com.google.cloud.domains.v1.ContactSettings)other);
+        return mergeFrom((com.google.cloud.domains.v1.ContactSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1958,51 +2214,73 @@ public Builder mergeFrom(
 
     private int privacy_ = 0;
     /**
+     *
+     *
      * 
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override public int getPrivacyValue() { + @java.lang.Override + public int getPrivacyValue() { return privacy_; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for privacy to set. * @return This builder for chaining. */ public Builder setPrivacyValue(int value) { - + privacy_ = value; onChanged(); return this; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The privacy. */ @java.lang.Override public com.google.cloud.domains.v1.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactPrivacy result = com.google.cloud.domains.v1.ContactPrivacy.valueOf(privacy_); + com.google.cloud.domains.v1.ContactPrivacy result = + com.google.cloud.domains.v1.ContactPrivacy.valueOf(privacy_); return result == null ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED : result; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The privacy to set. * @return This builder for chaining. */ @@ -2010,21 +2288,26 @@ public Builder setPrivacy(com.google.cloud.domains.v1.ContactPrivacy value) { if (value == null) { throw new NullPointerException(); } - + privacy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearPrivacy() { - + privacy_ = 0; onChanged(); return this; @@ -2032,8 +2315,13 @@ public Builder clearPrivacy() { private com.google.cloud.domains.v1.ContactSettings.Contact registrantContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> registrantContactBuilder_; + com.google.cloud.domains.v1.ContactSettings.Contact, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> + registrantContactBuilder_; /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2043,13 +2331,18 @@ public Builder clearPrivacy() {
      * suspension.*
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registrantContact field is set. */ public boolean hasRegistrantContact() { return registrantContactBuilder_ != null || registrantContact_ != null; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2059,17 +2352,24 @@ public boolean hasRegistrantContact() {
      * suspension.*
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registrantContact. */ public com.google.cloud.domains.v1.ContactSettings.Contact getRegistrantContact() { if (registrantContactBuilder_ == null) { - return registrantContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; + return registrantContact_ == null + ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() + : registrantContact_; } else { return registrantContactBuilder_.getMessage(); } } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2079,7 +2379,9 @@ public com.google.cloud.domains.v1.ContactSettings.Contact getRegistrantContact(
      * suspension.*
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistrantContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { @@ -2095,6 +2397,8 @@ public Builder setRegistrantContact(com.google.cloud.domains.v1.ContactSettings. return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2104,7 +2408,9 @@ public Builder setRegistrantContact(com.google.cloud.domains.v1.ContactSettings.
      * suspension.*
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistrantContact( com.google.cloud.domains.v1.ContactSettings.Contact.Builder builderForValue) { @@ -2118,6 +2424,8 @@ public Builder setRegistrantContact( return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2127,13 +2435,18 @@ public Builder setRegistrantContact(
      * suspension.*
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeRegistrantContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { + public Builder mergeRegistrantContact( + com.google.cloud.domains.v1.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { if (registrantContact_ != null) { registrantContact_ = - com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(registrantContact_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(registrantContact_) + .mergeFrom(value) + .buildPartial(); } else { registrantContact_ = value; } @@ -2145,6 +2458,8 @@ public Builder mergeRegistrantContact(com.google.cloud.domains.v1.ContactSetting return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2154,7 +2469,9 @@ public Builder mergeRegistrantContact(com.google.cloud.domains.v1.ContactSetting
      * suspension.*
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRegistrantContact() { if (registrantContactBuilder_ == null) { @@ -2168,6 +2485,8 @@ public Builder clearRegistrantContact() { return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2177,14 +2496,19 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1.ContactSettings.Contact.Builder getRegistrantContactBuilder() { - + public com.google.cloud.domains.v1.ContactSettings.Contact.Builder + getRegistrantContactBuilder() { + onChanged(); return getRegistrantContactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2194,17 +2518,23 @@ public com.google.cloud.domains.v1.ContactSettings.Contact.Builder getRegistrant
      * suspension.*
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder + getRegistrantContactOrBuilder() { if (registrantContactBuilder_ != null) { return registrantContactBuilder_.getMessageOrBuilder(); } else { - return registrantContact_ == null ? - com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; + return registrantContact_ == null + ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() + : registrantContact_; } } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2214,17 +2544,22 @@ public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getRegistran
      * suspension.*
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1.ContactSettings.Contact, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> getRegistrantContactFieldBuilder() { if (registrantContactBuilder_ == null) { - registrantContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( - getRegistrantContact(), - getParentForChildren(), - isClean()); + registrantContactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings.Contact, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( + getRegistrantContact(), getParentForChildren(), isClean()); registrantContact_ = null; } return registrantContactBuilder_; @@ -2232,39 +2567,58 @@ public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getRegistran private com.google.cloud.domains.v1.ContactSettings.Contact adminContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> adminContactBuilder_; + com.google.cloud.domains.v1.ContactSettings.Contact, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> + adminContactBuilder_; /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adminContact field is set. */ public boolean hasAdminContact() { return adminContactBuilder_ != null || adminContact_ != null; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adminContact. */ public com.google.cloud.domains.v1.ContactSettings.Contact getAdminContact() { if (adminContactBuilder_ == null) { - return adminContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : adminContact_; + return adminContact_ == null + ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() + : adminContact_; } else { return adminContactBuilder_.getMessage(); } } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdminContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { @@ -2280,11 +2634,15 @@ public Builder setAdminContact(com.google.cloud.domains.v1.ContactSettings.Conta return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdminContact( com.google.cloud.domains.v1.ContactSettings.Contact.Builder builderForValue) { @@ -2298,17 +2656,23 @@ public Builder setAdminContact( return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAdminContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { if (adminContact_ != null) { adminContact_ = - com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(adminContact_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(adminContact_) + .mergeFrom(value) + .buildPartial(); } else { adminContact_ = value; } @@ -2320,11 +2684,15 @@ public Builder mergeAdminContact(com.google.cloud.domains.v1.ContactSettings.Con return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAdminContact() { if (adminContactBuilder_ == null) { @@ -2338,48 +2706,64 @@ public Builder clearAdminContact() { return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1.ContactSettings.Contact.Builder getAdminContactBuilder() { - + onChanged(); return getAdminContactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { if (adminContactBuilder_ != null) { return adminContactBuilder_.getMessageOrBuilder(); } else { - return adminContact_ == null ? - com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : adminContact_; + return adminContact_ == null + ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() + : adminContact_; } } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1.ContactSettings.Contact, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> getAdminContactFieldBuilder() { if (adminContactBuilder_ == null) { - adminContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( - getAdminContact(), - getParentForChildren(), - isClean()); + adminContactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings.Contact, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( + getAdminContact(), getParentForChildren(), isClean()); adminContact_ = null; } return adminContactBuilder_; @@ -2387,39 +2771,58 @@ public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getAdminCont private com.google.cloud.domains.v1.ContactSettings.Contact technicalContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> technicalContactBuilder_; + com.google.cloud.domains.v1.ContactSettings.Contact, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> + technicalContactBuilder_; /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the technicalContact field is set. */ public boolean hasTechnicalContact() { return technicalContactBuilder_ != null || technicalContact_ != null; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The technicalContact. */ public com.google.cloud.domains.v1.ContactSettings.Contact getTechnicalContact() { if (technicalContactBuilder_ == null) { - return technicalContact_ == null ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; + return technicalContact_ == null + ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() + : technicalContact_; } else { return technicalContactBuilder_.getMessage(); } } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTechnicalContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { @@ -2435,11 +2838,15 @@ public Builder setTechnicalContact(com.google.cloud.domains.v1.ContactSettings.C return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTechnicalContact( com.google.cloud.domains.v1.ContactSettings.Contact.Builder builderForValue) { @@ -2453,17 +2860,24 @@ public Builder setTechnicalContact( return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTechnicalContact(com.google.cloud.domains.v1.ContactSettings.Contact value) { + public Builder mergeTechnicalContact( + com.google.cloud.domains.v1.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { if (technicalContact_ != null) { technicalContact_ = - com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(technicalContact_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.ContactSettings.Contact.newBuilder(technicalContact_) + .mergeFrom(value) + .buildPartial(); } else { technicalContact_ = value; } @@ -2475,11 +2889,15 @@ public Builder mergeTechnicalContact(com.google.cloud.domains.v1.ContactSettings return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTechnicalContact() { if (technicalContactBuilder_ == null) { @@ -2493,55 +2911,73 @@ public Builder clearTechnicalContact() { return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1.ContactSettings.Contact.Builder getTechnicalContactBuilder() { - + public com.google.cloud.domains.v1.ContactSettings.Contact.Builder + getTechnicalContactBuilder() { + onChanged(); return getTechnicalContactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder + getTechnicalContactOrBuilder() { if (technicalContactBuilder_ != null) { return technicalContactBuilder_.getMessageOrBuilder(); } else { - return technicalContact_ == null ? - com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; + return technicalContact_ == null + ? com.google.cloud.domains.v1.ContactSettings.Contact.getDefaultInstance() + : technicalContact_; } } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1.ContactSettings.Contact, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder> getTechnicalContactFieldBuilder() { if (technicalContactBuilder_ == null) { - technicalContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings.Contact, com.google.cloud.domains.v1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( - getTechnicalContact(), - getParentForChildren(), - isClean()); + technicalContactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings.Contact, + com.google.cloud.domains.v1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder>( + getTechnicalContact(), getParentForChildren(), isClean()); technicalContact_ = null; } return technicalContactBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2551,12 +2987,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ContactSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ContactSettings) private static final com.google.cloud.domains.v1.ContactSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ContactSettings(); } @@ -2565,16 +3001,16 @@ public static com.google.cloud.domains.v1.ContactSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContactSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContactSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContactSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContactSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2589,6 +3025,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.ContactSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java index eb425f7c..d6fe7444 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ContactSettingsOrBuilder.java @@ -1,32 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ContactSettingsOrBuilder extends +public interface ContactSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ContactSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for privacy. */ int getPrivacyValue(); /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The privacy. */ com.google.cloud.domains.v1.ContactPrivacy getPrivacy(); /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -36,11 +64,16 @@ public interface ContactSettingsOrBuilder extends
    * suspension.*
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registrantContact field is set. */ boolean hasRegistrantContact(); /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -50,11 +83,16 @@ public interface ContactSettingsOrBuilder extends
    * suspension.*
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registrantContact. */ com.google.cloud.domains.v1.ContactSettings.Contact getRegistrantContact(); /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -64,61 +102,91 @@ public interface ContactSettingsOrBuilder extends
    * suspension.*
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder(); /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adminContact field is set. */ boolean hasAdminContact(); /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adminContact. */ com.google.cloud.domains.v1.ContactSettings.Contact getAdminContact(); /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder(); /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the technicalContact field is set. */ boolean hasTechnicalContact(); /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The technicalContact. */ com.google.cloud.domains.v1.ContactSettings.Contact getTechnicalContact(); /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java index 8c134cce..01184121 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `DeleteRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.DeleteRegistrationRequest} */ -public final class DeleteRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DeleteRegistrationRequest) DeleteRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRegistrationRequest.newBuilder() to construct. private DeleteRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRegistrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.DeleteRegistrationRequest.class, com.google.cloud.domains.v1.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.DeleteRegistrationRequest.class, + com.google.cloud.domains.v1.DeleteRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.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 @@ -110,30 +135,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 `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.domains.v1.DeleteRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.DeleteRegistrationRequest other = (com.google.cloud.domains.v1.DeleteRegistrationRequest) obj; + com.google.cloud.domains.v1.DeleteRegistrationRequest other = + (com.google.cloud.domains.v1.DeleteRegistrationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DeleteRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.DeleteRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.DeleteRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `DeleteRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.DeleteRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DeleteRegistrationRequest) com.google.cloud.domains.v1.DeleteRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.DeleteRegistrationRequest.class, com.google.cloud.domains.v1.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.DeleteRegistrationRequest.class, + com.google.cloud.domains.v1.DeleteRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.DeleteRegistrationRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.domains.v1.DeleteRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1.DeleteRegistrationRequest buildPartial() { - com.google.cloud.domains.v1.DeleteRegistrationRequest result = new com.google.cloud.domains.v1.DeleteRegistrationRequest(this); + com.google.cloud.domains.v1.DeleteRegistrationRequest result = + new com.google.cloud.domains.v1.DeleteRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.domains.v1.DeleteRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.DeleteRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1.DeleteRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1.DeleteRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.DeleteRegistrationRequest other) { - if (other == com.google.cloud.domains.v1.DeleteRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.DeleteRegistrationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.DeleteRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.DeleteRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DeleteRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DeleteRegistrationRequest) private static final com.google.cloud.domains.v1.DeleteRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DeleteRegistrationRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.domains.v1.DeleteRegistrationRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1.DeleteRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..334012bf --- /dev/null +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DeleteRegistrationRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1/domains.proto + +package com.google.cloud.domains.v1; + +public interface DeleteRegistrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DeleteRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java index 57d5fdb1..80e4926a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettings.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Defines the DNS configuration of a `Registration`, including name servers,
  * DNSSEC, and glue records.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1.DnsSettings}
  */
-public final class DnsSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DnsSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DnsSettings)
     DnsSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DnsSettings.newBuilder() to construct.
   private DnsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DnsSettings() {
     glueRecords_ = 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 DnsSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DnsSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,50 +72,65 @@ private DnsSettings(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder subBuilder = null;
-            if (dnsProviderCase_ == 1) {
-              subBuilder = ((com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_).toBuilder();
-            }
-            dnsProvider_ =
-                input.readMessage(com.google.cloud.domains.v1.DnsSettings.CustomDns.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_);
-              dnsProvider_ = subBuilder.buildPartial();
-            }
-            dnsProviderCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder subBuilder = null;
-            if (dnsProviderCase_ == 2) {
-              subBuilder = ((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_).toBuilder();
+          case 10:
+            {
+              com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder subBuilder = null;
+              if (dnsProviderCase_ == 1) {
+                subBuilder =
+                    ((com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_).toBuilder();
+              }
+              dnsProvider_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1.DnsSettings.CustomDns.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_);
+                dnsProvider_ = subBuilder.buildPartial();
+              }
+              dnsProviderCase_ = 1;
+              break;
             }
-            dnsProvider_ =
-                input.readMessage(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_);
-              dnsProvider_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder subBuilder = null;
+              if (dnsProviderCase_ == 2) {
+                subBuilder =
+                    ((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_)
+                        .toBuilder();
+              }
+              dnsProvider_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_);
+                dnsProvider_ = subBuilder.buildPartial();
+              }
+              dnsProviderCase_ = 2;
+              break;
             }
-            dnsProviderCase_ = 2;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              glueRecords_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                glueRecords_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              glueRecords_.add(
+                  input.readMessage(
+                      com.google.cloud.domains.v1.DnsSettings.GlueRecord.parser(),
+                      extensionRegistry));
+              break;
             }
-            glueRecords_.add(
-                input.readMessage(com.google.cloud.domains.v1.DnsSettings.GlueRecord.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -106,8 +138,7 @@ private DnsSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         glueRecords_ = java.util.Collections.unmodifiableList(glueRecords_);
@@ -116,29 +147,35 @@ private DnsSettings(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.domains.v1.DomainsProto
+        .internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1.DomainsProto
+        .internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1.DnsSettings.class, com.google.cloud.domains.v1.DnsSettings.Builder.class);
+            com.google.cloud.domains.v1.DnsSettings.class,
+            com.google.cloud.domains.v1.DnsSettings.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The publication state of DS records for a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1.DnsSettings.DsState} */ - public enum DsState - implements com.google.protobuf.ProtocolMessageEnum { + public enum DsState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * DS state is unspecified.
      * 
@@ -147,6 +184,8 @@ public enum DsState */ DS_STATE_UNSPECIFIED(0), /** + * + * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -156,6 +195,8 @@ public enum DsState
      */
     DS_RECORDS_UNPUBLISHED(1),
     /**
+     *
+     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -170,6 +211,8 @@ public enum DsState
     ;
 
     /**
+     *
+     *
      * 
      * DS state is unspecified.
      * 
@@ -178,6 +221,8 @@ public enum DsState */ public static final int DS_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -187,6 +232,8 @@ public enum DsState
      */
     public static final int DS_RECORDS_UNPUBLISHED_VALUE = 1;
     /**
+     *
+     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -198,7 +245,6 @@ public enum DsState
      */
     public static final int DS_RECORDS_PUBLISHED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -223,49 +269,49 @@ public static DsState valueOf(int value) {
      */
     public static DsState forNumber(int value) {
       switch (value) {
-        case 0: return DS_STATE_UNSPECIFIED;
-        case 1: return DS_RECORDS_UNPUBLISHED;
-        case 2: return DS_RECORDS_PUBLISHED;
-        default: return null;
+        case 0:
+          return DS_STATE_UNSPECIFIED;
+        case 1:
+          return DS_RECORDS_UNPUBLISHED;
+        case 2:
+          return DS_RECORDS_PUBLISHED;
+        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<
-        DsState> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DsState findValueByNumber(int number) {
-              return DsState.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 DsState findValueByNumber(int number) {
+            return DsState.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.domains.v1.DnsSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DsState[] VALUES = values();
 
-    public static DsState valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DsState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -282,11 +328,14 @@ private DsState(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1.DnsSettings.DsState)
   }
 
-  public interface CustomDnsOrBuilder extends
+  public interface CustomDnsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DnsSettings.CustomDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -294,11 +343,13 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the nameServers. */ - java.util.List - getNameServersList(); + java.util.List getNameServersList(); /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -306,10 +357,13 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of nameServers. */ int getNameServersCount(); /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -317,11 +371,14 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -329,13 +386,15 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString - getNameServersBytes(int index); + com.google.protobuf.ByteString getNameServersBytes(int index); /** + * + * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -344,9 +403,10 @@ public interface CustomDnsOrBuilder extends
      *
      * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List 
-        getDsRecordsList();
+    java.util.List getDsRecordsList();
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -357,6 +417,8 @@ public interface CustomDnsOrBuilder extends
      */
     com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index);
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -367,6 +429,8 @@ public interface CustomDnsOrBuilder extends
      */
     int getDsRecordsCount();
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -375,9 +439,11 @@ public interface CustomDnsOrBuilder extends
      *
      * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List 
+    java.util.List
         getDsRecordsOrBuilderList();
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -386,25 +452,27 @@ public interface CustomDnsOrBuilder extends
      *
      * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      */
-    com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
-        int index);
+    com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * Configuration for an arbitrary DNS provider.
    * 
* * Protobuf type {@code google.cloud.domains.v1.DnsSettings.CustomDns} */ - public static final class CustomDns extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CustomDns extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DnsSettings.CustomDns) CustomDnsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomDns.newBuilder() to construct. private CustomDns(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomDns() { nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; dsRecords_ = java.util.Collections.emptyList(); @@ -412,16 +480,15 @@ private CustomDns() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomDns(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CustomDns( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -441,31 +508,36 @@ private CustomDns( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + nameServers_.add(s); + break; } - nameServers_.add(s); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - dsRecords_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + dsRecords_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + dsRecords_.add( + input.readMessage( + com.google.cloud.domains.v1.DnsSettings.DsRecord.parser(), + extensionRegistry)); + break; } - dsRecords_.add( - input.readMessage(com.google.cloud.domains.v1.DnsSettings.DsRecord.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,8 +545,7 @@ private CustomDns( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -486,22 +557,27 @@ private CustomDns( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.DnsSettings.CustomDns.class, com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1.DnsSettings.CustomDns.class, + com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder.class); } public static final int NAME_SERVERS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList nameServers_; /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -509,13 +585,15 @@ private CustomDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_; } /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -523,12 +601,15 @@ private CustomDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -536,6 +617,7 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -543,6 +625,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -550,17 +634,19 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_RECORDS_FIELD_NUMBER = 2; private java.util.List dsRecords_; /** + * + * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -574,6 +660,8 @@ public java.util.List getDsRec
       return dsRecords_;
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -583,11 +671,13 @@ public java.util.List getDsRec
      * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getDsRecordsOrBuilderList() {
       return dsRecords_;
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -601,6 +691,8 @@ public int getDsRecordsCount() {
       return dsRecords_.size();
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -614,6 +706,8 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index)
       return dsRecords_.get(index);
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -629,6 +723,7 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -640,8 +735,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < nameServers_.size(); i++) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i));
       }
@@ -666,8 +760,7 @@ public int getSerializedSize() {
         size += 1 * getNameServersList().size();
       }
       for (int i = 0; i < dsRecords_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, dsRecords_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dsRecords_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -677,17 +770,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.domains.v1.DnsSettings.CustomDns)) {
         return super.equals(obj);
       }
-      com.google.cloud.domains.v1.DnsSettings.CustomDns other = (com.google.cloud.domains.v1.DnsSettings.CustomDns) obj;
+      com.google.cloud.domains.v1.DnsSettings.CustomDns other =
+          (com.google.cloud.domains.v1.DnsSettings.CustomDns) obj;
 
-      if (!getNameServersList()
-          .equals(other.getNameServersList())) return false;
-      if (!getDsRecordsList()
-          .equals(other.getDsRecordsList())) return false;
+      if (!getNameServersList().equals(other.getNameServersList())) return false;
+      if (!getDsRecordsList().equals(other.getDsRecordsList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -713,87 +805,93 @@ public int hashCode() {
     }
 
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.domains.v1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.cloud.domains.v1.DnsSettings.CustomDns prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -803,27 +901,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Configuration for an arbitrary DNS provider.
      * 
* * Protobuf type {@code google.cloud.domains.v1.DnsSettings.CustomDns} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DnsSettings.CustomDns) com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.DnsSettings.CustomDns.class, com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1.DnsSettings.CustomDns.class, + com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder.class); } // Construct using com.google.cloud.domains.v1.DnsSettings.CustomDns.newBuilder() @@ -831,17 +934,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDsRecordsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -857,9 +960,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor; } @java.lang.Override @@ -878,7 +981,8 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDns build() { @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.CustomDns buildPartial() { - com.google.cloud.domains.v1.DnsSettings.CustomDns result = new com.google.cloud.domains.v1.DnsSettings.CustomDns(this); + com.google.cloud.domains.v1.DnsSettings.CustomDns result = + new com.google.cloud.domains.v1.DnsSettings.CustomDns(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -902,38 +1006,41 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDns buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1.DnsSettings.CustomDns) { - return mergeFrom((com.google.cloud.domains.v1.DnsSettings.CustomDns)other); + return mergeFrom((com.google.cloud.domains.v1.DnsSettings.CustomDns) other); } else { super.mergeFrom(other); return this; @@ -941,7 +1048,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.CustomDns other) { - if (other == com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance()) + return this; if (!other.nameServers_.isEmpty()) { if (nameServers_.isEmpty()) { nameServers_ = other.nameServers_; @@ -970,9 +1078,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.CustomDns other dsRecordsBuilder_ = null; dsRecords_ = other.dsRecords_; bitField0_ = (bitField0_ & ~0x00000002); - dsRecordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDsRecordsFieldBuilder() : null; + dsRecordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDsRecordsFieldBuilder() + : null; } else { dsRecordsBuilder_.addAllMessages(other.dsRecords_); } @@ -997,7 +1106,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.DnsSettings.CustomDns) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.DnsSettings.CustomDns) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1006,16 +1116,21 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList nameServers_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1023,13 +1138,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_.getUnmodifiableView(); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1037,12 +1154,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1050,6 +1170,7 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1057,6 +1178,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1064,14 +1187,16 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1079,21 +1204,23 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers( - int index, java.lang.String value) { + public Builder setNameServers(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1101,20 +1228,22 @@ public Builder setNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers( - java.lang.String value) { + public Builder addNameServers(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1122,18 +1251,19 @@ public Builder addNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers( - java.lang.Iterable values) { + public Builder addAllNameServers(java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); onChanged(); return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1141,6 +1271,7 @@ public Builder addAllNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1150,6 +1281,8 @@ public Builder clearNameServers() { return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1157,15 +1290,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes( - com.google.protobuf.ByteString value) { + public Builder addNameServersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1173,18 +1306,25 @@ public Builder addNameServersBytes( } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = new java.util.ArrayList(dsRecords_); + dsRecords_ = + new java.util.ArrayList(dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; + com.google.cloud.domains.v1.DnsSettings.DsRecord, + com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> + dsRecordsBuilder_; /** + * + * *
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1201,6 +1341,8 @@ public java.util.List getDsRec
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1217,6 +1359,8 @@ public int getDsRecordsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1233,6 +1377,8 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index)
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1256,6 +1402,8 @@ public Builder setDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1276,6 +1424,8 @@ public Builder setDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1298,6 +1448,8 @@ public Builder addDsRecords(com.google.cloud.domains.v1.DnsSettings.DsRecord val
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1321,6 +1473,8 @@ public Builder addDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1341,6 +1495,8 @@ public Builder addDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1361,6 +1517,8 @@ public Builder addDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1373,8 +1531,7 @@ public Builder addAllDsRecords(
           java.lang.Iterable values) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, dsRecords_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_);
           onChanged();
         } else {
           dsRecordsBuilder_.addAllMessages(values);
@@ -1382,6 +1539,8 @@ public Builder addAllDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1401,6 +1560,8 @@ public Builder clearDsRecords() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1420,6 +1581,8 @@ public Builder removeDsRecords(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1433,6 +1596,8 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder getDsRecordsBuil
         return getDsRecordsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1444,11 +1609,14 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder getDsRecordsBuil
       public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
           int index) {
         if (dsRecordsBuilder_ == null) {
-          return dsRecords_.get(index);  } else {
+          return dsRecords_.get(index);
+        } else {
           return dsRecordsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1457,8 +1625,8 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB
        *
        * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List 
-           getDsRecordsOrBuilderList() {
+      public java.util.List
+          getDsRecordsOrBuilderList() {
         if (dsRecordsBuilder_ != null) {
           return dsRecordsBuilder_.getMessageOrBuilderList();
         } else {
@@ -1466,6 +1634,8 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1475,10 +1645,12 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB
        * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        */
       public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuilder() {
-        return getDsRecordsFieldBuilder().addBuilder(
-            com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder()
+            .addBuilder(com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1489,10 +1661,13 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuil
        */
       public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuilder(
           int index) {
-        return getDsRecordsFieldBuilder().addBuilder(
-            index, com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder()
+            .addBuilder(
+                index, com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1501,24 +1676,28 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuil
        *
        * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List 
-           getDsRecordsBuilderList() {
+      public java.util.List
+          getDsRecordsBuilderList() {
         return getDsRecordsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> 
+              com.google.cloud.domains.v1.DnsSettings.DsRecord,
+              com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder,
+              com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>
           getDsRecordsFieldBuilder() {
         if (dsRecordsBuilder_ == null) {
-          dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>(
-                  dsRecords_,
-                  ((bitField0_ & 0x00000002) != 0),
-                  getParentForChildren(),
-                  isClean());
+          dsRecordsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.domains.v1.DnsSettings.DsRecord,
+                  com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder,
+                  com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>(
+                  dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
           dsRecords_ = null;
         }
         return dsRecordsBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1531,12 +1710,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DnsSettings.CustomDns)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DnsSettings.CustomDns)
     private static final com.google.cloud.domains.v1.DnsSettings.CustomDns DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DnsSettings.CustomDns();
     }
@@ -1545,16 +1724,16 @@ public static com.google.cloud.domains.v1.DnsSettings.CustomDns getDefaultInstan
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CustomDns parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new CustomDns(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CustomDns parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new CustomDns(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1569,14 +1748,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.domains.v1.DnsSettings.CustomDns getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface GoogleDomainsDnsOrBuilder extends
+  public interface GoogleDomainsDnsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DnsSettings.GoogleDomainsDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1585,11 +1766,13 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the nameServers. */ - java.util.List - getNameServersList(); + java.util.List getNameServersList(); /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1598,10 +1781,13 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of nameServers. */ int getNameServersCount(); /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1610,11 +1796,14 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1623,88 +1812,118 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString - getNameServersBytes(int index); + com.google.protobuf.ByteString getNameServersBytes(int index); /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dsState. */ int getDsStateValue(); /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dsState. */ com.google.cloud.domains.v1.DnsSettings.DsState getDsState(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getDsRecordsList(); + java.util.List getDsRecordsList(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getDsRecordsCount(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getDsRecordsOrBuilderList(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( - int index); + com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index); } /** + * + * *
    * Configuration for using the free DNS zone provided by Google Domains as a
    * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -1714,15 +1933,16 @@ com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
    *
    * Protobuf type {@code google.cloud.domains.v1.DnsSettings.GoogleDomainsDns}
    */
-  public static final class GoogleDomainsDns extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class GoogleDomainsDns extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DnsSettings.GoogleDomainsDns)
       GoogleDomainsDnsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use GoogleDomainsDns.newBuilder() to construct.
     private GoogleDomainsDns(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private GoogleDomainsDns() {
       nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       dsState_ = 0;
@@ -1731,16 +1951,15 @@ private GoogleDomainsDns() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new GoogleDomainsDns();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private GoogleDomainsDns(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1760,37 +1979,43 @@ private GoogleDomainsDns(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                nameServers_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  nameServers_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                nameServers_.add(s);
+                break;
               }
-              nameServers_.add(s);
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              dsState_ = rawValue;
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                dsRecords_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+                dsState_ = rawValue;
+                break;
               }
-              dsRecords_.add(
-                  input.readMessage(com.google.cloud.domains.v1.DnsSettings.DsRecord.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  dsRecords_ =
+                      new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                dsRecords_.add(
+                    input.readMessage(
+                        com.google.cloud.domains.v1.DnsSettings.DsRecord.parser(),
+                        extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1798,8 +2023,7 @@ private GoogleDomainsDns(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -1811,22 +2035,27 @@ private GoogleDomainsDns(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder.class);
+              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.class,
+              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder.class);
     }
 
     public static final int NAME_SERVERS_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList nameServers_;
     /**
+     *
+     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1835,13 +2064,15 @@ private GoogleDomainsDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_; } /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1850,12 +2081,15 @@ private GoogleDomainsDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1864,6 +2098,7 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1871,6 +2106,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1879,106 +2116,139 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_STATE_FIELD_NUMBER = 2; private int dsState_; /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override public int getDsStateValue() { + @java.lang.Override + public int getDsStateValue() { return dsState_; } /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dsState. */ - @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsState getDsState() { + @java.lang.Override + public com.google.cloud.domains.v1.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsState result = com.google.cloud.domains.v1.DnsSettings.DsState.valueOf(dsState_); + com.google.cloud.domains.v1.DnsSettings.DsState result = + com.google.cloud.domains.v1.DnsSettings.DsState.valueOf(dsState_); return result == null ? com.google.cloud.domains.v1.DnsSettings.DsState.UNRECOGNIZED : result; } public static final int DS_RECORDS_FIELD_NUMBER = 3; private java.util.List dsRecords_; /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getDsRecordsList() { return dsRecords_; } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getDsRecordsOrBuilderList() { return dsRecords_; } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getDsRecordsCount() { return dsRecords_.size(); } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index) { return dsRecords_.get(index); } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( @@ -1987,6 +2257,7 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1998,12 +2269,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 < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i)); } - if (dsState_ != com.google.cloud.domains.v1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { + if (dsState_ + != com.google.cloud.domains.v1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { @@ -2026,13 +2297,12 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (dsState_ != com.google.cloud.domains.v1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, dsState_); + if (dsState_ + != com.google.cloud.domains.v1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, dsRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, dsRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2042,18 +2312,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.domains.v1.DnsSettings.GoogleDomainsDns)) { return super.equals(obj); } - com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns other = (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) obj; + com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns other = + (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) obj; - if (!getNameServersList() - .equals(other.getNameServersList())) return false; + if (!getNameServersList().equals(other.getNameServersList())) return false; if (dsState_ != other.dsState_) return false; - if (!getDsRecordsList() - .equals(other.getDsRecordsList())) return false; + if (!getDsRecordsList().equals(other.getDsRecordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2081,87 +2350,94 @@ public int hashCode() { } public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2171,6 +2447,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for using the free DNS zone provided by Google Domains as a
      * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -2180,21 +2458,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1.DnsSettings.GoogleDomainsDns}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DnsSettings.GoogleDomainsDns)
         com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.domains.v1.DomainsProto
+            .internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+        return com.google.cloud.domains.v1.DomainsProto
+            .internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder.class);
+                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.class,
+                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.newBuilder()
@@ -2202,17 +2483,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getDsRecordsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2230,9 +2511,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.domains.v1.DomainsProto
+            .internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
@@ -2251,7 +2532,8 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns buildPartial() {
-        com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns result = new com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns(this);
+        com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns result =
+            new com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -2276,38 +2558,41 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1.DnsSettings.GoogleDomainsDns) {
-          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns)other);
+          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2315,7 +2600,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns other) {
-        if (other == com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance()) return this;
+        if (other == com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance())
+          return this;
         if (!other.nameServers_.isEmpty()) {
           if (nameServers_.isEmpty()) {
             nameServers_ = other.nameServers_;
@@ -2347,9 +2633,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDn
               dsRecordsBuilder_ = null;
               dsRecords_ = other.dsRecords_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              dsRecordsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getDsRecordsFieldBuilder() : null;
+              dsRecordsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getDsRecordsFieldBuilder()
+                      : null;
             } else {
               dsRecordsBuilder_.addAllMessages(other.dsRecords_);
             }
@@ -2374,7 +2661,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2383,16 +2671,21 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList nameServers_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureNameServersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2401,13 +2694,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_.getUnmodifiableView(); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2416,12 +2711,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2430,6 +2728,7 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -2437,6 +2736,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2445,14 +2746,16 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2461,21 +2764,23 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers( - int index, java.lang.String value) { + public Builder setNameServers(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2484,20 +2789,22 @@ public Builder setNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers( - java.lang.String value) { + public Builder addNameServers(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2506,18 +2813,19 @@ public Builder addNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers( - java.lang.Iterable values) { + public Builder addAllNameServers(java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); onChanged(); return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2526,6 +2834,7 @@ public Builder addAllNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -2535,6 +2844,8 @@ public Builder clearNameServers() { return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2543,15 +2854,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes( - com.google.protobuf.ByteString value) { + public Builder addNameServersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -2560,55 +2871,79 @@ public Builder addNameServersBytes( private int dsState_ = 0; /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override public int getDsStateValue() { + @java.lang.Override + public int getDsStateValue() { return dsState_; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for dsState to set. * @return This builder for chaining. */ public Builder setDsStateValue(int value) { - + dsState_ = value; onChanged(); return this; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dsState. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsState result = com.google.cloud.domains.v1.DnsSettings.DsState.valueOf(dsState_); - return result == null ? com.google.cloud.domains.v1.DnsSettings.DsState.UNRECOGNIZED : result; + com.google.cloud.domains.v1.DnsSettings.DsState result = + com.google.cloud.domains.v1.DnsSettings.DsState.valueOf(dsState_); + return result == null + ? com.google.cloud.domains.v1.DnsSettings.DsState.UNRECOGNIZED + : result; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The dsState to set. * @return This builder for chaining. */ @@ -2616,47 +2951,61 @@ public Builder setDsState(com.google.cloud.domains.v1.DnsSettings.DsState value) if (value == null) { throw new NullPointerException(); } - + dsState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearDsState() { - + dsState_ = 0; onChanged(); return this; } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = new java.util.ArrayList(dsRecords_); + dsRecords_ = + new java.util.ArrayList(dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; + com.google.cloud.domains.v1.DnsSettings.DsRecord, + com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> + dsRecordsBuilder_; /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getDsRecordsList() { if (dsRecordsBuilder_ == null) { @@ -2666,13 +3015,17 @@ public java.util.List getDsRec } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getDsRecordsCount() { if (dsRecordsBuilder_ == null) { @@ -2682,13 +3035,17 @@ public int getDsRecordsCount() { } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -2698,13 +3055,17 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord getDsRecords(int index) } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDsRecords( int index, com.google.cloud.domains.v1.DnsSettings.DsRecord value) { @@ -2721,13 +3082,17 @@ public Builder setDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDsRecords( int index, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder builderForValue) { @@ -2741,13 +3106,17 @@ public Builder setDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords(com.google.cloud.domains.v1.DnsSettings.DsRecord value) { if (dsRecordsBuilder_ == null) { @@ -2763,13 +3132,17 @@ public Builder addDsRecords(com.google.cloud.domains.v1.DnsSettings.DsRecord val return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords( int index, com.google.cloud.domains.v1.DnsSettings.DsRecord value) { @@ -2786,13 +3159,17 @@ public Builder addDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords( com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder builderForValue) { @@ -2806,13 +3183,17 @@ public Builder addDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords( int index, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder builderForValue) { @@ -2826,20 +3207,23 @@ public Builder addDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllDsRecords( java.lang.Iterable values) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dsRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_); onChanged(); } else { dsRecordsBuilder_.addAllMessages(values); @@ -2847,13 +3231,17 @@ public Builder addAllDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDsRecords() { if (dsRecordsBuilder_ == null) { @@ -2866,13 +3254,17 @@ public Builder clearDsRecords() { return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -2885,45 +3277,58 @@ public Builder removeDsRecords(int index) { return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder getDsRecordsBuilder( int index) { return getDsRecordsFieldBuilder().getBuilder(index); } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( int index) { if (dsRecordsBuilder_ == null) { - return dsRecords_.get(index); } else { + return dsRecords_.get(index); + } else { return dsRecordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getDsRecordsOrBuilderList() { + public java.util.List + getDsRecordsOrBuilderList() { if (dsRecordsBuilder_ != null) { return dsRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -2931,59 +3336,76 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder getDsRecordsOrB } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuilder() { - return getDsRecordsFieldBuilder().addBuilder( - com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder() + .addBuilder(com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance()); } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder addDsRecordsBuilder( int index) { - return getDsRecordsFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder() + .addBuilder( + index, com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance()); } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getDsRecordsBuilderList() { + public java.util.List + getDsRecordsBuilderList() { return getDsRecordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> + com.google.cloud.domains.v1.DnsSettings.DsRecord, + com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder> getDsRecordsFieldBuilder() { if (dsRecordsBuilder_ == null) { - dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.DsRecord, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>( - dsRecords_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + dsRecordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1.DnsSettings.DsRecord, + com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>( + dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); dsRecords_ = null; } return dsRecordsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2996,12 +3418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) private static final com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns(); } @@ -3010,16 +3432,16 @@ public static com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleDomainsDns parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GoogleDomainsDns(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleDomainsDns parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GoogleDomainsDns(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3034,82 +3456,104 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DsRecordOrBuilder extends + public interface DsRecordOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DnsSettings.DsRecord) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; + * * @return The keyTag. */ int getKeyTag(); /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The enum numeric value on the wire for algorithm. */ int getAlgorithmValue(); /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The algorithm. */ com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm getAlgorithm(); /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The enum numeric value on the wire for digestType. */ int getDigestTypeValue(); /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The digestType. */ com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType getDigestType(); /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The digest. */ java.lang.String getDigest(); /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The bytes for digest. */ - com.google.protobuf.ByteString - getDigestBytes(); + com.google.protobuf.ByteString getDigestBytes(); } /** + * + * *
    * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
    * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -3118,15 +3562,16 @@ public interface DsRecordOrBuilder extends
    *
    * Protobuf type {@code google.cloud.domains.v1.DnsSettings.DsRecord}
    */
-  public static final class DsRecord extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class DsRecord extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DnsSettings.DsRecord)
       DsRecordOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use DsRecord.newBuilder() to construct.
     private DsRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private DsRecord() {
       algorithm_ = 0;
       digestType_ = 0;
@@ -3135,16 +3580,15 @@ private DsRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new DsRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private DsRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3163,36 +3607,39 @@ private DsRecord(
             case 0:
               done = true;
               break;
-            case 8: {
+            case 8:
+              {
+                keyTag_ = input.readInt32();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              keyTag_ = input.readInt32();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+                algorithm_ = rawValue;
+                break;
+              }
+            case 24:
+              {
+                int rawValue = input.readEnum();
 
-              algorithm_ = rawValue;
-              break;
-            }
-            case 24: {
-              int rawValue = input.readEnum();
-
-              digestType_ = rawValue;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                digestType_ = rawValue;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              digest_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                digest_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3200,27 +3647,31 @@ private DsRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.DnsSettings.DsRecord.class, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder.class);
+              com.google.cloud.domains.v1.DnsSettings.DsRecord.class,
+              com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * List of algorithms used to create a DNSKEY. Certain
      * algorithms are not supported for particular domains.
@@ -3228,9 +3679,10 @@ private DsRecord(
      *
      * Protobuf enum {@code google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm}
      */
-    public enum Algorithm
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * The algorithm is unspecified.
        * 
@@ -3239,6 +3691,8 @@ public enum Algorithm */ ALGORITHM_UNSPECIFIED(0), /** + * + * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3247,6 +3701,8 @@ public enum Algorithm */ RSAMD5(1), /** + * + * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3255,6 +3711,8 @@ public enum Algorithm */ DH(2), /** + * + * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3263,6 +3721,8 @@ public enum Algorithm */ DSA(3), /** + * + * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3271,6 +3731,8 @@ public enum Algorithm */ ECC(4), /** + * + * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3279,6 +3741,8 @@ public enum Algorithm */ RSASHA1(5), /** + * + * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3287,6 +3751,8 @@ public enum Algorithm */ DSANSEC3SHA1(6), /** + * + * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3295,6 +3761,8 @@ public enum Algorithm */ RSASHA1NSEC3SHA1(7), /** + * + * *
        * RSA/SHA-256.
        * 
@@ -3303,6 +3771,8 @@ public enum Algorithm */ RSASHA256(8), /** + * + * *
        * RSA/SHA-512.
        * 
@@ -3311,6 +3781,8 @@ public enum Algorithm */ RSASHA512(10), /** + * + * *
        * GOST R 34.10-2001.
        * 
@@ -3319,6 +3791,8 @@ public enum Algorithm */ ECCGOST(12), /** + * + * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3327,6 +3801,8 @@ public enum Algorithm */ ECDSAP256SHA256(13), /** + * + * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3335,6 +3811,8 @@ public enum Algorithm */ ECDSAP384SHA384(14), /** + * + * *
        * Ed25519.
        * 
@@ -3343,6 +3821,8 @@ public enum Algorithm */ ED25519(15), /** + * + * *
        * Ed448.
        * 
@@ -3351,6 +3831,8 @@ public enum Algorithm */ ED448(16), /** + * + * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -3359,6 +3841,8 @@ public enum Algorithm */ INDIRECT(252), /** + * + * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -3367,6 +3851,8 @@ public enum Algorithm */ PRIVATEDNS(253), /** + * + * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -3378,6 +3864,8 @@ public enum Algorithm ; /** + * + * *
        * The algorithm is unspecified.
        * 
@@ -3386,6 +3874,8 @@ public enum Algorithm */ public static final int ALGORITHM_UNSPECIFIED_VALUE = 0; /** + * + * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3394,6 +3884,8 @@ public enum Algorithm */ public static final int RSAMD5_VALUE = 1; /** + * + * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3402,6 +3894,8 @@ public enum Algorithm */ public static final int DH_VALUE = 2; /** + * + * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3410,6 +3904,8 @@ public enum Algorithm */ public static final int DSA_VALUE = 3; /** + * + * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3418,6 +3914,8 @@ public enum Algorithm */ public static final int ECC_VALUE = 4; /** + * + * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3426,6 +3924,8 @@ public enum Algorithm */ public static final int RSASHA1_VALUE = 5; /** + * + * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3434,6 +3934,8 @@ public enum Algorithm */ public static final int DSANSEC3SHA1_VALUE = 6; /** + * + * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3442,6 +3944,8 @@ public enum Algorithm */ public static final int RSASHA1NSEC3SHA1_VALUE = 7; /** + * + * *
        * RSA/SHA-256.
        * 
@@ -3450,6 +3954,8 @@ public enum Algorithm */ public static final int RSASHA256_VALUE = 8; /** + * + * *
        * RSA/SHA-512.
        * 
@@ -3458,6 +3964,8 @@ public enum Algorithm */ public static final int RSASHA512_VALUE = 10; /** + * + * *
        * GOST R 34.10-2001.
        * 
@@ -3466,6 +3974,8 @@ public enum Algorithm */ public static final int ECCGOST_VALUE = 12; /** + * + * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3474,6 +3984,8 @@ public enum Algorithm */ public static final int ECDSAP256SHA256_VALUE = 13; /** + * + * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3482,6 +3994,8 @@ public enum Algorithm */ public static final int ECDSAP384SHA384_VALUE = 14; /** + * + * *
        * Ed25519.
        * 
@@ -3490,6 +4004,8 @@ public enum Algorithm */ public static final int ED25519_VALUE = 15; /** + * + * *
        * Ed448.
        * 
@@ -3498,6 +4014,8 @@ public enum Algorithm */ public static final int ED448_VALUE = 16; /** + * + * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -3506,6 +4024,8 @@ public enum Algorithm */ public static final int INDIRECT_VALUE = 252; /** + * + * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -3514,6 +4034,8 @@ public enum Algorithm */ public static final int PRIVATEDNS_VALUE = 253; /** + * + * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -3522,7 +4044,6 @@ public enum Algorithm */ public static final int PRIVATEOID_VALUE = 254; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3547,64 +4068,81 @@ public static Algorithm valueOf(int value) { */ public static Algorithm forNumber(int value) { switch (value) { - case 0: return ALGORITHM_UNSPECIFIED; - case 1: return RSAMD5; - case 2: return DH; - case 3: return DSA; - case 4: return ECC; - case 5: return RSASHA1; - case 6: return DSANSEC3SHA1; - case 7: return RSASHA1NSEC3SHA1; - case 8: return RSASHA256; - case 10: return RSASHA512; - case 12: return ECCGOST; - case 13: return ECDSAP256SHA256; - case 14: return ECDSAP384SHA384; - case 15: return ED25519; - case 16: return ED448; - case 252: return INDIRECT; - case 253: return PRIVATEDNS; - case 254: return PRIVATEOID; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return ALGORITHM_UNSPECIFIED; + case 1: + return RSAMD5; + case 2: + return DH; + case 3: + return DSA; + case 4: + return ECC; + case 5: + return RSASHA1; + case 6: + return DSANSEC3SHA1; + case 7: + return RSASHA1NSEC3SHA1; + case 8: + return RSASHA256; + case 10: + return RSASHA512; + case 12: + return ECCGOST; + case 13: + return ECDSAP256SHA256; + case 14: + return ECDSAP384SHA384; + case 15: + return ED25519; + case 16: + return ED448; + case 252: + return INDIRECT; + case 253: + return PRIVATEDNS; + case 254: + return PRIVATEOID; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Algorithm> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Algorithm findValueByNumber(int number) { - return Algorithm.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 Algorithm findValueByNumber(int number) { + return Algorithm.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.domains.v1.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.domains.v1.DnsSettings.DsRecord.getDescriptor() + .getEnumTypes() + .get(0); } private static final Algorithm[] VALUES = values(); - public static Algorithm valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Algorithm 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; @@ -3622,6 +4160,8 @@ private Algorithm(int value) { } /** + * + * *
      * List of hash functions that may have been used to generate a digest of a
      * DNSKEY.
@@ -3629,9 +4169,10 @@ private Algorithm(int value) {
      *
      * Protobuf enum {@code google.cloud.domains.v1.DnsSettings.DsRecord.DigestType}
      */
-    public enum DigestType
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum DigestType implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * The DigestType is unspecified.
        * 
@@ -3640,6 +4181,8 @@ public enum DigestType */ DIGEST_TYPE_UNSPECIFIED(0), /** + * + * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -3648,6 +4191,8 @@ public enum DigestType */ SHA1(1), /** + * + * *
        * SHA-256.
        * 
@@ -3656,6 +4201,8 @@ public enum DigestType */ SHA256(2), /** + * + * *
        * GOST R 34.11-94.
        * 
@@ -3664,6 +4211,8 @@ public enum DigestType */ GOST3411(3), /** + * + * *
        * SHA-384.
        * 
@@ -3675,6 +4224,8 @@ public enum DigestType ; /** + * + * *
        * The DigestType is unspecified.
        * 
@@ -3683,6 +4234,8 @@ public enum DigestType */ public static final int DIGEST_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -3691,6 +4244,8 @@ public enum DigestType */ public static final int SHA1_VALUE = 1; /** + * + * *
        * SHA-256.
        * 
@@ -3699,6 +4254,8 @@ public enum DigestType */ public static final int SHA256_VALUE = 2; /** + * + * *
        * GOST R 34.11-94.
        * 
@@ -3707,6 +4264,8 @@ public enum DigestType */ public static final int GOST3411_VALUE = 3; /** + * + * *
        * SHA-384.
        * 
@@ -3715,7 +4274,6 @@ public enum DigestType */ public static final int SHA384_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3740,51 +4298,55 @@ public static DigestType valueOf(int value) { */ public static DigestType forNumber(int value) { switch (value) { - case 0: return DIGEST_TYPE_UNSPECIFIED; - case 1: return SHA1; - case 2: return SHA256; - case 3: return GOST3411; - case 4: return SHA384; - default: return null; + case 0: + return DIGEST_TYPE_UNSPECIFIED; + case 1: + return SHA1; + case 2: + return SHA256; + case 3: + return GOST3411; + case 4: + return SHA384; + 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< - DigestType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DigestType findValueByNumber(int number) { - return DigestType.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 DigestType findValueByNumber(int number) { + return DigestType.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.domains.v1.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.domains.v1.DnsSettings.DsRecord.getDescriptor() + .getEnumTypes() + .get(1); } private static final DigestType[] VALUES = values(); - public static DigestType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DigestType 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; @@ -3804,11 +4366,14 @@ private DigestType(int value) { public static final int KEY_TAG_FIELD_NUMBER = 1; private int keyTag_; /** + * + * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; + * * @return The keyTag. */ @java.lang.Override @@ -3819,65 +4384,90 @@ public int getKeyTag() { public static final int ALGORITHM_FIELD_NUMBER = 2; private int algorithm_; /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override public int getAlgorithmValue() { + @java.lang.Override + public int getAlgorithmValue() { return algorithm_; } /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The algorithm. */ - @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm getAlgorithm() { + @java.lang.Override + public com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null ? com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; + com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm result = + com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null + ? com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED + : result; } public static final int DIGEST_TYPE_FIELD_NUMBER = 3; private int digestType_; /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override public int getDigestTypeValue() { + @java.lang.Override + public int getDigestTypeValue() { return digestType_; } /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The digestType. */ - @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType getDigestType() { + @java.lang.Override + public com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null ? com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; + com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType result = + com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null + ? com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED + : result; } public static final int DIGEST_FIELD_NUMBER = 4; private volatile java.lang.Object digest_; /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The digest. */ @java.lang.Override @@ -3886,29 +4476,29 @@ public java.lang.String getDigest() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; } } /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The bytes for digest. */ @java.lang.Override - public com.google.protobuf.ByteString - getDigestBytes() { + public com.google.protobuf.ByteString getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); digest_ = b; return b; } else { @@ -3917,6 +4507,7 @@ public java.lang.String getDigest() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3928,15 +4519,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (keyTag_ != 0) { output.writeInt32(1, keyTag_); } - if (algorithm_ != com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { + if (algorithm_ + != com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED + .getNumber()) { output.writeEnum(2, algorithm_); } - if (digestType_ != com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { + if (digestType_ + != com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { @@ -3952,16 +4546,17 @@ public int getSerializedSize() { size = 0; if (keyTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, keyTag_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, keyTag_); } - if (algorithm_ != com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, algorithm_); + if (algorithm_ + != com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, algorithm_); } - if (digestType_ != com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, digestType_); + if (digestType_ + != com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, digest_); @@ -3974,19 +4569,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.domains.v1.DnsSettings.DsRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1.DnsSettings.DsRecord other = (com.google.cloud.domains.v1.DnsSettings.DsRecord) obj; + com.google.cloud.domains.v1.DnsSettings.DsRecord other = + (com.google.cloud.domains.v1.DnsSettings.DsRecord) obj; - if (getKeyTag() - != other.getKeyTag()) return false; + if (getKeyTag() != other.getKeyTag()) return false; if (algorithm_ != other.algorithm_) return false; if (digestType_ != other.digestType_) return false; - if (!getDigest() - .equals(other.getDigest())) return false; + if (!getDigest().equals(other.getDigest())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4012,87 +4606,93 @@ public int hashCode() { } public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings.DsRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.DnsSettings.DsRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4102,6 +4702,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
      * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -4110,21 +4712,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1.DnsSettings.DsRecord}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DnsSettings.DsRecord)
         com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.domains.v1.DomainsProto
+            .internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1.DomainsProto
+            .internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1.DnsSettings.DsRecord.class, com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder.class);
+                com.google.cloud.domains.v1.DnsSettings.DsRecord.class,
+                com.google.cloud.domains.v1.DnsSettings.DsRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1.DnsSettings.DsRecord.newBuilder()
@@ -4132,16 +4737,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4157,9 +4761,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.domains.v1.DomainsProto
+            .internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
@@ -4178,7 +4782,8 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1.DnsSettings.DsRecord buildPartial() {
-        com.google.cloud.domains.v1.DnsSettings.DsRecord result = new com.google.cloud.domains.v1.DnsSettings.DsRecord(this);
+        com.google.cloud.domains.v1.DnsSettings.DsRecord result =
+            new com.google.cloud.domains.v1.DnsSettings.DsRecord(this);
         result.keyTag_ = keyTag_;
         result.algorithm_ = algorithm_;
         result.digestType_ = digestType_;
@@ -4191,38 +4796,41 @@ public com.google.cloud.domains.v1.DnsSettings.DsRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1.DnsSettings.DsRecord) {
-          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.DsRecord)other);
+          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.DsRecord) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4230,7 +4838,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.DsRecord other) {
-        if (other == com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance()) return this;
+        if (other == com.google.cloud.domains.v1.DnsSettings.DsRecord.getDefaultInstance())
+          return this;
         if (other.getKeyTag() != 0) {
           setKeyTag(other.getKeyTag());
         }
@@ -4263,7 +4872,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.domains.v1.DnsSettings.DsRecord) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.domains.v1.DnsSettings.DsRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4273,13 +4883,16 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int keyTag_ ;
+      private int keyTag_;
       /**
+       *
+       *
        * 
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; + * * @return The keyTag. */ @java.lang.Override @@ -4287,30 +4900,36 @@ public int getKeyTag() { return keyTag_; } /** + * + * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; + * * @param value The keyTag to set. * @return This builder for chaining. */ public Builder setKeyTag(int value) { - + keyTag_ = value; onChanged(); return this; } /** + * + * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; + * * @return This builder for chaining. */ public Builder clearKeyTag() { - + keyTag_ = 0; onChanged(); return this; @@ -4318,73 +4937,93 @@ public Builder clearKeyTag() { private int algorithm_ = 0; /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override public int getAlgorithmValue() { + @java.lang.Override + public int getAlgorithmValue() { return algorithm_; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @param value The enum numeric value on the wire for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmValue(int value) { - + algorithm_ = value; onChanged(); return this; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The algorithm. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null ? com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; + com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm result = + com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null + ? com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED + : result; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @param value The algorithm to set. * @return This builder for chaining. */ - public Builder setAlgorithm(com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm value) { + public Builder setAlgorithm( + com.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm value) { if (value == null) { throw new NullPointerException(); } - + algorithm_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return This builder for chaining. */ public Builder clearAlgorithm() { - + algorithm_ = 0; onChanged(); return this; @@ -4392,73 +5031,93 @@ public Builder clearAlgorithm() { private int digestType_ = 0; /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override public int getDigestTypeValue() { + @java.lang.Override + public int getDigestTypeValue() { return digestType_; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @param value The enum numeric value on the wire for digestType to set. * @return This builder for chaining. */ public Builder setDigestTypeValue(int value) { - + digestType_ = value; onChanged(); return this; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The digestType. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null ? com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; + com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType result = + com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null + ? com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED + : result; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @param value The digestType to set. * @return This builder for chaining. */ - public Builder setDigestType(com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType value) { + public Builder setDigestType( + com.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType value) { if (value == null) { throw new NullPointerException(); } - + digestType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return This builder for chaining. */ public Builder clearDigestType() { - + digestType_ = 0; onChanged(); return this; @@ -4466,18 +5125,20 @@ public Builder clearDigestType() { private java.lang.Object digest_ = ""; /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @return The digest. */ public java.lang.String getDigest() { java.lang.Object ref = digest_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; @@ -4486,20 +5147,21 @@ public java.lang.String getDigest() { } } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @return The bytes for digest. */ - public com.google.protobuf.ByteString - getDigestBytes() { + public com.google.protobuf.ByteString getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); digest_ = b; return b; } else { @@ -4507,58 +5169,66 @@ public java.lang.String getDigest() { } } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @param value The digest to set. * @return This builder for chaining. */ - public Builder setDigest( - java.lang.String value) { + public Builder setDigest(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + digest_ = value; onChanged(); return this; } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @return This builder for chaining. */ public Builder clearDigest() { - + digest_ = getDefaultInstance().getDigest(); onChanged(); return this; } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @param value The bytes for digest to set. * @return This builder for chaining. */ - public Builder setDigestBytes( - com.google.protobuf.ByteString value) { + public Builder setDigestBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + digest_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4571,12 +5241,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DnsSettings.DsRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DnsSettings.DsRecord) private static final com.google.cloud.domains.v1.DnsSettings.DsRecord DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DnsSettings.DsRecord(); } @@ -4585,16 +5255,16 @@ public static com.google.cloud.domains.v1.DnsSettings.DsRecord getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DsRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DsRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DsRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DsRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4609,34 +5279,41 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.DnsSettings.DsRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GlueRecordOrBuilder extends + public interface GlueRecordOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DnsSettings.GlueRecord) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The hostName. */ java.lang.String getHostName(); /** + * + * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for hostName. */ - com.google.protobuf.ByteString - getHostNameBytes(); + com.google.protobuf.ByteString getHostNameBytes(); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4644,11 +5321,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @return A list containing the ipv4Addresses. */ - java.util.List - getIpv4AddressesList(); + java.util.List getIpv4AddressesList(); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4656,10 +5335,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @return The count of ipv4Addresses. */ int getIpv4AddressesCount(); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4667,11 +5349,14 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ java.lang.String getIpv4Addresses(int index); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4679,13 +5364,15 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - com.google.protobuf.ByteString - getIpv4AddressesBytes(int index); + com.google.protobuf.ByteString getIpv4AddressesBytes(int index); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4693,11 +5380,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @return A list containing the ipv6Addresses. */ - java.util.List - getIpv6AddressesList(); + java.util.List getIpv6AddressesList(); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4705,10 +5394,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @return The count of ipv6Addresses. */ int getIpv6AddressesCount(); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4716,11 +5408,14 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ java.lang.String getIpv6Addresses(int index); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4728,13 +5423,15 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - com.google.protobuf.ByteString - getIpv6AddressesBytes(int index); + com.google.protobuf.ByteString getIpv6AddressesBytes(int index); } /** + * + * *
    * Defines a host on your domain that is a DNS name server for your domain
    * and/or other domains. Glue records are a way of making the IP address of a
@@ -4746,15 +5443,16 @@ public interface GlueRecordOrBuilder extends
    *
    * Protobuf type {@code google.cloud.domains.v1.DnsSettings.GlueRecord}
    */
-  public static final class GlueRecord extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class GlueRecord extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.DnsSettings.GlueRecord)
       GlueRecordOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use GlueRecord.newBuilder() to construct.
     private GlueRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private GlueRecord() {
       hostName_ = "";
       ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -4763,16 +5461,15 @@ private GlueRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new GlueRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private GlueRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4792,37 +5489,40 @@ private GlueRecord(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              hostName_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                hostName_ = s;
+                break;
               }
-              ipv4Addresses_.add(s);
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                ipv4Addresses_.add(s);
+                break;
               }
-              ipv6Addresses_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                ipv6Addresses_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4830,8 +5530,7 @@ private GlueRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           ipv4Addresses_ = ipv4Addresses_.getUnmodifiableView();
@@ -4843,27 +5542,33 @@ private GlueRecord(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder.class);
+              com.google.cloud.domains.v1.DnsSettings.GlueRecord.class,
+              com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder.class);
     }
 
     public static final int HOST_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object hostName_;
     /**
+     *
+     *
      * 
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The hostName. */ @java.lang.Override @@ -4872,29 +5577,29 @@ public java.lang.String getHostName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; } } /** + * + * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for hostName. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostNameBytes() { + public com.google.protobuf.ByteString getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostName_ = b; return b; } else { @@ -4905,6 +5610,8 @@ public java.lang.String getHostName() { public static final int IPV4_ADDRESSES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList ipv4Addresses_; /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4912,13 +5619,15 @@ public java.lang.String getHostName() {
      * 
* * repeated string ipv4_addresses = 2; + * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { return ipv4Addresses_; } /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4926,12 +5635,15 @@ public java.lang.String getHostName() {
      * 
* * repeated string ipv4_addresses = 2; + * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4939,6 +5651,7 @@ public int getIpv4AddressesCount() {
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -4946,6 +5659,8 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4953,17 +5668,19 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } public static final int IPV6_ADDRESSES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ipv6Addresses_; /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4971,13 +5688,15 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; + * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { return ipv6Addresses_; } /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4985,12 +5704,15 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; + * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4998,6 +5720,7 @@ public int getIpv6AddressesCount() {
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -5005,6 +5728,8 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5012,15 +5737,16 @@ public java.lang.String getIpv6Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5032,8 +5758,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } @@ -5079,19 +5804,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.domains.v1.DnsSettings.GlueRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1.DnsSettings.GlueRecord other = (com.google.cloud.domains.v1.DnsSettings.GlueRecord) obj; + com.google.cloud.domains.v1.DnsSettings.GlueRecord other = + (com.google.cloud.domains.v1.DnsSettings.GlueRecord) obj; - if (!getHostName() - .equals(other.getHostName())) return false; - if (!getIpv4AddressesList() - .equals(other.getIpv4AddressesList())) return false; - if (!getIpv6AddressesList() - .equals(other.getIpv6AddressesList())) return false; + if (!getHostName().equals(other.getHostName())) return false; + if (!getIpv4AddressesList().equals(other.getIpv4AddressesList())) return false; + if (!getIpv6AddressesList().equals(other.getIpv6AddressesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5119,87 +5842,93 @@ public int hashCode() { } public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.DnsSettings.GlueRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5209,6 +5938,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Defines a host on your domain that is a DNS name server for your domain
      * and/or other domains. Glue records are a way of making the IP address of a
@@ -5220,21 +5951,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1.DnsSettings.GlueRecord}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DnsSettings.GlueRecord)
         com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.domains.v1.DomainsProto
+            .internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1.DomainsProto
+            .internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder.class);
+                com.google.cloud.domains.v1.DnsSettings.GlueRecord.class,
+                com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1.DnsSettings.GlueRecord.newBuilder()
@@ -5242,16 +5976,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5265,9 +5998,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.domains.v1.DomainsProto
+            .internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
@@ -5286,7 +6019,8 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1.DnsSettings.GlueRecord buildPartial() {
-        com.google.cloud.domains.v1.DnsSettings.GlueRecord result = new com.google.cloud.domains.v1.DnsSettings.GlueRecord(this);
+        com.google.cloud.domains.v1.DnsSettings.GlueRecord result =
+            new com.google.cloud.domains.v1.DnsSettings.GlueRecord(this);
         int from_bitField0_ = bitField0_;
         result.hostName_ = hostName_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -5307,38 +6041,41 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1.DnsSettings.GlueRecord) {
-          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.GlueRecord)other);
+          return mergeFrom((com.google.cloud.domains.v1.DnsSettings.GlueRecord) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5346,7 +6083,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings.GlueRecord other) {
-        if (other == com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance()) return this;
+        if (other == com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance())
+          return this;
         if (!other.getHostName().isEmpty()) {
           hostName_ = other.hostName_;
           onChanged();
@@ -5390,7 +6128,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.domains.v1.DnsSettings.GlueRecord) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.domains.v1.DnsSettings.GlueRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5399,22 +6138,25 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object hostName_ = "";
       /**
+       *
+       *
        * 
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The hostName. */ public java.lang.String getHostName() { java.lang.Object ref = hostName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; @@ -5423,20 +6165,21 @@ public java.lang.String getHostName() { } } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for hostName. */ - public com.google.protobuf.ByteString - getHostNameBytes() { + public com.google.protobuf.ByteString getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostName_ = b; return b; } else { @@ -5444,67 +6187,78 @@ public java.lang.String getHostName() { } } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The hostName to set. * @return This builder for chaining. */ - public Builder setHostName( - java.lang.String value) { + public Builder setHostName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostName_ = value; onChanged(); return this; } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearHostName() { - + hostName_ = getDefaultInstance().getHostName(); onChanged(); return this; } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for hostName to set. * @return This builder for chaining. */ - public Builder setHostNameBytes( - com.google.protobuf.ByteString value) { + public Builder setHostNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostName_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList ipv4Addresses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIpv4AddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv4Addresses_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5512,13 +6266,15 @@ private void ensureIpv4AddressesIsMutable() {
        * 
* * repeated string ipv4_addresses = 2; + * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { return ipv4Addresses_.getUnmodifiableView(); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5526,12 +6282,15 @@ private void ensureIpv4AddressesIsMutable() {
        * 
* * repeated string ipv4_addresses = 2; + * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5539,6 +6298,7 @@ public int getIpv4AddressesCount() {
        * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -5546,6 +6306,8 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5553,14 +6315,16 @@ public java.lang.String getIpv4Addresses(int index) {
        * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5568,21 +6332,23 @@ public java.lang.String getIpv4Addresses(int index) {
        * 
* * repeated string ipv4_addresses = 2; + * * @param index The index to set the value at. * @param value The ipv4Addresses to set. * @return This builder for chaining. */ - public Builder setIpv4Addresses( - int index, java.lang.String value) { + public Builder setIpv4Addresses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5590,20 +6356,22 @@ public Builder setIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @param value The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4Addresses( - java.lang.String value) { + public Builder addIpv4Addresses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5611,18 +6379,19 @@ public Builder addIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @param values The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv4Addresses( - java.lang.Iterable values) { + public Builder addAllIpv4Addresses(java.lang.Iterable values) { ensureIpv4AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ipv4Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv4Addresses_); onChanged(); return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5630,6 +6399,7 @@ public Builder addAllIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @return This builder for chaining. */ public Builder clearIpv4Addresses() { @@ -5639,6 +6409,8 @@ public Builder clearIpv4Addresses() { return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5646,29 +6418,33 @@ public Builder clearIpv4Addresses() {
        * 
* * repeated string ipv4_addresses = 2; + * * @param value The bytes of the ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4AddressesBytes( - com.google.protobuf.ByteString value) { + public Builder addIpv4AddressesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv6Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList ipv6Addresses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIpv6AddressesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv6Addresses_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5676,13 +6452,15 @@ private void ensureIpv6AddressesIsMutable() {
        * 
* * repeated string ipv6_addresses = 3; + * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { return ipv6Addresses_.getUnmodifiableView(); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5690,12 +6468,15 @@ private void ensureIpv6AddressesIsMutable() {
        * 
* * repeated string ipv6_addresses = 3; + * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5703,6 +6484,7 @@ public int getIpv6AddressesCount() {
        * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -5710,6 +6492,8 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5717,14 +6501,16 @@ public java.lang.String getIpv6Addresses(int index) {
        * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5732,21 +6518,23 @@ public java.lang.String getIpv6Addresses(int index) {
        * 
* * repeated string ipv6_addresses = 3; + * * @param index The index to set the value at. * @param value The ipv6Addresses to set. * @return This builder for chaining. */ - public Builder setIpv6Addresses( - int index, java.lang.String value) { + public Builder setIpv6Addresses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5754,20 +6542,22 @@ public Builder setIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @param value The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6Addresses( - java.lang.String value) { + public Builder addIpv6Addresses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5775,18 +6565,19 @@ public Builder addIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @param values The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv6Addresses( - java.lang.Iterable values) { + public Builder addAllIpv6Addresses(java.lang.Iterable values) { ensureIpv6AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ipv6Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv6Addresses_); onChanged(); return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5794,6 +6585,7 @@ public Builder addAllIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @return This builder for chaining. */ public Builder clearIpv6Addresses() { @@ -5803,6 +6595,8 @@ public Builder clearIpv6Addresses() { return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5810,20 +6604,21 @@ public Builder clearIpv6Addresses() {
        * 
* * repeated string ipv6_addresses = 3; + * * @param value The bytes of the ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6AddressesBytes( - com.google.protobuf.ByteString value) { + public Builder addIpv6AddressesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5836,12 +6631,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DnsSettings.GlueRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DnsSettings.GlueRecord) private static final com.google.cloud.domains.v1.DnsSettings.GlueRecord DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DnsSettings.GlueRecord(); } @@ -5850,16 +6645,16 @@ public static com.google.cloud.domains.v1.DnsSettings.GlueRecord getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GlueRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GlueRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GlueRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GlueRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5874,18 +6669,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.DnsSettings.GlueRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int dnsProviderCase_ = 0; private java.lang.Object dnsProvider_; + public enum DnsProviderCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CUSTOM_DNS(1), GOOGLE_DOMAINS_DNS(2), DNSPROVIDER_NOT_SET(0); private final int value; + private DnsProviderCase(int value) { this.value = value; } @@ -5901,30 +6698,36 @@ public static DnsProviderCase valueOf(int value) { public static DnsProviderCase forNumber(int value) { switch (value) { - case 1: return CUSTOM_DNS; - case 2: return GOOGLE_DOMAINS_DNS; - case 0: return DNSPROVIDER_NOT_SET; - default: return null; + case 1: + return CUSTOM_DNS; + case 2: + return GOOGLE_DOMAINS_DNS; + case 0: + return DNSPROVIDER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DnsProviderCase - getDnsProviderCase() { - return DnsProviderCase.forNumber( - dnsProviderCase_); + public DnsProviderCase getDnsProviderCase() { + return DnsProviderCase.forNumber(dnsProviderCase_); } public static final int CUSTOM_DNS_FIELD_NUMBER = 1; /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; + * * @return Whether the customDns field is set. */ @java.lang.Override @@ -5932,21 +6735,26 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; + * * @return The customDns. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.CustomDns getCustomDns() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance(); } /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -5956,19 +6764,22 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDns getCustomDns() { @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance(); } public static final int GOOGLE_DOMAINS_DNS_FIELD_NUMBER = 2; /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -5976,22 +6787,27 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * * @return The googleDomainsDns. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomainsDns() { if (dnsProviderCase_ == 2) { - return (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_; + return (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_; } return com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance(); } /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
@@ -6000,9 +6816,10 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomains
    * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() {
+  public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder
+      getGoogleDomainsDnsOrBuilder() {
     if (dnsProviderCase_ == 2) {
-       return (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_;
+      return (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_;
     }
     return com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance();
   }
@@ -6010,6 +6827,8 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder getGoog
   public static final int GLUE_RECORDS_FIELD_NUMBER = 4;
   private java.util.List glueRecords_;
   /**
+   *
+   *
    * 
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6021,6 +6840,8 @@ public java.util.List getGlu return glueRecords_; } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6028,11 +6849,13 @@ public java.util.List getGlu * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ @java.lang.Override - public java.util.List + public java.util.List getGlueRecordsOrBuilderList() { return glueRecords_; } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6044,6 +6867,8 @@ public int getGlueRecordsCount() { return glueRecords_.size(); } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6055,6 +6880,8 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord getGlueRecords(int ind return glueRecords_.get(index); } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6068,6 +6895,7 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecord } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6079,13 +6907,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dnsProviderCase_ == 1) { output.writeMessage(1, (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - output.writeMessage(2, (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_); + output.writeMessage( + 2, (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { output.writeMessage(4, glueRecords_.get(i)); @@ -6100,16 +6928,17 @@ public int getSerializedSize() { size = 0; if (dnsProviderCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, glueRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, glueRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6119,24 +6948,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.domains.v1.DnsSettings)) { return super.equals(obj); } com.google.cloud.domains.v1.DnsSettings other = (com.google.cloud.domains.v1.DnsSettings) obj; - if (!getGlueRecordsList() - .equals(other.getGlueRecordsList())) return false; + if (!getGlueRecordsList().equals(other.getGlueRecordsList())) return false; if (!getDnsProviderCase().equals(other.getDnsProviderCase())) return false; switch (dnsProviderCase_) { case 1: - if (!getCustomDns() - .equals(other.getCustomDns())) return false; + if (!getCustomDns().equals(other.getCustomDns())) return false; break; case 2: - if (!getGoogleDomainsDns() - .equals(other.getGoogleDomainsDns())) return false; + if (!getGoogleDomainsDns().equals(other.getGoogleDomainsDns())) return false; break; case 0: default: @@ -6173,97 +6999,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.DnsSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.DnsSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.DnsSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings parseFrom(java.io.InputStream input) 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.domains.v1.DnsSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.DnsSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.DnsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.DnsSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.DnsSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.DnsSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines the DNS configuration of a `Registration`, including name servers,
    * DNSSEC, and glue records.
@@ -6271,21 +7104,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.domains.v1.DnsSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.DnsSettings)
       com.google.cloud.domains.v1.DnsSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.DnsSettings.class, com.google.cloud.domains.v1.DnsSettings.Builder.class);
+              com.google.cloud.domains.v1.DnsSettings.class,
+              com.google.cloud.domains.v1.DnsSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1.DnsSettings.newBuilder()
@@ -6293,17 +7128,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getGlueRecordsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6319,9 +7154,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
     }
 
     @java.lang.Override
@@ -6340,7 +7175,8 @@ public com.google.cloud.domains.v1.DnsSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1.DnsSettings buildPartial() {
-      com.google.cloud.domains.v1.DnsSettings result = new com.google.cloud.domains.v1.DnsSettings(this);
+      com.google.cloud.domains.v1.DnsSettings result =
+          new com.google.cloud.domains.v1.DnsSettings(this);
       int from_bitField0_ = bitField0_;
       if (dnsProviderCase_ == 1) {
         if (customDnsBuilder_ == null) {
@@ -6374,38 +7210,39 @@ public com.google.cloud.domains.v1.DnsSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1.DnsSettings) {
-        return mergeFrom((com.google.cloud.domains.v1.DnsSettings)other);
+        return mergeFrom((com.google.cloud.domains.v1.DnsSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6432,26 +7269,30 @@ public Builder mergeFrom(com.google.cloud.domains.v1.DnsSettings other) {
             glueRecordsBuilder_ = null;
             glueRecords_ = other.glueRecords_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            glueRecordsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getGlueRecordsFieldBuilder() : null;
+            glueRecordsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getGlueRecordsFieldBuilder()
+                    : null;
           } else {
             glueRecordsBuilder_.addAllMessages(other.glueRecords_);
           }
         }
       }
       switch (other.getDnsProviderCase()) {
-        case CUSTOM_DNS: {
-          mergeCustomDns(other.getCustomDns());
-          break;
-        }
-        case GOOGLE_DOMAINS_DNS: {
-          mergeGoogleDomainsDns(other.getGoogleDomainsDns());
-          break;
-        }
-        case DNSPROVIDER_NOT_SET: {
-          break;
-        }
+        case CUSTOM_DNS:
+          {
+            mergeCustomDns(other.getCustomDns());
+            break;
+          }
+        case GOOGLE_DOMAINS_DNS:
+          {
+            mergeGoogleDomainsDns(other.getGoogleDomainsDns());
+            break;
+          }
+        case DNSPROVIDER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -6481,12 +7322,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int dnsProviderCase_ = 0;
     private java.lang.Object dnsProvider_;
-    public DnsProviderCase
-        getDnsProviderCase() {
-      return DnsProviderCase.forNumber(
-          dnsProviderCase_);
+
+    public DnsProviderCase getDnsProviderCase() {
+      return DnsProviderCase.forNumber(dnsProviderCase_);
     }
 
     public Builder clearDnsProvider() {
@@ -6499,13 +7340,19 @@ public Builder clearDnsProvider() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1.DnsSettings.CustomDns, com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder> customDnsBuilder_;
+            com.google.cloud.domains.v1.DnsSettings.CustomDns,
+            com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder,
+            com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder>
+        customDnsBuilder_;
     /**
+     *
+     *
      * 
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; + * * @return Whether the customDns field is set. */ @java.lang.Override @@ -6513,11 +7360,14 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; + * * @return The customDns. */ @java.lang.Override @@ -6535,6 +7385,8 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDns getCustomDns() { } } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6555,6 +7407,8 @@ public Builder setCustomDns(com.google.cloud.domains.v1.DnsSettings.CustomDns va return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6573,6 +7427,8 @@ public Builder setCustomDns( return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6581,10 +7437,14 @@ public Builder setCustomDns( */ public Builder mergeCustomDns(com.google.cloud.domains.v1.DnsSettings.CustomDns value) { if (customDnsBuilder_ == null) { - if (dnsProviderCase_ == 1 && - dnsProvider_ != com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance()) { - dnsProvider_ = com.google.cloud.domains.v1.DnsSettings.CustomDns.newBuilder((com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_) - .mergeFrom(value).buildPartial(); + if (dnsProviderCase_ == 1 + && dnsProvider_ + != com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance()) { + dnsProvider_ = + com.google.cloud.domains.v1.DnsSettings.CustomDns.newBuilder( + (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_) + .mergeFrom(value) + .buildPartial(); } else { dnsProvider_ = value; } @@ -6600,6 +7460,8 @@ public Builder mergeCustomDns(com.google.cloud.domains.v1.DnsSettings.CustomDns return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6623,6 +7485,8 @@ public Builder clearCustomDns() { return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6633,6 +7497,8 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder getCustomDnsBui return getCustomDnsFieldBuilder().getBuilder(); } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6651,6 +7517,8 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder getCustomDnsOr } } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6658,33 +7526,45 @@ public com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder getCustomDnsOr * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.CustomDns, com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder> + com.google.cloud.domains.v1.DnsSettings.CustomDns, + com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder, + com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder> getCustomDnsFieldBuilder() { if (customDnsBuilder_ == null) { if (!(dnsProviderCase_ == 1)) { dnsProvider_ = com.google.cloud.domains.v1.DnsSettings.CustomDns.getDefaultInstance(); } - customDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.CustomDns, com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder>( + customDnsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.DnsSettings.CustomDns, + com.google.cloud.domains.v1.DnsSettings.CustomDns.Builder, + com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder>( (com.google.cloud.domains.v1.DnsSettings.CustomDns) dnsProvider_, getParentForChildren(), isClean()); dnsProvider_ = null; } dnsProviderCase_ = 1; - onChanged();; + onChanged(); + ; return customDnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder> googleDomainsDnsBuilder_; + com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns, + com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder, + com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder> + googleDomainsDnsBuilder_; /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -6692,12 +7572,15 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * * @return The googleDomainsDns. */ @java.lang.Override @@ -6715,6 +7598,8 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomains } } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -6722,7 +7607,8 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomains
      *
      * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      */
-    public Builder setGoogleDomainsDns(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns value) {
+    public Builder setGoogleDomainsDns(
+        com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns value) {
       if (googleDomainsDnsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -6736,6 +7622,8 @@ public Builder setGoogleDomainsDns(com.google.cloud.domains.v1.DnsSettings.Googl
       return this;
     }
     /**
+     *
+     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -6755,6 +7643,8 @@ public Builder setGoogleDomainsDns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -6762,12 +7652,17 @@ public Builder setGoogleDomainsDns(
      *
      * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      */
-    public Builder mergeGoogleDomainsDns(com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns value) {
+    public Builder mergeGoogleDomainsDns(
+        com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns value) {
       if (googleDomainsDnsBuilder_ == null) {
-        if (dnsProviderCase_ == 2 &&
-            dnsProvider_ != com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance()) {
-          dnsProvider_ = com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.newBuilder((com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_)
-              .mergeFrom(value).buildPartial();
+        if (dnsProviderCase_ == 2
+            && dnsProvider_
+                != com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance()) {
+          dnsProvider_ =
+              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.newBuilder(
+                      (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dnsProvider_ = value;
         }
@@ -6783,6 +7678,8 @@ public Builder mergeGoogleDomainsDns(com.google.cloud.domains.v1.DnsSettings.Goo
       return this;
     }
     /**
+     *
+     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -6807,6 +7704,8 @@ public Builder clearGoogleDomainsDns() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -6814,10 +7713,13 @@ public Builder clearGoogleDomainsDns() {
      *
      * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      */
-    public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder getGoogleDomainsDnsBuilder() {
+    public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder
+        getGoogleDomainsDnsBuilder() {
       return getGoogleDomainsDnsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -6826,7 +7728,8 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder getGoogl
      * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      */
     @java.lang.Override
-    public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() {
+    public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder
+        getGoogleDomainsDnsOrBuilder() {
       if ((dnsProviderCase_ == 2) && (googleDomainsDnsBuilder_ != null)) {
         return googleDomainsDnsBuilder_.getMessageOrBuilder();
       } else {
@@ -6837,6 +7740,8 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder getGoog
       }
     }
     /**
+     *
+     *
      * 
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
@@ -6845,37 +7750,52 @@ public com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder getGoog
      * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder> 
+            com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns,
+            com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder,
+            com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder>
         getGoogleDomainsDnsFieldBuilder() {
       if (googleDomainsDnsBuilder_ == null) {
         if (!(dnsProviderCase_ == 2)) {
-          dnsProvider_ = com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance();
-        }
-        googleDomainsDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder>(
+          dnsProvider_ =
+              com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.getDefaultInstance();
+        }
+        googleDomainsDnsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns,
+                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns.Builder,
+                com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder>(
                 (com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns) dnsProvider_,
                 getParentForChildren(),
                 isClean());
         dnsProvider_ = null;
       }
       dnsProviderCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return googleDomainsDnsBuilder_;
     }
 
     private java.util.List glueRecords_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureGlueRecordsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        glueRecords_ = new java.util.ArrayList(glueRecords_);
+        glueRecords_ =
+            new java.util.ArrayList(
+                glueRecords_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.domains.v1.DnsSettings.GlueRecord, com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder> glueRecordsBuilder_;
+            com.google.cloud.domains.v1.DnsSettings.GlueRecord,
+            com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder,
+            com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder>
+        glueRecordsBuilder_;
 
     /**
+     *
+     *
      * 
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6890,6 +7810,8 @@ public java.util.List getGlu } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6904,6 +7826,8 @@ public int getGlueRecordsCount() { } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6918,6 +7842,8 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord getGlueRecords(int ind } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6939,6 +7865,8 @@ public Builder setGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6957,6 +7885,8 @@ public Builder setGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6977,6 +7907,8 @@ public Builder addGlueRecords(com.google.cloud.domains.v1.DnsSettings.GlueRecord return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6998,6 +7930,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7016,6 +7950,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7034,6 +7970,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7044,8 +7982,7 @@ public Builder addAllGlueRecords( java.lang.Iterable values) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, glueRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, glueRecords_); onChanged(); } else { glueRecordsBuilder_.addAllMessages(values); @@ -7053,6 +7990,8 @@ public Builder addAllGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7070,6 +8009,8 @@ public Builder clearGlueRecords() { return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7087,6 +8028,8 @@ public Builder removeGlueRecords(int index) { return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7098,6 +8041,8 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder getGlueRecords return getGlueRecordsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7107,19 +8052,22 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder getGlueRecords public com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder( int index) { if (glueRecordsBuilder_ == null) { - return glueRecords_.get(index); } else { + return glueRecords_.get(index); + } else { return glueRecordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsOrBuilderList() { + public java.util.List + getGlueRecordsOrBuilderList() { if (glueRecordsBuilder_ != null) { return glueRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -7127,6 +8075,8 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecord } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7134,10 +8084,12 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecord * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ public com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder() { - return getGlueRecordsFieldBuilder().addBuilder( - com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance()); + return getGlueRecordsFieldBuilder() + .addBuilder(com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance()); } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7146,37 +8098,43 @@ public com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder addGlueRecords */ public com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder( int index) { - return getGlueRecordsFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance()); + return getGlueRecordsFieldBuilder() + .addBuilder( + index, com.google.cloud.domains.v1.DnsSettings.GlueRecord.getDefaultInstance()); } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsBuilderList() { + public java.util.List + getGlueRecordsBuilderList() { return getGlueRecordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.GlueRecord, com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder> + com.google.cloud.domains.v1.DnsSettings.GlueRecord, + com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder, + com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder> getGlueRecordsFieldBuilder() { if (glueRecordsBuilder_ == null) { - glueRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.DnsSettings.GlueRecord, com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder>( - glueRecords_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + glueRecordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1.DnsSettings.GlueRecord, + com.google.cloud.domains.v1.DnsSettings.GlueRecord.Builder, + com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder>( + glueRecords_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); glueRecords_ = null; } return glueRecordsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7186,12 +8144,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.DnsSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.DnsSettings) private static final com.google.cloud.domains.v1.DnsSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.DnsSettings(); } @@ -7200,16 +8158,16 @@ public static com.google.cloud.domains.v1.DnsSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DnsSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DnsSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7224,6 +8182,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.DnsSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java index d647582e..8bc33daf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DnsSettingsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface DnsSettingsOrBuilder extends +public interface DnsSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.DnsSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; + * * @return Whether the customDns field is set. */ boolean hasCustomDns(); /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1.DnsSettings.CustomDns custom_dns = 1; + * * @return The customDns. */ com.google.cloud.domains.v1.DnsSettings.CustomDns getCustomDns(); /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -35,26 +59,34 @@ public interface DnsSettingsOrBuilder extends com.google.cloud.domains.v1.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder(); /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * * @return Whether the googleDomainsDns field is set. */ boolean hasGoogleDomainsDns(); /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * * @return The googleDomainsDns. */ com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDns getGoogleDomainsDns(); /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
@@ -65,15 +97,18 @@ public interface DnsSettingsOrBuilder extends
   com.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder();
 
   /**
+   *
+   *
    * 
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List - getGlueRecordsList(); + java.util.List getGlueRecordsList(); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -82,6 +117,8 @@ public interface DnsSettingsOrBuilder extends */ com.google.cloud.domains.v1.DnsSettings.GlueRecord getGlueRecords(int index); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -90,23 +127,26 @@ public interface DnsSettingsOrBuilder extends */ int getGlueRecordsCount(); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List + java.util.List getGlueRecordsOrBuilderList(); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; */ - com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder( - int index); + com.google.cloud.domains.v1.DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder(int index); public com.google.cloud.domains.v1.DnsSettings.DnsProviderCase getDnsProviderCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java index 99617a47..a1572c2f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainNotice.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Notices about special properties of certain domains.
  * 
* * Protobuf enum {@code google.cloud.domains.v1.DomainNotice} */ -public enum DomainNotice - implements com.google.protobuf.ProtocolMessageEnum { +public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The notice is undefined.
    * 
@@ -21,6 +39,8 @@ public enum DomainNotice */ DOMAIN_NOTICE_UNSPECIFIED(0), /** + * + * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -36,6 +56,8 @@ public enum DomainNotice
   ;
 
   /**
+   *
+   *
    * 
    * The notice is undefined.
    * 
@@ -44,6 +66,8 @@ public enum DomainNotice */ public static final int DOMAIN_NOTICE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -56,7 +80,6 @@ public enum DomainNotice
    */
   public static final int HSTS_PRELOADED_VALUE = 1;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -81,48 +104,47 @@ public static DomainNotice valueOf(int value) {
    */
   public static DomainNotice forNumber(int value) {
     switch (value) {
-      case 0: return DOMAIN_NOTICE_UNSPECIFIED;
-      case 1: return HSTS_PRELOADED;
-      default: return null;
+      case 0:
+        return DOMAIN_NOTICE_UNSPECIFIED;
+      case 1:
+        return HSTS_PRELOADED;
+      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<
-      DomainNotice> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DomainNotice findValueByNumber(int number) {
-            return DomainNotice.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 DomainNotice findValueByNumber(int number) {
+          return DomainNotice.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.domains.v1.DomainsProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final DomainNotice[] VALUES = values();
 
-  public static DomainNotice valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DomainNotice 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;
@@ -138,4 +160,3 @@ private DomainNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1.DomainNotice)
 }
-
diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java
new file mode 100644
index 00000000..89d2c3e1
--- /dev/null
+++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java
@@ -0,0 +1,793 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/domains/v1/domains.proto
+
+package com.google.cloud.domains.v1;
+
+public final class DomainsProto {
+  private DomainsProto() {}
+
+  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_domains_v1_Registration_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_Registration_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_ManagementSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_DnsSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_ContactSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_RegisterParameters_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_TransferParameters_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1_OperationMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1_OperationMetadata_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/domains/v1/domains.proto\022"
+          + "\027google.cloud.domains.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/longrunning/"
+          + "operations.proto\032 google/protobuf/field_"
+          + "mask.proto\032\037google/protobuf/timestamp.pr"
+          + "oto\032\027google/type/money.proto\032 google/typ"
+          + "e/postal_address.proto\"\353\010\n\014Registration\022"
+          + "\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain_name\030\002 \001(\tB"
+          + "\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\0132\032.google.pr"
+          + "otobuf.TimestampB\003\340A\003\0224\n\013expire_time\030\006 \001"
+          + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022?\n\005s"
+          + "tate\030\007 \001(\0162+.google.cloud.domains.v1.Reg"
+          + "istration.StateB\003\340A\003\022@\n\006issues\030\010 \003(\0162+.g"
+          + "oogle.cloud.domains.v1.Registration.Issu"
+          + "eB\003\340A\003\022A\n\006labels\030\t \003(\01321.google.cloud.do"
+          + "mains.v1.Registration.LabelsEntry\022H\n\023man"
+          + "agement_settings\030\n \001(\0132+.google.cloud.do"
+          + "mains.v1.ManagementSettings\022:\n\014dns_setti"
+          + "ngs\030\013 \001(\0132$.google.cloud.domains.v1.DnsS"
+          + "ettings\022G\n\020contact_settings\030\014 \001(\0132(.goog"
+          + "le.cloud.domains.v1.ContactSettingsB\003\340A\002"
+          + "\022O\n\030pending_contact_settings\030\r \001(\0132(.goo"
+          + "gle.cloud.domains.v1.ContactSettingsB\003\340A"
+          + "\003\022G\n\021supported_privacy\030\016 \003(\0162\'.google.cl"
+          + "oud.domains.v1.ContactPrivacyB\003\340A\003\032-\n\013La"
+          + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028"
+          + "\001\"\245\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\030\n\024RE"
+          + "GISTRATION_PENDING\020\001\022\027\n\023REGISTRATION_FAI"
+          + "LED\020\002\022\024\n\020TRANSFER_PENDING\020\003\022\023\n\017TRANSFER_"
+          + "FAILED\020\004\022\n\n\006ACTIVE\020\006\022\r\n\tSUSPENDED\020\007\022\014\n\010E"
+          + "XPORTED\020\010\"I\n\005Issue\022\025\n\021ISSUE_UNSPECIFIED\020"
+          + "\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVERIFIED_EMA"
+          + "IL\020\002:n\352Ak\n#domains.googleapis.com/Regist"
+          + "ration\022Dprojects/{project}/locations/{lo"
+          + "cation}/registrations/{registration}\"\221\002\n"
+          + "\022ManagementSettings\022V\n\016renewal_method\030\003 "
+          + "\001(\01629.google.cloud.domains.v1.Management"
+          + "Settings.RenewalMethodB\003\340A\003\022G\n\023transfer_"
+          + "lock_state\030\004 \001(\0162*.google.cloud.domains."
+          + "v1.TransferLockState\"Z\n\rRenewalMethod\022\036\n"
+          + "\032RENEWAL_METHOD_UNSPECIFIED\020\000\022\025\n\021AUTOMAT"
+          + "IC_RENEWAL\020\001\022\022\n\016MANUAL_RENEWAL\020\002\"\236\n\n\013Dns"
+          + "Settings\022D\n\ncustom_dns\030\001 \001(\0132..google.cl"
+          + "oud.domains.v1.DnsSettings.CustomDnsH\000\022S"
+          + "\n\022google_domains_dns\030\002 \001(\01325.google.clou"
+          + "d.domains.v1.DnsSettings.GoogleDomainsDn"
+          + "sH\000\022E\n\014glue_records\030\004 \003(\0132/.google.cloud"
+          + ".domains.v1.DnsSettings.GlueRecord\032i\n\tCu"
+          + "stomDns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\002\022A\n\nds"
+          + "_records\030\002 \003(\0132-.google.cloud.domains.v1"
+          + ".DnsSettings.DsRecord\032\272\001\n\020GoogleDomainsD"
+          + "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\003\022C\n\010ds_stat"
+          + "e\030\002 \001(\0162,.google.cloud.domains.v1.DnsSet"
+          + "tings.DsStateB\003\340A\002\022F\n\nds_records\030\003 \003(\0132-"
+          + ".google.cloud.domains.v1.DnsSettings.DsR"
+          + "ecordB\003\340A\003\032\303\004\n\010DsRecord\022\017\n\007key_tag\030\001 \001(\005"
+          + "\022J\n\talgorithm\030\002 \001(\01627.google.cloud.domai"
+          + "ns.v1.DnsSettings.DsRecord.Algorithm\022M\n\013"
+          + "digest_type\030\003 \001(\01628.google.cloud.domains"
+          + ".v1.DnsSettings.DsRecord.DigestType\022\016\n\006d"
+          + "igest\030\004 \001(\t\"\237\002\n\tAlgorithm\022\031\n\025ALGORITHM_U"
+          + "NSPECIFIED\020\000\022\n\n\006RSAMD5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020"
+          + "\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA1\020\005\022\020\n\014DSANSEC3SHA1\020"
+          + "\006\022\024\n\020RSASHA1NSEC3SHA1\020\007\022\r\n\tRSASHA256\020\010\022\r"
+          + "\n\tRSASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256S"
+          + "HA256\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020"
+          + "\017\022\t\n\005ED448\020\020\022\r\n\010INDIRECT\020\374\001\022\017\n\nPRIVATEDN"
+          + "S\020\375\001\022\017\n\nPRIVATEOID\020\376\001\"Y\n\nDigestType\022\033\n\027D"
+          + "IGEST_TYPE_UNSPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SH"
+          + "A256\020\002\022\014\n\010GOST3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlue"
+          + "Record\022\026\n\thost_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_a"
+          + "ddresses\030\002 \003(\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y"
+          + "\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED\020\000\022\032\n\026D"
+          + "S_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_RECORDS_PU"
+          + "BLISHED\020\002B\016\n\014dns_provider\"\313\003\n\017ContactSet"
+          + "tings\022=\n\007privacy\030\001 \001(\0162\'.google.cloud.do"
+          + "mains.v1.ContactPrivacyB\003\340A\002\022Q\n\022registra"
+          + "nt_contact\030\002 \001(\01320.google.cloud.domains."
+          + "v1.ContactSettings.ContactB\003\340A\002\022L\n\radmin"
+          + "_contact\030\003 \001(\01320.google.cloud.domains.v1"
+          + ".ContactSettings.ContactB\003\340A\002\022P\n\021technic"
+          + "al_contact\030\004 \001(\01320.google.cloud.domains."
+          + "v1.ContactSettings.ContactB\003\340A\002\032\205\001\n\007Cont"
+          + "act\0227\n\016postal_address\030\001 \001(\0132\032.google.typ"
+          + "e.PostalAddressB\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002"
+          + "\022\031\n\014phone_number\030\003 \001(\tB\003\340A\002\022\022\n\nfax_numbe"
+          + "r\030\004 \001(\t\"g\n\024SearchDomainsRequest\022\022\n\005query"
+          + "\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!l"
+          + "ocations.googleapis.com/Location\"a\n\025Sear"
+          + "chDomainsResponse\022H\n\023register_parameters"
+          + "\030\001 \003(\0132+.google.cloud.domains.v1.Registe"
+          + "rParameters\"z\n!RetrieveRegisterParameter"
+          + "sRequest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010lo"
+          + "cation\030\002 \001(\tB)\340A\002\372A#\n!locations.googleap"
+          + "is.com/Location\"n\n\"RetrieveRegisterParam"
+          + "etersResponse\022H\n\023register_parameters\030\001 \001"
+          + "(\0132+.google.cloud.domains.v1.RegisterPar"
+          + "ameters\"\332\002\n\025RegisterDomainRequest\0229\n\006par"
+          + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis."
+          + "com/Location\022@\n\014registration\030\002 \001(\0132%.goo"
+          + "gle.cloud.domains.v1.RegistrationB\003\340A\002\022="
+          + "\n\016domain_notices\030\003 \003(\0162%.google.cloud.do"
+          + "mains.v1.DomainNotice\022?\n\017contact_notices"
+          + "\030\004 \003(\0162&.google.cloud.domains.v1.Contact"
+          + "Notice\022-\n\014yearly_price\030\005 \001(\0132\022.google.ty"
+          + "pe.MoneyB\003\340A\002\022\025\n\rvalidate_only\030\006 \001(\010\"z\n!"
+          + "RetrieveTransferParametersRequest\022\030\n\013dom"
+          + "ain_name\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340"
+          + "A\002\372A#\n!locations.googleapis.com/Location"
+          + "\"n\n\"RetrieveTransferParametersResponse\022H"
+          + "\n\023transfer_parameters\030\001 \001(\0132+.google.clo"
+          + "ud.domains.v1.TransferParameters\"\343\002\n\025Tra"
+          + "nsferDomainRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372"
+          + "A#\n!locations.googleapis.com/Location\022@\n"
+          + "\014registration\030\002 \001(\0132%.google.cloud.domai"
+          + "ns.v1.RegistrationB\003\340A\002\022?\n\017contact_notic"
+          + "es\030\003 \003(\0162&.google.cloud.domains.v1.Conta"
+          + "ctNotice\022-\n\014yearly_price\030\004 \001(\0132\022.google."
+          + "type.MoneyB\003\340A\002\022F\n\022authorization_code\030\005 "
+          + "\001(\0132*.google.cloud.domains.v1.Authorizat"
+          + "ionCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030ListR"
+          + "egistrationsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002"
+          + "\372A#\n!locations.googleapis.com/Location\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\"r\n\031ListRegistrationsRespon"
+          + "se\022<\n\rregistrations\030\001 \003(\0132%.google.cloud"
+          + ".domains.v1.Registration\022\027\n\017next_page_to"
+          + "ken\030\002 \001(\t\"S\n\026GetRegistrationRequest\0229\n\004n"
+          + "ame\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.co"
+          + "m/Registration\"\216\001\n\031UpdateRegistrationReq"
+          + "uest\022;\n\014registration\030\001 \001(\0132%.google.clou"
+          + "d.domains.v1.Registration\0224\n\013update_mask"
+          + "\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\""
+          + "\347\001\n\"ConfigureManagementSettingsRequest\022A"
+          + "\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.go"
+          + "ogleapis.com/Registration\022H\n\023management_"
+          + "settings\030\002 \001(\0132+.google.cloud.domains.v1"
+          + ".ManagementSettings\0224\n\013update_mask\030\003 \001(\013"
+          + "2\032.google.protobuf.FieldMaskB\003\340A\002\"\351\001\n\033Co"
+          + "nfigureDnsSettingsRequest\022A\n\014registratio"
+          + "n\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com/"
+          + "Registration\022:\n\014dns_settings\030\002 \001(\0132$.goo"
+          + "gle.cloud.domains.v1.DnsSettings\0224\n\013upda"
+          + "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas"
+          + "kB\003\340A\002\022\025\n\rvalidate_only\030\004 \001(\010\"\266\002\n\037Config"
+          + "ureContactSettingsRequest\022A\n\014registratio"
+          + "n\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com/"
+          + "Registration\022B\n\020contact_settings\030\002 \001(\0132("
+          + ".google.cloud.domains.v1.ContactSettings"
+          + "\0224\n\013update_mask\030\003 \001(\0132\032.google.protobuf."
+          + "FieldMaskB\003\340A\002\022?\n\017contact_notices\030\004 \003(\0162"
+          + "&.google.cloud.domains.v1.ContactNotice\022"
+          + "\025\n\rvalidate_only\030\005 \001(\010\"V\n\031ExportRegistra"
+          + "tionRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domai"
+          + "ns.googleapis.com/Registration\"V\n\031Delete"
+          + "RegistrationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A"
+          + "%\n#domains.googleapis.com/Registration\"e"
+          + "\n RetrieveAuthorizationCodeRequest\022A\n\014re"
+          + "gistration\030\001 \001(\tB+\340A\002\372A%\n#domains.google"
+          + "apis.com/Registration\"b\n\035ResetAuthorizat"
+          + "ionCodeRequest\022A\n\014registration\030\001 \001(\tB+\340A"
+          + "\002\372A%\n#domains.googleapis.com/Registratio"
+          + "n\"\222\003\n\022RegisterParameters\022\023\n\013domain_name\030"
+          + "\001 \001(\t\022N\n\014availability\030\002 \001(\01628.google.clo"
+          + "ud.domains.v1.RegisterParameters.Availab"
+          + "ility\022B\n\021supported_privacy\030\003 \003(\0162\'.googl"
+          + "e.cloud.domains.v1.ContactPrivacy\022=\n\016dom"
+          + "ain_notices\030\004 \003(\0162%.google.cloud.domains"
+          + ".v1.DomainNotice\022(\n\014yearly_price\030\005 \001(\0132\022"
+          + ".google.type.Money\"j\n\014Availability\022\034\n\030AV"
+          + "AILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE\020\001\022"
+          + "\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007UNK"
+          + "NOWN\020\004\"\221\002\n\022TransferParameters\022\023\n\013domain_"
+          + "name\030\001 \001(\t\022\031\n\021current_registrar\030\002 \001(\t\022\024\n"
+          + "\014name_servers\030\003 \003(\t\022G\n\023transfer_lock_sta"
+          + "te\030\004 \001(\0162*.google.cloud.domains.v1.Trans"
+          + "ferLockState\022B\n\021supported_privacy\030\005 \003(\0162"
+          + "\'.google.cloud.domains.v1.ContactPrivacy"
+          + "\022(\n\014yearly_price\030\006 \001(\0132\022.google.type.Mon"
+          + "ey\"!\n\021AuthorizationCode\022\014\n\004code\030\001 \001(\t\"\274\001"
+          + "\n\021OperationMetadata\022/\n\013create_time\030\001 \001(\013"
+          + "2\032.google.protobuf.Timestamp\022,\n\010end_time"
+          + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006ta"
+          + "rget\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detai"
+          + "l\030\005 \001(\t\022\023\n\013api_version\030\006 \001(\t*\177\n\016ContactP"
+          + "rivacy\022\037\n\033CONTACT_PRIVACY_UNSPECIFIED\020\000\022"
+          + "\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVATE_CONT"
+          + "ACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DATA\020\003*A\n"
+          + "\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UNSPECIFI"
+          + "ED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rContactNotic"
+          + "e\022\036\n\032CONTACT_NOTICE_UNSPECIFIED\020\000\022\'\n#PUB"
+          + "LIC_CONTACT_DATA_ACKNOWLEDGEMENT\020\001*R\n\021Tr"
+          + "ansferLockState\022#\n\037TRANSFER_LOCK_STATE_U"
+          + "NSPECIFIED\020\000\022\014\n\010UNLOCKED\020\001\022\n\n\006LOCKED\020\0022\221"
+          + "\035\n\007Domains\022\312\001\n\rSearchDomains\022-.google.cl"
+          + "oud.domains.v1.SearchDomainsRequest\032..go"
+          + "ogle.cloud.domains.v1.SearchDomainsRespo"
+          + "nse\"Z\202\323\344\223\002C\022A/v1/{location=projects/*/lo"
+          + "cations/*}/registrations:searchDomains\332A"
+          + "\016location,query\022\204\002\n\032RetrieveRegisterPara"
+          + "meters\022:.google.cloud.domains.v1.Retriev"
+          + "eRegisterParametersRequest\032;.google.clou"
+          + "d.domains.v1.RetrieveRegisterParametersR"
+          + "esponse\"m\202\323\344\223\002P\022N/v1/{location=projects/"
+          + "*/locations/*}/registrations:retrieveReg"
+          + "isterParameters\332A\024location,domain_name\022\356"
+          + "\001\n\016RegisterDomain\022..google.cloud.domains"
+          + ".v1.RegisterDomainRequest\032\035.google.longr"
+          + "unning.Operation\"\214\001\202\323\344\223\002?\":/v1/{parent=p"
+          + "rojects/*/locations/*}/registrations:reg"
+          + "ister:\001*\332A parent,registration,yearly_pr"
+          + "ice\312A!\n\014Registration\022\021OperationMetadata\022"
+          + "\204\002\n\032RetrieveTransferParameters\022:.google."
+          + "cloud.domains.v1.RetrieveTransferParamet"
+          + "ersRequest\032;.google.cloud.domains.v1.Ret"
+          + "rieveTransferParametersResponse\"m\202\323\344\223\002P\022"
+          + "N/v1/{location=projects/*/locations/*}/r"
+          + "egistrations:retrieveTransferParameters\332"
+          + "A\024location,domain_name\022\201\002\n\016TransferDomai"
+          + "n\022..google.cloud.domains.v1.TransferDoma"
+          + "inRequest\032\035.google.longrunning.Operation"
+          + "\"\237\001\202\323\344\223\002?\":/v1/{parent=projects/*/locati"
+          + "ons/*}/registrations:transfer:\001*\332A3paren"
+          + "t,registration,yearly_price,authorizatio"
+          + "n_code\312A!\n\014Registration\022\021OperationMetada"
+          + "ta\022\276\001\n\021ListRegistrations\0221.google.cloud."
+          + "domains.v1.ListRegistrationsRequest\0322.go"
+          + "ogle.cloud.domains.v1.ListRegistrationsR"
+          + "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/"
+          + "locations/*}/registrations\332A\006parent\022\253\001\n\017"
+          + "GetRegistration\022/.google.cloud.domains.v"
+          + "1.GetRegistrationRequest\032%.google.cloud."
+          + "domains.v1.Registration\"@\202\323\344\223\0023\0221/v1/{na"
+          + "me=projects/*/locations/*/registrations/"
+          + "*}\332A\004name\022\375\001\n\022UpdateRegistration\0222.googl"
+          + "e.cloud.domains.v1.UpdateRegistrationReq"
+          + "uest\032\035.google.longrunning.Operation\"\223\001\202\323"
+          + "\344\223\002N2>/v1/{registration.name=projects/*/"
+          + "locations/*/registrations/*}:\014registrati"
+          + "on\332A\030registration,update_mask\312A!\n\014Regist"
+          + "ration\022\021OperationMetadata\022\257\002\n\033ConfigureM"
+          + "anagementSettings\022;.google.cloud.domains"
+          + ".v1.ConfigureManagementSettingsRequest\032\035"
+          + ".google.longrunning.Operation\"\263\001\202\323\344\223\002Z\"U"
+          + "/v1/{registration=projects/*/locations/*"
+          + "/registrations/*}:configureManagementSet"
+          + "tings:\001*\332A,registration,management_setti"
+          + "ngs,update_mask\312A!\n\014Registration\022\021Operat"
+          + "ionMetadata\022\223\002\n\024ConfigureDnsSettings\0224.g"
+          + "oogle.cloud.domains.v1.ConfigureDnsSetti"
+          + "ngsRequest\032\035.google.longrunning.Operatio"
+          + "n\"\245\001\202\323\344\223\002S\"N/v1/{registration=projects/*"
+          + "/locations/*/registrations/*}:configureD"
+          + "nsSettings:\001*\332A%registration,dns_setting"
+          + "s,update_mask\312A!\n\014Registration\022\021Operatio"
+          + "nMetadata\022\243\002\n\030ConfigureContactSettings\0228"
+          + ".google.cloud.domains.v1.ConfigureContac"
+          + "tSettingsRequest\032\035.google.longrunning.Op"
+          + "eration\"\255\001\202\323\344\223\002W\"R/v1/{registration=proj"
+          + "ects/*/locations/*/registrations/*}:conf"
+          + "igureContactSettings:\001*\332A)registration,c"
+          + "ontact_settings,update_mask\312A!\n\014Registra"
+          + "tion\022\021OperationMetadata\022\327\001\n\022ExportRegist"
+          + "ration\0222.google.cloud.domains.v1.ExportR"
+          + "egistrationRequest\032\035.google.longrunning."
+          + "Operation\"n\202\323\344\223\002=\"8/v1/{name=projects/*/"
+          + "locations/*/registrations/*}:export:\001*\332A"
+          + "\004name\312A!\n\014Registration\022\021OperationMetadat"
+          + "a\022\326\001\n\022DeleteRegistration\0222.google.cloud."
+          + "domains.v1.DeleteRegistrationRequest\032\035.g"
+          + "oogle.longrunning.Operation\"m\202\323\344\223\0023*1/v1"
+          + "/{name=projects/*/locations/*/registrati"
+          + "ons/*}\332A\004name\312A*\n\025google.protobuf.Empty\022"
+          + "\021OperationMetadata\022\356\001\n\031RetrieveAuthoriza"
+          + "tionCode\0229.google.cloud.domains.v1.Retri"
+          + "eveAuthorizationCodeRequest\032*.google.clo"
+          + "ud.domains.v1.AuthorizationCode\"j\202\323\344\223\002U\022"
+          + "S/v1/{registration=projects/*/locations/"
+          + "*/registrations/*}:retrieveAuthorization"
+          + "Code\332A\014registration\022\350\001\n\026ResetAuthorizati"
+          + "onCode\0226.google.cloud.domains.v1.ResetAu"
+          + "thorizationCodeRequest\032*.google.cloud.do"
+          + "mains.v1.AuthorizationCode\"j\202\323\344\223\002U\"P/v1/"
+          + "{registration=projects/*/locations/*/reg"
+          + "istrations/*}:resetAuthorizationCode:\001*\332"
+          + "A\014registration\032J\312A\026domains.googleapis.co"
+          + "m\322A.https://www.googleapis.com/auth/clou"
+          + "d-platformBm\n\033com.google.cloud.domains.v"
+          + "1B\014DomainsProtoP\001Z>google.golang.org/gen"
+          + "proto/googleapis/cloud/domains/v1;domain"
+          + "sb\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.longrunning.OperationsProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.type.MoneyProto.getDescriptor(),
+              com.google.type.PostalAddressProto.getDescriptor(),
+            });
+    internal_static_google_cloud_domains_v1_Registration_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_Registration_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "DomainName",
+              "CreateTime",
+              "ExpireTime",
+              "State",
+              "Issues",
+              "Labels",
+              "ManagementSettings",
+              "DnsSettings",
+              "ContactSettings",
+              "PendingContactSettings",
+              "SupportedPrivacy",
+            });
+    internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor =
+        internal_static_google_cloud_domains_v1_Registration_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1_Registration_LabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_cloud_domains_v1_ManagementSettings_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_ManagementSettings_descriptor,
+            new java.lang.String[] {
+              "RenewalMethod", "TransferLockState",
+            });
+    internal_static_google_cloud_domains_v1_DnsSettings_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_domains_v1_DnsSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_DnsSettings_descriptor,
+            new java.lang.String[] {
+              "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider",
+            });
+    internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor =
+        internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_DnsSettings_CustomDns_descriptor,
+            new java.lang.String[] {
+              "NameServers", "DsRecords",
+            });
+    internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor =
+        internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_DnsSettings_GoogleDomainsDns_descriptor,
+            new java.lang.String[] {
+              "NameServers", "DsState", "DsRecords",
+            });
+    internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor =
+        internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(2);
+    internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_DnsSettings_DsRecord_descriptor,
+            new java.lang.String[] {
+              "KeyTag", "Algorithm", "DigestType", "Digest",
+            });
+    internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor =
+        internal_static_google_cloud_domains_v1_DnsSettings_descriptor.getNestedTypes().get(3);
+    internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_DnsSettings_GlueRecord_descriptor,
+            new java.lang.String[] {
+              "HostName", "Ipv4Addresses", "Ipv6Addresses",
+            });
+    internal_static_google_cloud_domains_v1_ContactSettings_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_domains_v1_ContactSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_ContactSettings_descriptor,
+            new java.lang.String[] {
+              "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact",
+            });
+    internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor =
+        internal_static_google_cloud_domains_v1_ContactSettings_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1_ContactSettings_Contact_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_ContactSettings_Contact_descriptor,
+            new java.lang.String[] {
+              "PostalAddress", "Email", "PhoneNumber", "FaxNumber",
+            });
+    internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor,
+            new java.lang.String[] {
+              "Query", "Location",
+            });
+    internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor,
+            new java.lang.String[] {
+              "RegisterParameters",
+            });
+    internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor,
+            new java.lang.String[] {
+              "DomainName", "Location",
+            });
+    internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor,
+            new java.lang.String[] {
+              "RegisterParameters",
+            });
+    internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor,
+            new java.lang.String[] {
+              "Parent",
+              "Registration",
+              "DomainNotices",
+              "ContactNotices",
+              "YearlyPrice",
+              "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor,
+            new java.lang.String[] {
+              "DomainName", "Location",
+            });
+    internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor,
+            new java.lang.String[] {
+              "TransferParameters",
+            });
+    internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor,
+            new java.lang.String[] {
+              "Parent",
+              "Registration",
+              "ContactNotices",
+              "YearlyPrice",
+              "AuthorizationCode",
+              "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter",
+            });
+    internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor,
+            new java.lang.String[] {
+              "Registrations", "NextPageToken",
+            });
+    internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "UpdateMask",
+            });
+    internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_ConfigureManagementSettingsRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "ManagementSettings", "UpdateMask",
+            });
+    internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_ConfigureDnsSettingsRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "DnsSettings", "UpdateMask", "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_ConfigureContactSettingsRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_DeleteRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor =
+        getDescriptor().getMessageTypes().get(21);
+    internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor,
+            new java.lang.String[] {
+              "Registration",
+            });
+    internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor =
+        getDescriptor().getMessageTypes().get(22);
+    internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor,
+            new java.lang.String[] {
+              "Registration",
+            });
+    internal_static_google_cloud_domains_v1_RegisterParameters_descriptor =
+        getDescriptor().getMessageTypes().get(23);
+    internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_RegisterParameters_descriptor,
+            new java.lang.String[] {
+              "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice",
+            });
+    internal_static_google_cloud_domains_v1_TransferParameters_descriptor =
+        getDescriptor().getMessageTypes().get(24);
+    internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_TransferParameters_descriptor,
+            new java.lang.String[] {
+              "DomainName",
+              "CurrentRegistrar",
+              "NameServers",
+              "TransferLockState",
+              "SupportedPrivacy",
+              "YearlyPrice",
+            });
+    internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor =
+        getDescriptor().getMessageTypes().get(25);
+    internal_static_google_cloud_domains_v1_AuthorizationCode_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_AuthorizationCode_descriptor,
+            new java.lang.String[] {
+              "Code",
+            });
+    internal_static_google_cloud_domains_v1_OperationMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(26);
+    internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1_OperationMetadata_descriptor,
+            new java.lang.String[] {
+              "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.MoneyProto.getDescriptor();
+    com.google.type.PostalAddressProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java
similarity index 65%
rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java
rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java
index ba765d5b..d6e750ef 100644
--- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java
+++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1/domains.proto
 
 package com.google.cloud.domains.v1;
 
 /**
+ *
+ *
  * 
  * Request for the `ExportRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ExportRegistrationRequest} */ -public final class ExportRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ExportRegistrationRequest) ExportRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportRegistrationRequest.newBuilder() to construct. private ExportRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExportRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ExportRegistrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ExportRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ExportRegistrationRequest.class, com.google.cloud.domains.v1.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.ExportRegistrationRequest.class, + com.google.cloud.domains.v1.ExportRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.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 @@ -110,30 +135,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 `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.domains.v1.ExportRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ExportRegistrationRequest other = (com.google.cloud.domains.v1.ExportRegistrationRequest) obj; + com.google.cloud.domains.v1.ExportRegistrationRequest other = + (com.google.cloud.domains.v1.ExportRegistrationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ExportRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ExportRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.ExportRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.ExportRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ExportRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ExportRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ExportRegistrationRequest) com.google.cloud.domains.v1.ExportRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ExportRegistrationRequest.class, com.google.cloud.domains.v1.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.ExportRegistrationRequest.class, + com.google.cloud.domains.v1.ExportRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ExportRegistrationRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ExportRegistrationRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.domains.v1.ExportRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ExportRegistrationRequest buildPartial() { - com.google.cloud.domains.v1.ExportRegistrationRequest result = new com.google.cloud.domains.v1.ExportRegistrationRequest(this); + com.google.cloud.domains.v1.ExportRegistrationRequest result = + new com.google.cloud.domains.v1.ExportRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.domains.v1.ExportRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ExportRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1.ExportRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1.ExportRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ExportRegistrationRequest other) { - if (other == com.google.cloud.domains.v1.ExportRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.ExportRegistrationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.ExportRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.ExportRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ExportRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ExportRegistrationRequest) private static final com.google.cloud.domains.v1.ExportRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ExportRegistrationRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.domains.v1.ExportRegistrationRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1.ExportRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..329fc841 --- /dev/null +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ExportRegistrationRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1/domains.proto + +package com.google.cloud.domains.v1; + +public interface ExportRegistrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ExportRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java index 6d5e1195..c9412432 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `GetRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.GetRegistrationRequest} */ -public final class GetRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.GetRegistrationRequest) GetRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRegistrationRequest.newBuilder() to construct. private GetRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRegistrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.GetRegistrationRequest.class, com.google.cloud.domains.v1.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.GetRegistrationRequest.class, + com.google.cloud.domains.v1.GetRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.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 @@ -110,30 +135,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 `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.domains.v1.GetRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.GetRegistrationRequest other = (com.google.cloud.domains.v1.GetRegistrationRequest) obj; + com.google.cloud.domains.v1.GetRegistrationRequest other = + (com.google.cloud.domains.v1.GetRegistrationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.GetRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.GetRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.GetRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.GetRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.GetRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `GetRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.GetRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.GetRegistrationRequest) com.google.cloud.domains.v1.GetRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.GetRegistrationRequest.class, com.google.cloud.domains.v1.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.GetRegistrationRequest.class, + com.google.cloud.domains.v1.GetRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.GetRegistrationRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_GetRegistrationRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.domains.v1.GetRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1.GetRegistrationRequest buildPartial() { - com.google.cloud.domains.v1.GetRegistrationRequest result = new com.google.cloud.domains.v1.GetRegistrationRequest(this); + com.google.cloud.domains.v1.GetRegistrationRequest result = + new com.google.cloud.domains.v1.GetRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.domains.v1.GetRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.GetRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1.GetRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1.GetRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.GetRegistrationRequest other) { - if (other == com.google.cloud.domains.v1.GetRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.GetRegistrationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.GetRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.GetRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.GetRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.GetRegistrationRequest) private static final com.google.cloud.domains.v1.GetRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.GetRegistrationRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.domains.v1.GetRegistrationRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.GetRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..f71746ab --- /dev/null +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/GetRegistrationRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1/domains.proto + +package com.google.cloud.domains.v1; + +public interface GetRegistrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.GetRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java index f501f6af..db8b9609 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ListRegistrationsRequest} */ -public final class ListRegistrationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRegistrationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ListRegistrationsRequest) ListRegistrationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRegistrationsRequest.newBuilder() to construct. private ListRegistrationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRegistrationsRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListRegistrationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRegistrationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRegistrationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListRegistrationsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListRegistrationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ListRegistrationsRequest.class, com.google.cloud.domains.v1.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1.ListRegistrationsRequest.class, + com.google.cloud.domains.v1.ListRegistrationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 @@ -129,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 { @@ -163,11 +192,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -178,12 +210,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -192,30 +227,30 @@ 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; } } /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * 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 { @@ -226,6 +261,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -243,6 +280,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -251,14 +289,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -276,16 +315,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -294,6 +332,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,8 +344,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -332,8 +370,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_); @@ -349,21 +386,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.domains.v1.ListRegistrationsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ListRegistrationsRequest other = (com.google.cloud.domains.v1.ListRegistrationsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.domains.v1.ListRegistrationsRequest other = + (com.google.cloud.domains.v1.ListRegistrationsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -389,117 +423,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ListRegistrationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ListRegistrationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.ListRegistrationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ListRegistrationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ListRegistrationsRequest) com.google.cloud.domains.v1.ListRegistrationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ListRegistrationsRequest.class, com.google.cloud.domains.v1.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1.ListRegistrationsRequest.class, + com.google.cloud.domains.v1.ListRegistrationsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ListRegistrationsRequest.newBuilder() @@ -507,16 +550,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +574,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ListRegistrationsRequest_descriptor; } @java.lang.Override @@ -553,7 +595,8 @@ public com.google.cloud.domains.v1.ListRegistrationsRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ListRegistrationsRequest buildPartial() { - com.google.cloud.domains.v1.ListRegistrationsRequest result = new com.google.cloud.domains.v1.ListRegistrationsRequest(this); + com.google.cloud.domains.v1.ListRegistrationsRequest result = + new com.google.cloud.domains.v1.ListRegistrationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -566,38 +609,39 @@ public com.google.cloud.domains.v1.ListRegistrationsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ListRegistrationsRequest) { - return mergeFrom((com.google.cloud.domains.v1.ListRegistrationsRequest)other); + return mergeFrom((com.google.cloud.domains.v1.ListRegistrationsRequest) other); } else { super.mergeFrom(other); return this; @@ -605,7 +649,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ListRegistrationsRequest other) { - if (other == com.google.cloud.domains.v1.ListRegistrationsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.ListRegistrationsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -640,7 +685,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.ListRegistrationsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.ListRegistrationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -652,19 +698,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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; @@ -673,21 +723,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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 { @@ -695,69 +748,85 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -765,30 +834,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -796,19 +871,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * 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; @@ -817,21 +894,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -839,57 +917,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -897,6 +982,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -914,13 +1001,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -929,6 +1016,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -946,15 +1035,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -962,6 +1050,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -979,20 +1069,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1010,15 +1102,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1036,23 +1131,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1062,12 +1157,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ListRegistrationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ListRegistrationsRequest) private static final com.google.cloud.domains.v1.ListRegistrationsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ListRegistrationsRequest(); } @@ -1076,16 +1171,16 @@ public static com.google.cloud.domains.v1.ListRegistrationsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1100,6 +1195,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.ListRegistrationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java index e17ba7c0..a0430dee 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsRequestOrBuilder.java @@ -1,67 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ListRegistrationsRequestOrBuilder extends +public interface ListRegistrationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ListRegistrationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 project and location from which to list `Registration`s, specified in
    * the format `projects/*/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(); /** + * + * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -79,10 +114,13 @@ public interface ListRegistrationsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -100,8 +138,8 @@ public interface ListRegistrationsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java index ee367fa5..b0c1b920 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Response for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ListRegistrationsResponse} */ -public final class ListRegistrationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRegistrationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ListRegistrationsResponse) ListRegistrationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRegistrationsResponse.newBuilder() to construct. private ListRegistrationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRegistrationsResponse() { registrations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRegistrationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRegistrationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRegistrationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListRegistrationsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registrations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registrations_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + registrations_.add( + input.readMessage( + com.google.cloud.domains.v1.Registration.parser(), extensionRegistry)); + break; } - registrations_.add( - input.readMessage(com.google.cloud.domains.v1.Registration.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListRegistrationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registrations_ = java.util.Collections.unmodifiableList(registrations_); @@ -94,22 +114,27 @@ private ListRegistrationsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ListRegistrationsResponse.class, com.google.cloud.domains.v1.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1.ListRegistrationsResponse.class, + com.google.cloud.domains.v1.ListRegistrationsResponse.Builder.class); } public static final int REGISTRATIONS_FIELD_NUMBER = 1; private java.util.List registrations_; /** + * + * *
    * A list of `Registration`s.
    * 
@@ -121,6 +146,8 @@ public java.util.List getRegistrations return registrations_; } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -128,11 +155,13 @@ public java.util.List getRegistrations * repeated .google.cloud.domains.v1.Registration registrations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegistrationsOrBuilderList() { return registrations_; } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -144,6 +173,8 @@ public int getRegistrationsCount() { return registrations_.size(); } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -155,6 +186,8 @@ public com.google.cloud.domains.v1.Registration getRegistrations(int index) { return registrations_.get(index); } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -162,20 +195,22 @@ public com.google.cloud.domains.v1.Registration getRegistrations(int index) { * repeated .google.cloud.domains.v1.Registration registrations = 1; */ @java.lang.Override - public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder( - int index) { + public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder(int index) { return registrations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,30 @@ 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; } } /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * 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 { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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 < registrations_.size(); i++) { output.writeMessage(1, registrations_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registrations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, registrations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, registrations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.domains.v1.ListRegistrationsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1.ListRegistrationsResponse other = (com.google.cloud.domains.v1.ListRegistrationsResponse) obj; + com.google.cloud.domains.v1.ListRegistrationsResponse other = + (com.google.cloud.domains.v1.ListRegistrationsResponse) obj; - if (!getRegistrationsList() - .equals(other.getRegistrationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRegistrationsList().equals(other.getRegistrationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ListRegistrationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ListRegistrationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.ListRegistrationsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.ListRegistrationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ListRegistrationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ListRegistrationsResponse) com.google.cloud.domains.v1.ListRegistrationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ListRegistrationsResponse.class, com.google.cloud.domains.v1.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1.ListRegistrationsResponse.class, + com.google.cloud.domains.v1.ListRegistrationsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1.ListRegistrationsResponse.newBuilder() @@ -411,17 +454,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRegistrationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ListRegistrationsResponse_descriptor; } @java.lang.Override @@ -458,7 +501,8 @@ public com.google.cloud.domains.v1.ListRegistrationsResponse build() { @java.lang.Override public com.google.cloud.domains.v1.ListRegistrationsResponse buildPartial() { - com.google.cloud.domains.v1.ListRegistrationsResponse result = new com.google.cloud.domains.v1.ListRegistrationsResponse(this); + com.google.cloud.domains.v1.ListRegistrationsResponse result = + new com.google.cloud.domains.v1.ListRegistrationsResponse(this); int from_bitField0_ = bitField0_; if (registrationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +522,39 @@ public com.google.cloud.domains.v1.ListRegistrationsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ListRegistrationsResponse) { - return mergeFrom((com.google.cloud.domains.v1.ListRegistrationsResponse)other); + return mergeFrom((com.google.cloud.domains.v1.ListRegistrationsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ListRegistrationsResponse other) { - if (other == com.google.cloud.domains.v1.ListRegistrationsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.ListRegistrationsResponse.getDefaultInstance()) + return this; if (registrationsBuilder_ == null) { if (!other.registrations_.isEmpty()) { if (registrations_.isEmpty()) { @@ -536,9 +582,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1.ListRegistrationsResponse o registrationsBuilder_ = null; registrations_ = other.registrations_; bitField0_ = (bitField0_ & ~0x00000001); - registrationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRegistrationsFieldBuilder() : null; + registrationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRegistrationsFieldBuilder() + : null; } else { registrationsBuilder_.addAllMessages(other.registrations_); } @@ -567,7 +614,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.ListRegistrationsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.ListRegistrationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +624,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List registrations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRegistrationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registrations_ = new java.util.ArrayList(registrations_); + registrations_ = + new java.util.ArrayList(registrations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> registrationsBuilder_; + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder> + registrationsBuilder_; /** + * + * *
      * A list of `Registration`s.
      * 
@@ -605,6 +661,8 @@ public java.util.List getRegistrations } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -619,6 +677,8 @@ public int getRegistrationsCount() { } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -633,14 +693,15 @@ public com.google.cloud.domains.v1.Registration getRegistrations(int index) { } } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public Builder setRegistrations( - int index, com.google.cloud.domains.v1.Registration value) { + public Builder setRegistrations(int index, com.google.cloud.domains.v1.Registration value) { if (registrationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +715,8 @@ public Builder setRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -672,6 +735,8 @@ public Builder setRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -692,14 +757,15 @@ public Builder addRegistrations(com.google.cloud.domains.v1.Registration value) return this; } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public Builder addRegistrations( - int index, com.google.cloud.domains.v1.Registration value) { + public Builder addRegistrations(int index, com.google.cloud.domains.v1.Registration value) { if (registrationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +779,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -731,6 +799,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -749,6 +819,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -759,8 +831,7 @@ public Builder addAllRegistrations( java.lang.Iterable values) { if (registrationsBuilder_ == null) { ensureRegistrationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, registrations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registrations_); onChanged(); } else { registrationsBuilder_.addAllMessages(values); @@ -768,6 +839,8 @@ public Builder addAllRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -785,6 +858,8 @@ public Builder clearRegistrations() { return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -802,39 +877,44 @@ public Builder removeRegistrations(int index) { return this; } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public com.google.cloud.domains.v1.Registration.Builder getRegistrationsBuilder( - int index) { + public com.google.cloud.domains.v1.Registration.Builder getRegistrationsBuilder(int index) { return getRegistrationsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder( - int index) { + public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder(int index) { if (registrationsBuilder_ == null) { - return registrations_.get(index); } else { + return registrations_.get(index); + } else { return registrationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public java.util.List - getRegistrationsOrBuilderList() { + public java.util.List + getRegistrationsOrBuilderList() { if (registrationsBuilder_ != null) { return registrationsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +922,8 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuild } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -849,38 +931,47 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuild * repeated .google.cloud.domains.v1.Registration registrations = 1; */ public com.google.cloud.domains.v1.Registration.Builder addRegistrationsBuilder() { - return getRegistrationsFieldBuilder().addBuilder( - com.google.cloud.domains.v1.Registration.getDefaultInstance()); + return getRegistrationsFieldBuilder() + .addBuilder(com.google.cloud.domains.v1.Registration.getDefaultInstance()); } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public com.google.cloud.domains.v1.Registration.Builder addRegistrationsBuilder( - int index) { - return getRegistrationsFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1.Registration.getDefaultInstance()); + public com.google.cloud.domains.v1.Registration.Builder addRegistrationsBuilder(int index) { + return getRegistrationsFieldBuilder() + .addBuilder(index, com.google.cloud.domains.v1.Registration.getDefaultInstance()); } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - public java.util.List - getRegistrationsBuilderList() { + public java.util.List + getRegistrationsBuilderList() { return getRegistrationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder> getRegistrationsFieldBuilder() { if (registrationsBuilder_ == null) { - registrationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder>( + registrationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder>( registrations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +983,21 @@ public com.google.cloud.domains.v1.Registration.Builder addRegistrationsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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; @@ -913,21 +1006,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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 { @@ -935,64 +1029,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ListRegistrationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ListRegistrationsResponse) private static final com.google.cloud.domains.v1.ListRegistrationsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ListRegistrationsResponse(); } @@ -1016,16 +1117,16 @@ public static com.google.cloud.domains.v1.ListRegistrationsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1141,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1.ListRegistrationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java index da74868d..275106fe 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ListRegistrationsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ListRegistrationsResponseOrBuilder extends +public interface ListRegistrationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ListRegistrationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - java.util.List - getRegistrationsList(); + java.util.List getRegistrationsList(); /** + * + * *
    * A list of `Registration`s.
    * 
@@ -25,6 +44,8 @@ public interface ListRegistrationsResponseOrBuilder extends */ com.google.cloud.domains.v1.Registration getRegistrations(int index); /** + * + * *
    * A list of `Registration`s.
    * 
@@ -33,43 +54,51 @@ public interface ListRegistrationsResponseOrBuilder extends */ int getRegistrationsCount(); /** + * + * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - java.util.List + java.util.List getRegistrationsOrBuilderList(); /** + * + * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1.Registration registrations = 1; */ - com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder( - int index); + com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationsOrBuilder(int index); /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/LocationName.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/LocationName.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java index c084884f..26e6735f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettings.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Defines renewal, billing, and transfer settings for a `Registration`.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ManagementSettings} */ -public final class ManagementSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ManagementSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ManagementSettings) ManagementSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ManagementSettings.newBuilder() to construct. private ManagementSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ManagementSettings() { renewalMethod_ = 0; transferLockState_ = 0; @@ -26,16 +44,15 @@ private ManagementSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ManagementSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ManagementSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ManagementSettings( case 0: done = true; break; - case 24: { - int rawValue = input.readEnum(); + case 24: + { + int rawValue = input.readEnum(); - renewalMethod_ = rawValue; - break; - } - case 32: { - int rawValue = input.readEnum(); + renewalMethod_ = rawValue; + break; + } + case 32: + { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + transferLockState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ManagementSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ManagementSettings.class, com.google.cloud.domains.v1.ManagementSettings.Builder.class); + com.google.cloud.domains.v1.ManagementSettings.class, + com.google.cloud.domains.v1.ManagementSettings.Builder.class); } /** + * + * *
    * Defines how the `Registration` is renewed.
    * 
* * Protobuf enum {@code google.cloud.domains.v1.ManagementSettings.RenewalMethod} */ - public enum RenewalMethod - implements com.google.protobuf.ProtocolMessageEnum { + public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The renewal method is undefined.
      * 
@@ -118,6 +142,8 @@ public enum RenewalMethod */ RENEWAL_METHOD_UNSPECIFIED(0), /** + * + * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -128,6 +154,8 @@ public enum RenewalMethod
      */
     AUTOMATIC_RENEWAL(1),
     /**
+     *
+     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -143,6 +171,8 @@ public enum RenewalMethod
     ;
 
     /**
+     *
+     *
      * 
      * The renewal method is undefined.
      * 
@@ -151,6 +181,8 @@ public enum RenewalMethod */ public static final int RENEWAL_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -161,6 +193,8 @@ public enum RenewalMethod
      */
     public static final int AUTOMATIC_RENEWAL_VALUE = 1;
     /**
+     *
+     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -173,7 +207,6 @@ public enum RenewalMethod
      */
     public static final int MANUAL_RENEWAL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -198,49 +231,49 @@ public static RenewalMethod valueOf(int value) {
      */
     public static RenewalMethod forNumber(int value) {
       switch (value) {
-        case 0: return RENEWAL_METHOD_UNSPECIFIED;
-        case 1: return AUTOMATIC_RENEWAL;
-        case 2: return MANUAL_RENEWAL;
-        default: return null;
+        case 0:
+          return RENEWAL_METHOD_UNSPECIFIED;
+        case 1:
+          return AUTOMATIC_RENEWAL;
+        case 2:
+          return MANUAL_RENEWAL;
+        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<
-        RenewalMethod> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RenewalMethod findValueByNumber(int number) {
-              return RenewalMethod.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 RenewalMethod findValueByNumber(int number) {
+            return RenewalMethod.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.domains.v1.ManagementSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final RenewalMethod[] VALUES = values();
 
-    public static RenewalMethod valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RenewalMethod 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;
@@ -260,58 +293,83 @@ private RenewalMethod(int value) {
   public static final int RENEWAL_METHOD_FIELD_NUMBER = 3;
   private int renewalMethod_;
   /**
+   *
+   *
    * 
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override public int getRenewalMethodValue() { + @java.lang.Override + public int getRenewalMethodValue() { return renewalMethod_; } /** + * + * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renewalMethod. */ - @java.lang.Override public com.google.cloud.domains.v1.ManagementSettings.RenewalMethod getRenewalMethod() { + @java.lang.Override + public com.google.cloud.domains.v1.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null ? com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; + com.google.cloud.domains.v1.ManagementSettings.RenewalMethod result = + com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null + ? com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.UNRECOGNIZED + : result; } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ - @java.lang.Override public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { + @java.lang.Override + public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.TransferLockState result = com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); + com.google.cloud.domains.v1.TransferLockState result = + com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); return result == null ? com.google.cloud.domains.v1.TransferLockState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,12 +381,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (renewalMethod_ != com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (renewalMethod_ + != com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(3, renewalMethod_); } - if (transferLockState_ != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + if (transferLockState_ + != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, transferLockState_); } unknownFields.writeTo(output); @@ -340,13 +401,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (renewalMethod_ != com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, renewalMethod_); + if (renewalMethod_ + != com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, renewalMethod_); } - if (transferLockState_ != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, transferLockState_); + if (transferLockState_ + != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -356,12 +419,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.domains.v1.ManagementSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1.ManagementSettings other = (com.google.cloud.domains.v1.ManagementSettings) obj; + com.google.cloud.domains.v1.ManagementSettings other = + (com.google.cloud.domains.v1.ManagementSettings) obj; if (renewalMethod_ != other.renewalMethod_) return false; if (transferLockState_ != other.transferLockState_) return false; @@ -385,118 +449,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.ManagementSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.ManagementSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ManagementSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ManagementSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ManagementSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ManagementSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ManagementSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ManagementSettings parseFrom(java.io.InputStream input) 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.domains.v1.ManagementSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ManagementSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ManagementSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ManagementSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.ManagementSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ManagementSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.ManagementSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines renewal, billing, and transfer settings for a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ManagementSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ManagementSettings) com.google.cloud.domains.v1.ManagementSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ManagementSettings.class, com.google.cloud.domains.v1.ManagementSettings.Builder.class); + com.google.cloud.domains.v1.ManagementSettings.class, + com.google.cloud.domains.v1.ManagementSettings.Builder.class); } // Construct using com.google.cloud.domains.v1.ManagementSettings.newBuilder() @@ -504,16 +577,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -525,9 +597,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ManagementSettings_descriptor; } @java.lang.Override @@ -546,7 +618,8 @@ public com.google.cloud.domains.v1.ManagementSettings build() { @java.lang.Override public com.google.cloud.domains.v1.ManagementSettings buildPartial() { - com.google.cloud.domains.v1.ManagementSettings result = new com.google.cloud.domains.v1.ManagementSettings(this); + com.google.cloud.domains.v1.ManagementSettings result = + new com.google.cloud.domains.v1.ManagementSettings(this); result.renewalMethod_ = renewalMethod_; result.transferLockState_ = transferLockState_; onBuilt(); @@ -557,38 +630,39 @@ public com.google.cloud.domains.v1.ManagementSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ManagementSettings) { - return mergeFrom((com.google.cloud.domains.v1.ManagementSettings)other); + return mergeFrom((com.google.cloud.domains.v1.ManagementSettings) other); } else { super.mergeFrom(other); return this; @@ -634,73 +708,103 @@ public Builder mergeFrom( private int renewalMethod_ = 0; /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override public int getRenewalMethodValue() { + @java.lang.Override + public int getRenewalMethodValue() { return renewalMethod_; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for renewalMethod to set. * @return This builder for chaining. */ public Builder setRenewalMethodValue(int value) { - + renewalMethod_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renewalMethod. */ @java.lang.Override public com.google.cloud.domains.v1.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null ? com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; + com.google.cloud.domains.v1.ManagementSettings.RenewalMethod result = + com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null + ? com.google.cloud.domains.v1.ManagementSettings.RenewalMethod.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The renewalMethod to set. * @return This builder for chaining. */ - public Builder setRenewalMethod(com.google.cloud.domains.v1.ManagementSettings.RenewalMethod value) { + public Builder setRenewalMethod( + com.google.cloud.domains.v1.ManagementSettings.RenewalMethod value) { if (value == null) { throw new NullPointerException(); } - + renewalMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRenewalMethod() { - + renewalMethod_ = 0; onChanged(); return this; @@ -708,51 +812,65 @@ public Builder clearRenewalMethod() { private int transferLockState_ = 0; /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.TransferLockState result = com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); + com.google.cloud.domains.v1.TransferLockState result = + com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); return result == null ? com.google.cloud.domains.v1.TransferLockState.UNRECOGNIZED : result; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -760,28 +878,31 @@ public Builder setTransferLockState(com.google.cloud.domains.v1.TransferLockStat if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -791,12 +912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ManagementSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ManagementSettings) private static final com.google.cloud.domains.v1.ManagementSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ManagementSettings(); } @@ -805,16 +926,16 @@ public static com.google.cloud.domains.v1.ManagementSettings getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagementSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ManagementSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagementSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ManagementSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,6 +950,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.ManagementSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java index 4c53fba9..dedec311 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ManagementSettingsOrBuilder.java @@ -1,46 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface ManagementSettingsOrBuilder extends +public interface ManagementSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ManagementSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renewalMethod. */ int getRenewalMethodValue(); /** + * + * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renewalMethod. */ com.google.cloud.domains.v1.ManagementSettings.RenewalMethod getRenewalMethod(); /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ com.google.cloud.domains.v1.TransferLockState getTransferLockState(); diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java index 20128cb7..9e45a41d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Represents the metadata of the long-running operation. Output only.
  * 
* * Protobuf type {@code google.cloud.domains.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.domains.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,16 +46,15 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,63 +73,71 @@ private OperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + target_ = s; + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + verb_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - statusDetail_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + statusDetail_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,34 +145,39 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.OperationMetadata.class, com.google.cloud.domains.v1.OperationMetadata.Builder.class); + com.google.cloud.domains.v1.OperationMetadata.class, + com.google.cloud.domains.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -155,11 +185,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -167,6 +200,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -181,11 +216,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -193,11 +231,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -205,6 +246,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -219,11 +262,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ @java.lang.Override @@ -232,29 +278,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; } } /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @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 { @@ -265,11 +311,14 @@ public java.lang.String getTarget() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ @java.lang.Override @@ -278,29 +327,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; } } /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @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 { @@ -311,11 +360,14 @@ public java.lang.String getVerb() { public static final int STATUS_DETAIL_FIELD_NUMBER = 5; private volatile java.lang.Object statusDetail_; /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ @java.lang.Override @@ -324,29 +376,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -357,11 +409,14 @@ public java.lang.String getStatusDetail() { public static final int API_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object apiVersion_; /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @return The apiVersion. */ @java.lang.Override @@ -370,29 +425,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; } } /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @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 { @@ -401,6 +456,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -412,8 +468,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -442,12 +497,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_); @@ -469,31 +522,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.domains.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.domains.v1.OperationMetadata other = (com.google.cloud.domains.v1.OperationMetadata) obj; + com.google.cloud.domains.v1.OperationMetadata other = + (com.google.cloud.domains.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 (!getStatusDetail() - .equals(other.getStatusDetail())) 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 (!getStatusDetail().equals(other.getStatusDetail())) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -526,118 +574,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.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.domains.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.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.domains.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.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.domains.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.domains.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.domains.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.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.domains.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.domains.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.domains.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. Output only.
    * 
* * Protobuf type {@code google.cloud.domains.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.domains.v1.OperationMetadata) com.google.cloud.domains.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.OperationMetadata.class, com.google.cloud.domains.v1.OperationMetadata.Builder.class); + com.google.cloud.domains.v1.OperationMetadata.class, + com.google.cloud.domains.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.domains.v1.OperationMetadata.newBuilder() @@ -645,16 +702,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -682,9 +738,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -703,7 +759,8 @@ public com.google.cloud.domains.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.domains.v1.OperationMetadata buildPartial() { - com.google.cloud.domains.v1.OperationMetadata result = new com.google.cloud.domains.v1.OperationMetadata(this); + com.google.cloud.domains.v1.OperationMetadata result = + new com.google.cloud.domains.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -726,38 +783,39 @@ public com.google.cloud.domains.v1.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.domains.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.domains.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -819,34 +877,47 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time the operation was created.
      * 
@@ -867,14 +938,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -885,6 +957,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -895,7 +969,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -907,6 +981,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -925,6 +1001,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -932,11 +1010,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation was created.
      * 
@@ -947,11 +1027,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time the operation was created.
      * 
@@ -959,14 +1042,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -974,24 +1060,33 @@ 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_; /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1002,6 +1097,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1022,14 +1119,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1040,6 +1138,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1050,7 +1150,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1062,6 +1162,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1080,6 +1182,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1087,11 +1191,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1102,11 +1208,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1114,14 +1221,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1129,18 +1239,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @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; @@ -1149,20 +1261,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @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 { @@ -1170,54 +1283,61 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { + public Builder setTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1225,18 +1345,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @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; @@ -1245,20 +1367,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @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 { @@ -1266,54 +1389,61 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { + public Builder setVerb(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { + public Builder setVerbBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1321,18 +1451,20 @@ public Builder setVerbBytes( private java.lang.Object statusDetail_ = ""; /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1341,20 +1473,21 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1362,54 +1495,61 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail( - java.lang.String value) { + public Builder setStatusDetail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return This builder for chaining. */ public Builder clearStatusDetail() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes( - com.google.protobuf.ByteString value) { + public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; @@ -1417,18 +1557,20 @@ public Builder setStatusDetailBytes( private java.lang.Object apiVersion_ = ""; /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @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; @@ -1437,20 +1579,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @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 { @@ -1458,61 +1601,68 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { + public Builder setApiVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1522,12 +1672,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.OperationMetadata) private static final com.google.cloud.domains.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.OperationMetadata(); } @@ -1536,16 +1686,16 @@ public static com.google.cloud.domains.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1560,6 +1710,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java index 7e5fc940..4ffc7a89 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/OperationMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
@@ -35,24 +59,32 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
@@ -62,82 +94,102 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString - getStatusDetailBytes(); + com.google.protobuf.ByteString getStatusDetailBytes(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java index b067afda..7de9c552 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `RegisterDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RegisterDomainRequest} */ -public final class RegisterDomainRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RegisterDomainRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RegisterDomainRequest) RegisterDomainRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RegisterDomainRequest.newBuilder() to construct. private RegisterDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RegisterDomainRequest() { parent_ = ""; domainNotices_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private RegisterDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RegisterDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RegisterDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,96 +73,105 @@ private RegisterDomainRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = input.readMessage(com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = + input.readMessage( + com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - domainNotices_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } domainNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 32: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + domainNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - contactNotices_.add(rawValue); - break; - } - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } contactNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 42: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + contactNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 42: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } - break; - } - case 48: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 48: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -153,8 +179,7 @@ private RegisterDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = java.util.Collections.unmodifiableList(domainNotices_); @@ -166,28 +191,36 @@ private RegisterDomainRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RegisterDomainRequest.class, com.google.cloud.domains.v1.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1.RegisterDomainRequest.class, + com.google.cloud.domains.v1.RegisterDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -196,30 +229,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -230,11 +265,16 @@ public java.lang.String getParent() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.Registration registration_; /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ @java.lang.Override @@ -242,23 +282,34 @@ public boolean hasRegistration() { return registration_ != null; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1.Registration getRegistration() { - return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1.Registration.getDefaultInstance() + : registration_; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -268,36 +319,47 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde public static final int DOMAIN_NOTICES_FIELD_NUMBER = 3; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice> domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice> + domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>() { public com.google.cloud.domains.v1.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DomainNotice result = com.google.cloud.domains.v1.DomainNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1.DomainNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1.DomainNotice result = + com.google.cloud.domains.v1.DomainNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1.DomainNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @return The count of domainNotices. */ @java.lang.Override @@ -305,12 +367,15 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -319,26 +384,31 @@ public com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index) { return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return domainNotices_; } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -346,21 +416,28 @@ public com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index) { public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } + private int domainNoticesMemoizedSerializedSize; public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> + contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>() { public com.google.cloud.domains.v1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactNotice result = com.google.cloud.domains.v1.ContactNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1.ContactNotice result = + com.google.cloud.domains.v1.ContactNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -368,14 +445,18 @@ public com.google.cloud.domains.v1.ContactNotice convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -383,6 +464,7 @@ public java.util.List getContactNotic
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ @java.lang.Override @@ -390,6 +472,8 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -397,6 +481,7 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -405,6 +490,8 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -412,14 +499,16 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return contactNotices_; } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -427,6 +516,7 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -434,11 +524,14 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } + private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -446,6 +539,7 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -453,6 +547,8 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -460,6 +556,7 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ @java.lang.Override @@ -467,6 +564,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -483,6 +582,8 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
+   *
+   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -490,6 +591,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -498,6 +600,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -509,8 +612,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -551,40 +653,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + domainNoticesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -594,29 +695,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.domains.v1.RegisterDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.RegisterDomainRequest other = (com.google.cloud.domains.v1.RegisterDomainRequest) obj; + com.google.cloud.domains.v1.RegisterDomainRequest other = + (com.google.cloud.domains.v1.RegisterDomainRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; } if (!domainNotices_.equals(other.domainNotices_)) return false; if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -647,125 +745,133 @@ public int hashCode() { hash = (53 * hash) + getYearlyPrice().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RegisterDomainRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RegisterDomainRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RegisterDomainRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RegisterDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.RegisterDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RegisterDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RegisterDomainRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RegisterDomainRequest) com.google.cloud.domains.v1.RegisterDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RegisterDomainRequest.class, com.google.cloud.domains.v1.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1.RegisterDomainRequest.class, + com.google.cloud.domains.v1.RegisterDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.RegisterDomainRequest.newBuilder() @@ -773,16 +879,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -810,9 +915,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RegisterDomainRequest_descriptor; } @java.lang.Override @@ -831,7 +936,8 @@ public com.google.cloud.domains.v1.RegisterDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1.RegisterDomainRequest buildPartial() { - com.google.cloud.domains.v1.RegisterDomainRequest result = new com.google.cloud.domains.v1.RegisterDomainRequest(this); + com.google.cloud.domains.v1.RegisterDomainRequest result = + new com.google.cloud.domains.v1.RegisterDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -863,38 +969,39 @@ public com.google.cloud.domains.v1.RegisterDomainRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RegisterDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1.RegisterDomainRequest)other); + return mergeFrom((com.google.cloud.domains.v1.RegisterDomainRequest) other); } else { super.mergeFrom(other); return this; @@ -902,7 +1009,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RegisterDomainRequest other) { - if (other == com.google.cloud.domains.v1.RegisterDomainRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.RegisterDomainRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -955,7 +1063,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.RegisterDomainRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.RegisterDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -964,23 +1073,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -989,21 +1103,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -1011,57 +1128,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1069,39 +1199,58 @@ public Builder setParentBytes( private com.google.cloud.domains.v1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> registrationBuilder_; + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder> + registrationBuilder_; /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ public com.google.cloud.domains.v1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1.Registration.getDefaultInstance() + : registration_; } else { return registrationBuilder_.getMessage(); } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) { if (registrationBuilder_ == null) { @@ -1117,11 +1266,15 @@ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) { return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration( com.google.cloud.domains.v1.Registration.Builder builderForValue) { @@ -1135,17 +1288,23 @@ public Builder setRegistration( return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.Registration.newBuilder(registration_) + .mergeFrom(value) + .buildPartial(); } else { registration_ = value; } @@ -1157,11 +1316,15 @@ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1175,55 +1338,71 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null ? - com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1.Registration.getDefaultInstance() + : registration_; } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder>( - getRegistration(), - getParentForChildren(), - isClean()); + registrationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder>( + getRegistration(), getParentForChildren(), isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List domainNotices_ = - java.util.Collections.emptyList(); + private java.util.List domainNotices_ = java.util.Collections.emptyList(); + private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1231,37 +1410,47 @@ private void ensureDomainNoticesIsMutable() { } } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1269,18 +1458,20 @@ public com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index) { return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. */ - public Builder setDomainNotices( - int index, com.google.cloud.domains.v1.DomainNotice value) { + public Builder setDomainNotices(int index, com.google.cloud.domains.v1.DomainNotice value) { if (value == null) { throw new NullPointerException(); } @@ -1290,12 +1481,15 @@ public Builder setDomainNotices( return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1309,12 +1503,15 @@ public Builder addDomainNotices(com.google.cloud.domains.v1.DomainNotice value) return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1328,12 +1525,15 @@ public Builder addAllDomainNotices( return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1343,25 +1543,30 @@ public Builder clearDomainNotices() { return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1369,30 +1574,35 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue( - int index, int value) { + public Builder setDomainNoticesValue(int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1403,17 +1613,19 @@ public Builder addDomainNoticesValue(int value) { return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue( - java.lang.Iterable values) { + public Builder addAllDomainNoticesValue(java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1422,8 +1634,8 @@ public Builder addAllDomainNoticesValue( return this; } - private java.util.List contactNotices_ = - java.util.Collections.emptyList(); + private java.util.List contactNotices_ = java.util.Collections.emptyList(); + private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1431,6 +1643,8 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1438,13 +1652,17 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1452,12 +1670,15 @@ public java.util.List getContactNotic
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1465,6 +1686,7 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1472,6 +1694,8 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1479,12 +1703,12 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. */ - public Builder setContactNotices( - int index, com.google.cloud.domains.v1.ContactNotice value) { + public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactNotice value) { if (value == null) { throw new NullPointerException(); } @@ -1494,6 +1718,8 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1501,6 +1727,7 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1514,6 +1741,8 @@ public Builder addContactNotices(com.google.cloud.domains.v1.ContactNotice value return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1521,6 +1750,7 @@ public Builder addContactNotices(com.google.cloud.domains.v1.ContactNotice value
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1534,6 +1764,8 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1541,6 +1773,7 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1550,6 +1783,8 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1557,13 +1792,15 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1571,6 +1808,7 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1578,6 +1816,8 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1585,18 +1825,20 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue( - int index, int value) { + public Builder setContactNoticesValue(int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1604,6 +1846,7 @@ public Builder setContactNoticesValue(
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1614,6 +1857,8 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1621,11 +1866,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue( - java.lang.Iterable values) { + public Builder addAllContactNoticesValue(java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1636,8 +1881,11 @@ public Builder addAllContactNoticesValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1645,12 +1893,15 @@ public Builder addAllContactNoticesValue(
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1658,6 +1909,7 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1668,6 +1920,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1690,6 +1944,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1698,8 +1954,7 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(
-        com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1710,6 +1965,8 @@ public Builder setYearlyPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1722,7 +1979,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1734,6 +1991,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1754,6 +2013,8 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1763,11 +2024,13 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-      
+
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1780,11 +2043,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ?
-            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1794,21 +2058,24 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(),
-                getParentForChildren(),
-                isClean());
+        yearlyPriceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Money,
+                com.google.type.Money.Builder,
+                com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(), getParentForChildren(), isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
     }
 
-    private boolean validateOnly_ ;
+    private boolean validateOnly_;
     /**
+     *
+     *
      * 
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -1816,6 +2083,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -1823,6 +2091,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -1830,16 +2100,19 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -1847,17 +2120,18 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1867,12 +2141,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RegisterDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RegisterDomainRequest) private static final com.google.cloud.domains.v1.RegisterDomainRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RegisterDomainRequest(); } @@ -1881,16 +2155,16 @@ public static com.google.cloud.domains.v1.RegisterDomainRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1905,6 +2179,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.RegisterDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java index 555b369a..a21ef579 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterDomainRequestOrBuilder.java @@ -1,116 +1,171 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RegisterDomainRequestOrBuilder extends +public interface RegisterDomainRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RegisterDomainRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ boolean hasRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ com.google.cloud.domains.v1.Registration getRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List - getDomainNoticesValueList(); + java.util.List getDomainNoticesValueList(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -118,10 +173,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -129,10 +187,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ int getContactNoticesCount(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -140,11 +201,14 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1.ContactNotice getContactNotices(int index); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -152,11 +216,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List - getContactNoticesValueList(); + java.util.List getContactNoticesValueList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -164,12 +230,15 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -177,10 +246,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -188,10 +260,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -203,6 +278,8 @@ public interface RegisterDomainRequestOrBuilder extends
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
+   *
+   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -210,6 +287,7 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java index c8c5c431..9ab5f247 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParameters.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Parameters required to register a new domain.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RegisterParameters} */ -public final class RegisterParameters extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RegisterParameters extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RegisterParameters) RegisterParametersOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RegisterParameters.newBuilder() to construct. private RegisterParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RegisterParameters() { domainName_ = ""; availability_ = 0; @@ -28,16 +46,15 @@ private RegisterParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RegisterParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RegisterParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,84 +74,91 @@ private RegisterParameters( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + domainName_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - availability_ = rawValue; - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + availability_ = rawValue; + break; } - supportedPrivacy_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } supportedPrivacy_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 32: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + supportedPrivacy_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - domainNotices_.add(rawValue); - break; - } - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } domainNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 42: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + domainNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 42: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,8 +166,7 @@ private RegisterParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = java.util.Collections.unmodifiableList(supportedPrivacy_); @@ -155,29 +178,35 @@ private RegisterParameters( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RegisterParameters.class, com.google.cloud.domains.v1.RegisterParameters.Builder.class); + com.google.cloud.domains.v1.RegisterParameters.class, + com.google.cloud.domains.v1.RegisterParameters.Builder.class); } /** + * + * *
    * Possible availability states of a domain name.
    * 
* * Protobuf enum {@code google.cloud.domains.v1.RegisterParameters.Availability} */ - public enum Availability - implements com.google.protobuf.ProtocolMessageEnum { + public enum Availability implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The availability is unspecified.
      * 
@@ -186,6 +215,8 @@ public enum Availability */ AVAILABILITY_UNSPECIFIED(0), /** + * + * *
      * The domain is available for registration.
      * 
@@ -194,6 +225,8 @@ public enum Availability */ AVAILABLE(1), /** + * + * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -203,6 +236,8 @@ public enum Availability
      */
     UNAVAILABLE(2),
     /**
+     *
+     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -212,6 +247,8 @@ public enum Availability
      */
     UNSUPPORTED(3),
     /**
+     *
+     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -224,6 +261,8 @@ public enum Availability
     ;
 
     /**
+     *
+     *
      * 
      * The availability is unspecified.
      * 
@@ -232,6 +271,8 @@ public enum Availability */ public static final int AVAILABILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is available for registration.
      * 
@@ -240,6 +281,8 @@ public enum Availability */ public static final int AVAILABLE_VALUE = 1; /** + * + * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -249,6 +292,8 @@ public enum Availability
      */
     public static final int UNAVAILABLE_VALUE = 2;
     /**
+     *
+     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -258,6 +303,8 @@ public enum Availability
      */
     public static final int UNSUPPORTED_VALUE = 3;
     /**
+     *
+     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -267,7 +314,6 @@ public enum Availability
      */
     public static final int UNKNOWN_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -292,51 +338,53 @@ public static Availability valueOf(int value) {
      */
     public static Availability forNumber(int value) {
       switch (value) {
-        case 0: return AVAILABILITY_UNSPECIFIED;
-        case 1: return AVAILABLE;
-        case 2: return UNAVAILABLE;
-        case 3: return UNSUPPORTED;
-        case 4: return UNKNOWN;
-        default: return null;
+        case 0:
+          return AVAILABILITY_UNSPECIFIED;
+        case 1:
+          return AVAILABLE;
+        case 2:
+          return UNAVAILABLE;
+        case 3:
+          return UNSUPPORTED;
+        case 4:
+          return UNKNOWN;
+        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<
-        Availability> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Availability findValueByNumber(int number) {
-              return Availability.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 Availability findValueByNumber(int number) {
+            return Availability.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.domains.v1.RegisterParameters.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Availability[] VALUES = values();
 
-    public static Availability valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Availability 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;
@@ -356,11 +404,14 @@ private Availability(int value) {
   public static final int DOMAIN_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object domainName_;
   /**
+   *
+   *
    * 
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ @java.lang.Override @@ -369,29 +420,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -402,6 +453,8 @@ public java.lang.String getDomainName() { public static final int AVAILABILITY_FIELD_NUMBER = 2; private int availability_; /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -409,12 +462,16 @@ public java.lang.String getDomainName() {
    * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; + * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override public int getAvailabilityValue() { + @java.lang.Override + public int getAvailabilityValue() { return availability_; } /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -422,45 +479,61 @@ public java.lang.String getDomainName() {
    * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; + * * @return The availability. */ - @java.lang.Override public com.google.cloud.domains.v1.RegisterParameters.Availability getAvailability() { + @java.lang.Override + public com.google.cloud.domains.v1.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.RegisterParameters.Availability result = com.google.cloud.domains.v1.RegisterParameters.Availability.valueOf(availability_); - return result == null ? com.google.cloud.domains.v1.RegisterParameters.Availability.UNRECOGNIZED : result; + com.google.cloud.domains.v1.RegisterParameters.Availability result = + com.google.cloud.domains.v1.RegisterParameters.Availability.valueOf(availability_); + return result == null + ? com.google.cloud.domains.v1.RegisterParameters.Availability.UNRECOGNIZED + : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 3; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> + supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>() { public com.google.cloud.domains.v1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactPrivacy result = com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); - return result == null ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED : result; + com.google.cloud.domains.v1.ContactPrivacy result = + com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); + return result == null + ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED + : result; } }; /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -468,11 +541,14 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -481,24 +557,29 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return supportedPrivacy_; } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -506,39 +587,51 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } + private int supportedPrivacyMemoizedSerializedSize; public static final int DOMAIN_NOTICES_FIELD_NUMBER = 4; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice> domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice> + domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>() { public com.google.cloud.domains.v1.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.DomainNotice result = com.google.cloud.domains.v1.DomainNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1.DomainNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1.DomainNotice result = + com.google.cloud.domains.v1.DomainNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1.DomainNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @return The count of domainNotices. */ @java.lang.Override @@ -546,11 +639,14 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -559,24 +655,29 @@ public com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index) { return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return domainNotices_; } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -584,16 +685,20 @@ public com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index) { public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } + private int domainNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -601,11 +706,14 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return The yearlyPrice. */ @java.lang.Override @@ -613,6 +721,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Price to register or renew the domain for one year.
    * 
@@ -625,6 +735,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -636,13 +747,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } - if (availability_ != com.google.cloud.domains.v1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { + if (availability_ + != com.google.cloud.domains.v1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, availability_); } if (getSupportedPrivacyList().size() > 0) { @@ -674,37 +786,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domainName_); } - if (availability_ != com.google.cloud.domains.v1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, availability_); + if (availability_ + != com.google.cloud.domains.v1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, availability_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedPrivacyMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + domainNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -714,22 +828,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.domains.v1.RegisterParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1.RegisterParameters other = (com.google.cloud.domains.v1.RegisterParameters) obj; + com.google.cloud.domains.v1.RegisterParameters other = + (com.google.cloud.domains.v1.RegisterParameters) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; if (availability_ != other.availability_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!domainNotices_.equals(other.domainNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -763,118 +876,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.RegisterParameters parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.RegisterParameters parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RegisterParameters parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RegisterParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RegisterParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RegisterParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RegisterParameters parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RegisterParameters parseFrom(java.io.InputStream input) 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.domains.v1.RegisterParameters parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RegisterParameters parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RegisterParameters parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RegisterParameters parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.RegisterParameters parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RegisterParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.RegisterParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters required to register a new domain.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RegisterParameters} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RegisterParameters) com.google.cloud.domains.v1.RegisterParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RegisterParameters.class, com.google.cloud.domains.v1.RegisterParameters.Builder.class); + com.google.cloud.domains.v1.RegisterParameters.class, + com.google.cloud.domains.v1.RegisterParameters.Builder.class); } // Construct using com.google.cloud.domains.v1.RegisterParameters.newBuilder() @@ -882,16 +1004,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -913,9 +1034,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RegisterParameters_descriptor; } @java.lang.Override @@ -934,7 +1055,8 @@ public com.google.cloud.domains.v1.RegisterParameters build() { @java.lang.Override public com.google.cloud.domains.v1.RegisterParameters buildPartial() { - com.google.cloud.domains.v1.RegisterParameters result = new com.google.cloud.domains.v1.RegisterParameters(this); + com.google.cloud.domains.v1.RegisterParameters result = + new com.google.cloud.domains.v1.RegisterParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.availability_ = availability_; @@ -961,38 +1083,39 @@ public com.google.cloud.domains.v1.RegisterParameters buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RegisterParameters) { - return mergeFrom((com.google.cloud.domains.v1.RegisterParameters)other); + return mergeFrom((com.google.cloud.domains.v1.RegisterParameters) other); } else { super.mergeFrom(other); return this; @@ -1059,22 +1182,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object domainName_ = ""; /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -1083,20 +1209,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -1104,54 +1231,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -1159,6 +1293,8 @@ public Builder setDomainNameBytes( private int availability_ = 0; /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1166,12 +1302,16 @@ public Builder setDomainNameBytes(
      * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; + * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override public int getAvailabilityValue() { + @java.lang.Override + public int getAvailabilityValue() { return availability_; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1179,16 +1319,19 @@ public Builder setDomainNameBytes(
      * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; + * * @param value The enum numeric value on the wire for availability to set. * @return This builder for chaining. */ public Builder setAvailabilityValue(int value) { - + availability_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1196,15 +1339,21 @@ public Builder setAvailabilityValue(int value) {
      * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; + * * @return The availability. */ @java.lang.Override public com.google.cloud.domains.v1.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.RegisterParameters.Availability result = com.google.cloud.domains.v1.RegisterParameters.Availability.valueOf(availability_); - return result == null ? com.google.cloud.domains.v1.RegisterParameters.Availability.UNRECOGNIZED : result; + com.google.cloud.domains.v1.RegisterParameters.Availability result = + com.google.cloud.domains.v1.RegisterParameters.Availability.valueOf(availability_); + return result == null + ? com.google.cloud.domains.v1.RegisterParameters.Availability.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1212,19 +1361,23 @@ public com.google.cloud.domains.v1.RegisterParameters.Availability getAvailabili
      * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; + * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability(com.google.cloud.domains.v1.RegisterParameters.Availability value) { + public Builder setAvailability( + com.google.cloud.domains.v1.RegisterParameters.Availability value) { if (value == null) { throw new NullPointerException(); } - + availability_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1232,17 +1385,18 @@ public Builder setAvailability(com.google.cloud.domains.v1.RegisterParameters.Av
      * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; + * * @return This builder for chaining. */ public Builder clearAvailability() { - + availability_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = - java.util.Collections.emptyList(); + private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); + private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1250,34 +1404,44 @@ private void ensureSupportedPrivacyIsMutable() { } } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the supportedPrivacy. */ public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1285,11 +1449,14 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1305,11 +1472,14 @@ public Builder setSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1323,11 +1493,14 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1.ContactPrivacy va return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1341,11 +1514,14 @@ public Builder addAllSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1355,23 +1531,28 @@ public Builder clearSupportedPrivacy() { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1379,28 +1560,33 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue( - int index, int value) { + public Builder setSupportedPrivacyValue(int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1411,16 +1597,18 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue( - java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1429,8 +1617,8 @@ public Builder addAllSupportedPrivacyValue( return this; } - private java.util.List domainNotices_ = - java.util.Collections.emptyList(); + private java.util.List domainNotices_ = java.util.Collections.emptyList(); + private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1438,34 +1626,44 @@ private void ensureDomainNoticesIsMutable() { } } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1473,17 +1671,19 @@ public com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index) { return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. */ - public Builder setDomainNotices( - int index, com.google.cloud.domains.v1.DomainNotice value) { + public Builder setDomainNotices(int index, com.google.cloud.domains.v1.DomainNotice value) { if (value == null) { throw new NullPointerException(); } @@ -1493,11 +1693,14 @@ public Builder setDomainNotices( return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1511,11 +1714,14 @@ public Builder addDomainNotices(com.google.cloud.domains.v1.DomainNotice value) return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1529,11 +1735,14 @@ public Builder addAllDomainNotices( return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1543,23 +1752,28 @@ public Builder clearDomainNotices() { return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1567,28 +1781,33 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue( - int index, int value) { + public Builder setDomainNoticesValue(int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1599,16 +1818,18 @@ public Builder addDomainNoticesValue(int value) { return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue( - java.lang.Iterable values) { + public Builder addAllDomainNoticesValue(java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1619,24 +1840,31 @@ public Builder addAllDomainNoticesValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1647,6 +1875,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1667,14 +1897,15 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; */ - public Builder setYearlyPrice( - com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1685,6 +1916,8 @@ public Builder setYearlyPrice( return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1695,7 +1928,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1707,6 +1940,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1725,6 +1960,8 @@ public Builder clearYearlyPrice() { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1732,11 +1969,13 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 5; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1747,11 +1986,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? - com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1759,21 +1999,22 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - getYearlyPrice(), - getParentForChildren(), - isClean()); + yearlyPriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + getYearlyPrice(), getParentForChildren(), isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1783,12 +2024,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RegisterParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RegisterParameters) private static final com.google.cloud.domains.v1.RegisterParameters DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RegisterParameters(); } @@ -1797,16 +2038,16 @@ public static com.google.cloud.domains.v1.RegisterParameters getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1821,6 +2062,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.RegisterParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java index 445dc0a7..10eaa8f9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegisterParametersOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RegisterParametersOrBuilder extends +public interface RegisterParametersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RegisterParameters) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -35,10 +58,13 @@ public interface RegisterParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; + * * @return The enum numeric value on the wire for availability. */ int getAvailabilityValue(); /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -46,127 +72,164 @@ public interface RegisterParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1.RegisterParameters.Availability availability = 2; + * * @return The availability. */ com.google.cloud.domains.v1.RegisterParameters.Availability getAvailability(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List - getSupportedPrivacyValueList(); + java.util.List getSupportedPrivacyValueList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1.DomainNotice getDomainNotices(int index); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List - getDomainNoticesValueList(); + java.util.List getDomainNoticesValueList(); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Price to register or renew the domain for one year.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java index f13f8aa6..540ac65e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/Registration.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * The `Registration` resource facilitates managing and configuring domain name
  * registrations.
@@ -22,15 +39,16 @@
  *
  * Protobuf type {@code google.cloud.domains.v1.Registration}
  */
-public final class Registration extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Registration extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.Registration)
     RegistrationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Registration.newBuilder() to construct.
   private Registration(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Registration() {
     name_ = "";
     domainName_ = "";
@@ -41,16 +59,15 @@ private Registration() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Registration();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Registration(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,168 +87,191 @@ private Registration(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            domainName_ = s;
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (expireTime_ != null) {
-              subBuilder = expireTime_.toBuilder();
+              domainName_ = s;
+              break;
             }
-            expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(expireTime_);
-              expireTime_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (expireTime_ != null) {
+                subBuilder = expireTime_.toBuilder();
+              }
+              expireTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(expireTime_);
+                expireTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            state_ = rawValue;
-            break;
-          }
-          case 64: {
-            int rawValue = input.readEnum();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              issues_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              state_ = rawValue;
+              break;
             }
-            issues_.add(rawValue);
-            break;
-          }
-          case 66: {
-            int length = input.readRawVarint32();
-            int oldLimit = input.pushLimit(length);
-            while(input.getBytesUntilLimit() > 0) {
+          case 64:
+            {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                 issues_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000001;
               }
               issues_.add(rawValue);
+              break;
             }
-            input.popLimit(oldLimit);
-            break;
-          }
-          case 74: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000002;
-            }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 82: {
-            com.google.cloud.domains.v1.ManagementSettings.Builder subBuilder = null;
-            if (managementSettings_ != null) {
-              subBuilder = managementSettings_.toBuilder();
+          case 66:
+            {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while (input.getBytesUntilLimit() > 0) {
+                int rawValue = input.readEnum();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  issues_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                issues_.add(rawValue);
+              }
+              input.popLimit(oldLimit);
+              break;
             }
-            managementSettings_ = input.readMessage(com.google.cloud.domains.v1.ManagementSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(managementSettings_);
-              managementSettings_ = subBuilder.buildPartial();
+          case 74:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000002;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
+          case 82:
+            {
+              com.google.cloud.domains.v1.ManagementSettings.Builder subBuilder = null;
+              if (managementSettings_ != null) {
+                subBuilder = managementSettings_.toBuilder();
+              }
+              managementSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1.ManagementSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(managementSettings_);
+                managementSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 90: {
-            com.google.cloud.domains.v1.DnsSettings.Builder subBuilder = null;
-            if (dnsSettings_ != null) {
-              subBuilder = dnsSettings_.toBuilder();
-            }
-            dnsSettings_ = input.readMessage(com.google.cloud.domains.v1.DnsSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(dnsSettings_);
-              dnsSettings_ = subBuilder.buildPartial();
+              break;
             }
+          case 90:
+            {
+              com.google.cloud.domains.v1.DnsSettings.Builder subBuilder = null;
+              if (dnsSettings_ != null) {
+                subBuilder = dnsSettings_.toBuilder();
+              }
+              dnsSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1.DnsSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(dnsSettings_);
+                dnsSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 98: {
-            com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null;
-            if (contactSettings_ != null) {
-              subBuilder = contactSettings_.toBuilder();
-            }
-            contactSettings_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(contactSettings_);
-              contactSettings_ = subBuilder.buildPartial();
+              break;
             }
+          case 98:
+            {
+              com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null;
+              if (contactSettings_ != null) {
+                subBuilder = contactSettings_.toBuilder();
+              }
+              contactSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(contactSettings_);
+                contactSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 106: {
-            com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null;
-            if (pendingContactSettings_ != null) {
-              subBuilder = pendingContactSettings_.toBuilder();
-            }
-            pendingContactSettings_ = input.readMessage(com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(pendingContactSettings_);
-              pendingContactSettings_ = subBuilder.buildPartial();
+              break;
             }
+          case 106:
+            {
+              com.google.cloud.domains.v1.ContactSettings.Builder subBuilder = null;
+              if (pendingContactSettings_ != null) {
+                subBuilder = pendingContactSettings_.toBuilder();
+              }
+              pendingContactSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1.ContactSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(pendingContactSettings_);
+                pendingContactSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 112: {
-            int rawValue = input.readEnum();
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              supportedPrivacy_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000004;
+              break;
             }
-            supportedPrivacy_.add(rawValue);
-            break;
-          }
-          case 114: {
-            int length = input.readRawVarint32();
-            int oldLimit = input.pushLimit(length);
-            while(input.getBytesUntilLimit() > 0) {
+          case 112:
+            {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                 supportedPrivacy_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000004;
               }
               supportedPrivacy_.add(rawValue);
+              break;
             }
-            input.popLimit(oldLimit);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 114:
+            {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while (input.getBytesUntilLimit() > 0) {
+                int rawValue = input.readEnum();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  supportedPrivacy_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                supportedPrivacy_.add(rawValue);
+              }
+              input.popLimit(oldLimit);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -239,8 +279,7 @@ private Registration(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         issues_ = java.util.Collections.unmodifiableList(issues_);
@@ -252,41 +291,46 @@ private Registration(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.domains.v1.DomainsProto
+        .internal_static_google_cloud_domains_v1_Registration_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 9:
         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.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable
+    return com.google.cloud.domains.v1.DomainsProto
+        .internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1.Registration.class, com.google.cloud.domains.v1.Registration.Builder.class);
+            com.google.cloud.domains.v1.Registration.class,
+            com.google.cloud.domains.v1.Registration.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1.Registration.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is undefined.
      * 
@@ -295,6 +339,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The domain is being registered.
      * 
@@ -303,6 +349,8 @@ public enum State */ REGISTRATION_PENDING(1), /** + * + * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -312,6 +360,8 @@ public enum State
      */
     REGISTRATION_FAILED(2),
     /**
+     *
+     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -320,6 +370,8 @@ public enum State */ TRANSFER_PENDING(3), /** + * + * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -330,6 +382,8 @@ public enum State
      */
     TRANSFER_FAILED(4),
     /**
+     *
+     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -339,6 +393,8 @@ public enum State
      */
     ACTIVE(6),
     /**
+     *
+     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -348,6 +404,8 @@ public enum State
      */
     SUSPENDED(7),
     /**
+     *
+     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -363,6 +421,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is undefined.
      * 
@@ -371,6 +431,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is being registered.
      * 
@@ -379,6 +441,8 @@ public enum State */ public static final int REGISTRATION_PENDING_VALUE = 1; /** + * + * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -388,6 +452,8 @@ public enum State
      */
     public static final int REGISTRATION_FAILED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -396,6 +462,8 @@ public enum State */ public static final int TRANSFER_PENDING_VALUE = 3; /** + * + * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -406,6 +474,8 @@ public enum State
      */
     public static final int TRANSFER_FAILED_VALUE = 4;
     /**
+     *
+     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -415,6 +485,8 @@ public enum State
      */
     public static final int ACTIVE_VALUE = 6;
     /**
+     *
+     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -424,6 +496,8 @@ public enum State
      */
     public static final int SUSPENDED_VALUE = 7;
     /**
+     *
+     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -436,7 +510,6 @@ public enum State
      */
     public static final int EXPORTED_VALUE = 8;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -461,54 +534,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return REGISTRATION_PENDING;
-        case 2: return REGISTRATION_FAILED;
-        case 3: return TRANSFER_PENDING;
-        case 4: return TRANSFER_FAILED;
-        case 6: return ACTIVE;
-        case 7: return SUSPENDED;
-        case 8: return EXPORTED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return REGISTRATION_PENDING;
+        case 2:
+          return REGISTRATION_FAILED;
+        case 3:
+          return TRANSFER_PENDING;
+        case 4:
+          return TRANSFER_FAILED;
+        case 6:
+          return ACTIVE;
+        case 7:
+          return SUSPENDED;
+        case 8:
+          return EXPORTED;
+        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.domains.v1.Registration.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;
@@ -526,15 +604,18 @@ private State(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Possible issues with a `Registration` that require attention.
    * 
* * Protobuf enum {@code google.cloud.domains.v1.Registration.Issue} */ - public enum Issue - implements com.google.protobuf.ProtocolMessageEnum { + public enum Issue implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The issue is undefined.
      * 
@@ -543,6 +624,8 @@ public enum Issue */ ISSUE_UNSPECIFIED(0), /** + * + * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -551,6 +634,8 @@ public enum Issue */ CONTACT_SUPPORT(1), /** + * + * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -569,6 +654,8 @@ public enum Issue
     ;
 
     /**
+     *
+     *
      * 
      * The issue is undefined.
      * 
@@ -577,6 +664,8 @@ public enum Issue */ public static final int ISSUE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -585,6 +674,8 @@ public enum Issue */ public static final int CONTACT_SUPPORT_VALUE = 1; /** + * + * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -600,7 +691,6 @@ public enum Issue
      */
     public static final int UNVERIFIED_EMAIL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -625,49 +715,49 @@ public static Issue valueOf(int value) {
      */
     public static Issue forNumber(int value) {
       switch (value) {
-        case 0: return ISSUE_UNSPECIFIED;
-        case 1: return CONTACT_SUPPORT;
-        case 2: return UNVERIFIED_EMAIL;
-        default: return null;
+        case 0:
+          return ISSUE_UNSPECIFIED;
+        case 1:
+          return CONTACT_SUPPORT;
+        case 2:
+          return UNVERIFIED_EMAIL;
+        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<
-        Issue> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Issue findValueByNumber(int number) {
-              return Issue.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 Issue findValueByNumber(int number) {
+            return Issue.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.domains.v1.Registration.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Issue[] VALUES = values();
 
-    public static Issue valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Issue 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;
@@ -687,12 +777,15 @@ private Issue(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -701,30 +794,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 `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * 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 { @@ -735,11 +828,16 @@ public java.lang.String getName() { public static final int DOMAIN_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object domainName_; /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domainName. */ @java.lang.Override @@ -748,29 +846,31 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -781,11 +881,15 @@ public java.lang.String getDomainName() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -793,11 +897,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -805,11 +913,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -819,11 +930,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -831,11 +946,15 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -843,11 +962,14 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -857,61 +979,89 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 7; private int state_; /** + * + * *
    * Output only. The state of the `Registration`
    * 
* - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.Registration.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 state of the `Registration`
    * 
* - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.domains.v1.Registration.State getState() { + @java.lang.Override + public com.google.cloud.domains.v1.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.Registration.State result = com.google.cloud.domains.v1.Registration.State.valueOf(state_); + com.google.cloud.domains.v1.Registration.State result = + com.google.cloud.domains.v1.Registration.State.valueOf(state_); return result == null ? com.google.cloud.domains.v1.Registration.State.UNRECOGNIZED : result; } public static final int ISSUES_FIELD_NUMBER = 8; private java.util.List issues_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue> issues_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue> + issues_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue>() { public com.google.cloud.domains.v1.Registration.Issue convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.Registration.Issue result = com.google.cloud.domains.v1.Registration.Issue.valueOf(from); - return result == null ? com.google.cloud.domains.v1.Registration.Issue.UNRECOGNIZED : result; + com.google.cloud.domains.v1.Registration.Issue result = + com.google.cloud.domains.v1.Registration.Issue.valueOf(from); + return result == null + ? com.google.cloud.domains.v1.Registration.Issue.UNRECOGNIZED + : result; } }; /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the issues. */ @java.lang.Override public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue>(issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue>( + issues_, issues_converter_); } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of issues. */ @java.lang.Override @@ -919,11 +1069,16 @@ public int getIssuesCount() { return issues_.size(); } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The issues at the given index. */ @@ -932,24 +1087,33 @@ public com.google.cloud.domains.v1.Registration.Issue getIssues(int index) { return issues_converter_.convert(issues_.get(index)); } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for issues. */ @java.lang.Override - public java.util.List - getIssuesValueList() { + public java.util.List getIssuesValueList() { return issues_; } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -957,27 +1121,27 @@ public com.google.cloud.domains.v1.Registration.Issue getIssues(int index) { public int getIssuesValue(int index) { return issues_.get(index); } + private int issuesMemoizedSerializedSize; public static final int LABELS_FIELD_NUMBER = 9; + 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.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_Registration_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -986,28 +1150,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - @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(); } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1015,11 +1181,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1027,16 +1194,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1044,12 +1211,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 9; */ @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(); } @@ -1059,6 +1225,8 @@ public java.lang.String getLabelsOrThrow( public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 10; private com.google.cloud.domains.v1.ManagementSettings managementSettings_; /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1067,6 +1235,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -1074,6 +1243,8 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1082,13 +1253,18 @@ public boolean hasManagementSettings() {
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; + * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1.ManagementSettings getManagementSettings() { - return managementSettings_ == null ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() + : managementSettings_; } /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1106,6 +1282,8 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett
   public static final int DNS_SETTINGS_FIELD_NUMBER = 11;
   private com.google.cloud.domains.v1.DnsSettings dnsSettings_;
   /**
+   *
+   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1113,6 +1291,7 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; + * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -1120,6 +1299,8 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1127,13 +1308,18 @@ public boolean hasDnsSettings() {
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; + * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1.DnsSettings getDnsSettings() { - return dnsSettings_ == null ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() + : dnsSettings_; } /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1150,13 +1336,18 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
   public static final int CONTACT_SETTINGS_FIELD_NUMBER = 12;
   private com.google.cloud.domains.v1.ContactSettings contactSettings_;
   /**
+   *
+   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -1164,27 +1355,38 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings getContactSettings() { - return contactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() + : contactSettings_; } /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOrBuilder() { @@ -1194,6 +1396,8 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr public static final int PENDING_CONTACT_SETTINGS_FIELD_NUMBER = 13; private com.google.cloud.domains.v1.ContactSettings pendingContactSettings_; /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1204,7 +1408,10 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr
    * email they receive.
    * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the pendingContactSettings field is set. */ @java.lang.Override @@ -1212,6 +1419,8 @@ public boolean hasPendingContactSettings() { return pendingContactSettings_ != null; } /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1222,14 +1431,21 @@ public boolean hasPendingContactSettings() {
    * email they receive.
    * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pendingContactSettings. */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettings getPendingContactSettings() { - return pendingContactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : pendingContactSettings_; + return pendingContactSettings_ == null + ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() + : pendingContactSettings_; } /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1240,7 +1456,9 @@ public com.google.cloud.domains.v1.ContactSettings getPendingContactSettings() {
    * email they receive.
    * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.domains.v1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { @@ -1250,36 +1468,51 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getPendingContactSet public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 14; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> + supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>() { public com.google.cloud.domains.v1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactPrivacy result = com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); - return result == null ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED : result; + com.google.cloud.domains.v1.ContactPrivacy result = + com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); + return result == null + ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED + : result; } }; /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -1287,12 +1520,17 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1301,26 +1539,35 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return supportedPrivacy_; } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1328,9 +1575,11 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } + private int supportedPrivacyMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1342,8 +1591,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -1367,12 +1615,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < issues_.size(); i++) { output.writeEnumNoTag(issues_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 9); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 9); if (managementSettings_ != null) { output.writeMessage(10, getManagementSettings()); } @@ -1408,66 +1652,61 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domainName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpireTime()); } if (state_ != com.google.cloud.domains.v1.Registration.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } { int dataSize = 0; for (int i = 0; i < issues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(issues_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(issues_.get(i)); } size += dataSize; - if (!getIssuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }issuesMemoizedSerializedSize = dataSize; - } - 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(9, labels__); + if (!getIssuesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + issuesMemoizedSerializedSize = dataSize; + } + 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(9, labels__); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getManagementSettings()); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDnsSettings()); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getContactSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getContactSettings()); } if (pendingContactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getPendingContactSettings()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(13, getPendingContactSettings()); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedPrivacyMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1477,50 +1716,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1.Registration)) { return super.equals(obj); } com.google.cloud.domains.v1.Registration other = (com.google.cloud.domains.v1.Registration) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDomainName() - .equals(other.getDomainName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDomainName().equals(other.getDomainName())) 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 (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } if (state_ != other.state_) return false; if (!issues_.equals(other.issues_)) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings() - .equals(other.getManagementSettings())) return false; + if (!getManagementSettings().equals(other.getManagementSettings())) return false; } if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings() - .equals(other.getDnsSettings())) return false; + if (!getDnsSettings().equals(other.getDnsSettings())) return false; } if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings() - .equals(other.getContactSettings())) return false; + if (!getContactSettings().equals(other.getContactSettings())) return false; } if (hasPendingContactSettings() != other.hasPendingContactSettings()) return false; if (hasPendingContactSettings()) { - if (!getPendingContactSettings() - .equals(other.getPendingContactSettings())) return false; + if (!getPendingContactSettings().equals(other.getPendingContactSettings())) return false; } if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1581,97 +1811,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.Registration parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.Registration parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.Registration parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.Registration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.Registration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.Registration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.Registration parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.Registration parseFrom(java.io.InputStream input) 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.domains.v1.Registration parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.Registration parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.Registration parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.Registration parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.Registration parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.Registration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.Registration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The `Registration` resource facilitates managing and configuring domain name
    * registrations.
@@ -1690,43 +1927,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.domains.v1.Registration}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.Registration)
       com.google.cloud.domains.v1.RegistrationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_Registration_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 9:
           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 9:
           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.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_Registration_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1.Registration.class, com.google.cloud.domains.v1.Registration.Builder.class);
+              com.google.cloud.domains.v1.Registration.class,
+              com.google.cloud.domains.v1.Registration.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1.Registration.newBuilder()
@@ -1734,16 +1971,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1798,9 +2034,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_Registration_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.domains.v1.DomainsProto
+          .internal_static_google_cloud_domains_v1_Registration_descriptor;
     }
 
     @java.lang.Override
@@ -1819,7 +2055,8 @@ public com.google.cloud.domains.v1.Registration build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1.Registration buildPartial() {
-      com.google.cloud.domains.v1.Registration result = new com.google.cloud.domains.v1.Registration(this);
+      com.google.cloud.domains.v1.Registration result =
+          new com.google.cloud.domains.v1.Registration(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.domainName_ = domainName_;
@@ -1874,38 +2111,39 @@ public com.google.cloud.domains.v1.Registration buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1.Registration) {
-        return mergeFrom((com.google.cloud.domains.v1.Registration)other);
+        return mergeFrom((com.google.cloud.domains.v1.Registration) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1941,8 +2179,7 @@ public Builder mergeFrom(com.google.cloud.domains.v1.Registration other) {
         }
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (other.hasManagementSettings()) {
         mergeManagementSettings(other.getManagementSettings());
       }
@@ -1993,23 +2230,26 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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; @@ -2018,21 +2258,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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 { @@ -2040,57 +2281,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2098,18 +2346,22 @@ public Builder setNameBytes( private java.lang.Object domainName_ = ""; /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -2118,20 +2370,23 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -2139,54 +2394,67 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -2194,39 +2462,58 @@ public Builder setDomainNameBytes( 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 creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2242,14 +2529,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2260,17 +2550,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2282,11 +2576,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2300,48 +2598,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2349,39 +2663,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -2397,14 +2730,17 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -2415,17 +2751,21 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -2437,11 +2777,15 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -2455,48 +2799,64 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -2504,51 +2864,73 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.Registration.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 state of the `Registration`
      * 
* - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.domains.v1.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.Registration.State result = com.google.cloud.domains.v1.Registration.State.valueOf(state_); + com.google.cloud.domains.v1.Registration.State result = + com.google.cloud.domains.v1.Registration.State.valueOf(state_); return result == null ? com.google.cloud.domains.v1.Registration.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2556,28 +2938,33 @@ public Builder setState(com.google.cloud.domains.v1.Registration.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private java.util.List issues_ = - java.util.Collections.emptyList(); + private java.util.List issues_ = java.util.Collections.emptyList(); + private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); @@ -2585,34 +2972,50 @@ private void ensureIssuesIsMutable() { } } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the issues. */ public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue>(issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1.Registration.Issue>( + issues_, issues_converter_); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of issues. */ public int getIssuesCount() { return issues_.size(); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The issues at the given index. */ @@ -2620,17 +3023,21 @@ public com.google.cloud.domains.v1.Registration.Issue getIssues(int index) { return issues_converter_.convert(issues_.get(index)); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The issues to set. * @return This builder for chaining. */ - public Builder setIssues( - int index, com.google.cloud.domains.v1.Registration.Issue value) { + public Builder setIssues(int index, com.google.cloud.domains.v1.Registration.Issue value) { if (value == null) { throw new NullPointerException(); } @@ -2640,11 +3047,16 @@ public Builder setIssues( return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The issues to add. * @return This builder for chaining. */ @@ -2658,11 +3070,16 @@ public Builder addIssues(com.google.cloud.domains.v1.Registration.Issue value) { return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The issues to add. * @return This builder for chaining. */ @@ -2676,11 +3093,16 @@ public Builder addAllIssues( return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearIssues() { @@ -2690,23 +3112,32 @@ public Builder clearIssues() { return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for issues. */ - public java.util.List - getIssuesValueList() { + public java.util.List getIssuesValueList() { return java.util.Collections.unmodifiableList(issues_); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -2714,28 +3145,37 @@ public int getIssuesValue(int index) { return issues_.get(index); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. * @return This builder for chaining. */ - public Builder setIssuesValue( - int index, int value) { + public Builder setIssuesValue(int index, int value) { ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for issues to add. * @return This builder for chaining. */ @@ -2746,16 +3186,20 @@ public Builder addIssuesValue(int value) { return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for issues to add. * @return This builder for chaining. */ - public Builder addAllIssuesValue( - java.lang.Iterable values) { + public Builder addAllIssuesValue(java.lang.Iterable values) { ensureIssuesIsMutable(); for (int value : values) { issues_.add(value); @@ -2764,22 +3208,21 @@ public Builder addAllIssuesValue( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2791,28 +3234,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - @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(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2820,11 +3265,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2832,16 +3278,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2849,12 +3296,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 9; */ @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(); } @@ -2862,71 +3308,73 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private com.google.cloud.domains.v1.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder> managementSettingsBuilder_; + com.google.cloud.domains.v1.ManagementSettings, + com.google.cloud.domains.v1.ManagementSettings.Builder, + com.google.cloud.domains.v1.ManagementSettingsOrBuilder> + managementSettingsBuilder_; /** + * + * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2935,12 +3383,15 @@ public Builder putAllLabels(
      * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** + * + * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2949,16 +3400,21 @@ public boolean hasManagementSettings() {
      * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; + * * @return The managementSettings. */ public com.google.cloud.domains.v1.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() + : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2982,6 +3438,8 @@ public Builder setManagementSettings(com.google.cloud.domains.v1.ManagementSetti
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3003,6 +3461,8 @@ public Builder setManagementSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3016,7 +3476,9 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1.ManagementSet
       if (managementSettingsBuilder_ == null) {
         if (managementSettings_ != null) {
           managementSettings_ =
-            com.google.cloud.domains.v1.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial();
+              com.google.cloud.domains.v1.ManagementSettings.newBuilder(managementSettings_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           managementSettings_ = value;
         }
@@ -3028,6 +3490,8 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1.ManagementSet
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3049,6 +3513,8 @@ public Builder clearManagementSettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3059,11 +3525,13 @@ public Builder clearManagementSettings() {
      * .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      */
     public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSettingsBuilder() {
-      
+
       onChanged();
       return getManagementSettingsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3073,15 +3541,19 @@ public com.google.cloud.domains.v1.ManagementSettings.Builder getManagementSetti
      *
      * .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      */
-    public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() {
+    public com.google.cloud.domains.v1.ManagementSettingsOrBuilder
+        getManagementSettingsOrBuilder() {
       if (managementSettingsBuilder_ != null) {
         return managementSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return managementSettings_ == null ?
-            com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance() : managementSettings_;
+        return managementSettings_ == null
+            ? com.google.cloud.domains.v1.ManagementSettings.getDefaultInstance()
+            : managementSettings_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3092,14 +3564,17 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett
      * .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder> 
+            com.google.cloud.domains.v1.ManagementSettings,
+            com.google.cloud.domains.v1.ManagementSettings.Builder,
+            com.google.cloud.domains.v1.ManagementSettingsOrBuilder>
         getManagementSettingsFieldBuilder() {
       if (managementSettingsBuilder_ == null) {
-        managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.ManagementSettings, com.google.cloud.domains.v1.ManagementSettings.Builder, com.google.cloud.domains.v1.ManagementSettingsOrBuilder>(
-                getManagementSettings(),
-                getParentForChildren(),
-                isClean());
+        managementSettingsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.domains.v1.ManagementSettings,
+                com.google.cloud.domains.v1.ManagementSettings.Builder,
+                com.google.cloud.domains.v1.ManagementSettingsOrBuilder>(
+                getManagementSettings(), getParentForChildren(), isClean());
         managementSettings_ = null;
       }
       return managementSettingsBuilder_;
@@ -3107,8 +3582,13 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett
 
     private com.google.cloud.domains.v1.DnsSettings dnsSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder> dnsSettingsBuilder_;
+            com.google.cloud.domains.v1.DnsSettings,
+            com.google.cloud.domains.v1.DnsSettings.Builder,
+            com.google.cloud.domains.v1.DnsSettingsOrBuilder>
+        dnsSettingsBuilder_;
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3116,12 +3596,15 @@ public com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSett
      * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; + * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** + * + * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3129,16 +3612,21 @@ public boolean hasDnsSettings() {
      * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; + * * @return The dnsSettings. */ public com.google.cloud.domains.v1.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() + : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3161,6 +3649,8 @@ public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3169,8 +3659,7 @@ public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings value) {
      *
      * .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      */
-    public Builder setDnsSettings(
-        com.google.cloud.domains.v1.DnsSettings.Builder builderForValue) {
+    public Builder setDnsSettings(com.google.cloud.domains.v1.DnsSettings.Builder builderForValue) {
       if (dnsSettingsBuilder_ == null) {
         dnsSettings_ = builderForValue.build();
         onChanged();
@@ -3181,6 +3670,8 @@ public Builder setDnsSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3193,7 +3684,9 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1.DnsSettings value) {
       if (dnsSettingsBuilder_ == null) {
         if (dnsSettings_ != null) {
           dnsSettings_ =
-            com.google.cloud.domains.v1.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial();
+              com.google.cloud.domains.v1.DnsSettings.newBuilder(dnsSettings_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dnsSettings_ = value;
         }
@@ -3205,6 +3698,8 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1.DnsSettings value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3225,6 +3720,8 @@ public Builder clearDnsSettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3234,11 +3731,13 @@ public Builder clearDnsSettings() {
      * .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      */
     public com.google.cloud.domains.v1.DnsSettings.Builder getDnsSettingsBuilder() {
-      
+
       onChanged();
       return getDnsSettingsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3251,11 +3750,14 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
       if (dnsSettingsBuilder_ != null) {
         return dnsSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return dnsSettings_ == null ?
-            com.google.cloud.domains.v1.DnsSettings.getDefaultInstance() : dnsSettings_;
+        return dnsSettings_ == null
+            ? com.google.cloud.domains.v1.DnsSettings.getDefaultInstance()
+            : dnsSettings_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3265,14 +3767,17 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
      * .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder> 
+            com.google.cloud.domains.v1.DnsSettings,
+            com.google.cloud.domains.v1.DnsSettings.Builder,
+            com.google.cloud.domains.v1.DnsSettingsOrBuilder>
         getDnsSettingsFieldBuilder() {
       if (dnsSettingsBuilder_ == null) {
-        dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.DnsSettings, com.google.cloud.domains.v1.DnsSettings.Builder, com.google.cloud.domains.v1.DnsSettingsOrBuilder>(
-                getDnsSettings(),
-                getParentForChildren(),
-                isClean());
+        dnsSettingsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.domains.v1.DnsSettings,
+                com.google.cloud.domains.v1.DnsSettings.Builder,
+                com.google.cloud.domains.v1.DnsSettingsOrBuilder>(
+                getDnsSettings(), getParentForChildren(), isClean());
         dnsSettings_ = null;
       }
       return dnsSettingsBuilder_;
@@ -3280,45 +3785,64 @@ public com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(
 
     private com.google.cloud.domains.v1.ContactSettings contactSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> contactSettingsBuilder_;
+            com.google.cloud.domains.v1.ContactSettings,
+            com.google.cloud.domains.v1.ContactSettings.Builder,
+            com.google.cloud.domains.v1.ContactSettingsOrBuilder>
+        contactSettingsBuilder_;
     /**
+     *
+     *
      * 
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contactSettings. */ public com.google.cloud.domains.v1.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() + : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setContactSettings(com.google.cloud.domains.v1.ContactSettings value) { if (contactSettingsBuilder_ == null) { @@ -3334,13 +3858,17 @@ public Builder setContactSettings(com.google.cloud.domains.v1.ContactSettings va return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setContactSettings( com.google.cloud.domains.v1.ContactSettings.Builder builderForValue) { @@ -3354,19 +3882,25 @@ public Builder setContactSettings( return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeContactSettings(com.google.cloud.domains.v1.ContactSettings value) { if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.ContactSettings.newBuilder(contactSettings_) + .mergeFrom(value) + .buildPartial(); } else { contactSettings_ = value; } @@ -3378,13 +3912,17 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1.ContactSettings return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearContactSettings() { if (contactSettingsBuilder_ == null) { @@ -3398,54 +3936,70 @@ public Builder clearContactSettings() { return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOrBuilder() { if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null ? - com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() + : contactSettings_; } } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1.ContactSettings, + com.google.cloud.domains.v1.ContactSettings.Builder, + com.google.cloud.domains.v1.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder>( - getContactSettings(), - getParentForChildren(), - isClean()); + contactSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings, + com.google.cloud.domains.v1.ContactSettings.Builder, + com.google.cloud.domains.v1.ContactSettingsOrBuilder>( + getContactSettings(), getParentForChildren(), isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -3453,8 +4007,13 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr private com.google.cloud.domains.v1.ContactSettings pendingContactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> pendingContactSettingsBuilder_; + com.google.cloud.domains.v1.ContactSettings, + com.google.cloud.domains.v1.ContactSettings.Builder, + com.google.cloud.domains.v1.ContactSettingsOrBuilder> + pendingContactSettingsBuilder_; /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3465,13 +4024,18 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOr
      * email they receive.
      * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the pendingContactSettings field is set. */ public boolean hasPendingContactSettings() { return pendingContactSettingsBuilder_ != null || pendingContactSettings_ != null; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3482,17 +4046,24 @@ public boolean hasPendingContactSettings() {
      * email they receive.
      * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pendingContactSettings. */ public com.google.cloud.domains.v1.ContactSettings getPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { - return pendingContactSettings_ == null ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : pendingContactSettings_; + return pendingContactSettings_ == null + ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() + : pendingContactSettings_; } else { return pendingContactSettingsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3503,7 +4074,9 @@ public com.google.cloud.domains.v1.ContactSettings getPendingContactSettings() {
      * email they receive.
      * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPendingContactSettings(com.google.cloud.domains.v1.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { @@ -3519,6 +4092,8 @@ public Builder setPendingContactSettings(com.google.cloud.domains.v1.ContactSett return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3529,7 +4104,9 @@ public Builder setPendingContactSettings(com.google.cloud.domains.v1.ContactSett
      * email they receive.
      * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPendingContactSettings( com.google.cloud.domains.v1.ContactSettings.Builder builderForValue) { @@ -3543,6 +4120,8 @@ public Builder setPendingContactSettings( return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3553,13 +4132,17 @@ public Builder setPendingContactSettings(
      * email they receive.
      * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePendingContactSettings(com.google.cloud.domains.v1.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { if (pendingContactSettings_ != null) { pendingContactSettings_ = - com.google.cloud.domains.v1.ContactSettings.newBuilder(pendingContactSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.ContactSettings.newBuilder(pendingContactSettings_) + .mergeFrom(value) + .buildPartial(); } else { pendingContactSettings_ = value; } @@ -3571,6 +4154,8 @@ public Builder mergePendingContactSettings(com.google.cloud.domains.v1.ContactSe return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3581,7 +4166,9 @@ public Builder mergePendingContactSettings(com.google.cloud.domains.v1.ContactSe
      * email they receive.
      * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { @@ -3595,6 +4182,8 @@ public Builder clearPendingContactSettings() { return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3605,14 +4194,18 @@ public Builder clearPendingContactSettings() {
      * email they receive.
      * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1.ContactSettings.Builder getPendingContactSettingsBuilder() { - + onChanged(); return getPendingContactSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3623,17 +4216,23 @@ public com.google.cloud.domains.v1.ContactSettings.Builder getPendingContactSett
      * email they receive.
      * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.domains.v1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { + public com.google.cloud.domains.v1.ContactSettingsOrBuilder + getPendingContactSettingsOrBuilder() { if (pendingContactSettingsBuilder_ != null) { return pendingContactSettingsBuilder_.getMessageOrBuilder(); } else { - return pendingContactSettings_ == null ? - com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() : pendingContactSettings_; + return pendingContactSettings_ == null + ? com.google.cloud.domains.v1.ContactSettings.getDefaultInstance() + : pendingContactSettings_; } } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3644,24 +4243,29 @@ public com.google.cloud.domains.v1.ContactSettingsOrBuilder getPendingContactSet
      * email they receive.
      * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1.ContactSettings, + com.google.cloud.domains.v1.ContactSettings.Builder, + com.google.cloud.domains.v1.ContactSettingsOrBuilder> getPendingContactSettingsFieldBuilder() { if (pendingContactSettingsBuilder_ == null) { - pendingContactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.ContactSettings, com.google.cloud.domains.v1.ContactSettings.Builder, com.google.cloud.domains.v1.ContactSettingsOrBuilder>( - getPendingContactSettings(), - getParentForChildren(), - isClean()); + pendingContactSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.ContactSettings, + com.google.cloud.domains.v1.ContactSettings.Builder, + com.google.cloud.domains.v1.ContactSettingsOrBuilder>( + getPendingContactSettings(), getParentForChildren(), isClean()); pendingContactSettings_ = null; } return pendingContactSettingsBuilder_; } - private java.util.List supportedPrivacy_ = - java.util.Collections.emptyList(); + private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); + private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -3669,37 +4273,53 @@ private void ensureSupportedPrivacyIsMutable() { } } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the supportedPrivacy. */ public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -3707,12 +4327,17 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -3728,12 +4353,17 @@ public Builder setSupportedPrivacy( return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -3747,12 +4377,17 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1.ContactPrivacy va return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -3766,12 +4401,17 @@ public Builder addAllSupportedPrivacy( return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -3781,25 +4421,34 @@ public Builder clearSupportedPrivacy() { return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -3807,30 +4456,39 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue( - int index, int value) { + public Builder setSupportedPrivacyValue(int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -3841,17 +4499,21 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue( - java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -3859,9 +4521,9 @@ public Builder addAllSupportedPrivacyValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3871,12 +4533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.Registration) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.Registration) private static final com.google.cloud.domains.v1.Registration DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.Registration(); } @@ -3885,16 +4547,16 @@ public static com.google.cloud.domains.v1.Registration getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Registration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Registration(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Registration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Registration(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3909,6 +4571,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.Registration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationName.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationName.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java index 638b2fc8..14bf023b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RegistrationOrBuilder.java @@ -1,177 +1,265 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RegistrationOrBuilder extends +public interface RegistrationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.Registration) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** + * + * *
    * Output only. The state of the `Registration`
    * 
* - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the `Registration`
    * 
* - * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.domains.v1.Registration.State getState(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the issues. */ java.util.List getIssuesList(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of issues. */ int getIssuesCount(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The issues at the given index. */ com.google.cloud.domains.v1.Registration.Issue getIssues(int index); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for issues. */ - java.util.List - getIssuesValueList(); + java.util.List getIssuesValueList(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ int getIssuesValue(int index); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -180,30 +268,31 @@ public interface RegistrationOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - 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(); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -212,22 +301,24 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -236,10 +327,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -248,10 +342,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1.ManagementSettings management_settings = 10; + * * @return The managementSettings. */ com.google.cloud.domains.v1.ManagementSettings getManagementSettings(); /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -264,6 +361,8 @@ java.lang.String getLabelsOrThrow(
   com.google.cloud.domains.v1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -271,10 +370,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; + * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -282,10 +384,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1.DnsSettings dns_settings = 11; + * * @return The dnsSettings. */ com.google.cloud.domains.v1.DnsSettings getDnsSettings(); /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -297,39 +402,55 @@ java.lang.String getLabelsOrThrow(
   com.google.cloud.domains.v1.DnsSettingsOrBuilder getDnsSettingsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contactSettings. */ com.google.cloud.domains.v1.ContactSettings getContactSettings(); /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -340,11 +461,16 @@ java.lang.String getLabelsOrThrow(
    * email they receive.
    * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the pendingContactSettings field is set. */ boolean hasPendingContactSettings(); /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -355,11 +481,16 @@ java.lang.String getLabelsOrThrow(
    * email they receive.
    * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pendingContactSettings. */ com.google.cloud.domains.v1.ContactSettings getPendingContactSettings(); /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -370,59 +501,85 @@ java.lang.String getLabelsOrThrow(
    * email they receive.
    * 
* - * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.domains.v1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List - getSupportedPrivacyValueList(); + java.util.List getSupportedPrivacyValueList(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java index bf72c886..778f1864 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `ResetAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.ResetAuthorizationCodeRequest} */ -public final class ResetAuthorizationCodeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResetAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.ResetAuthorizationCodeRequest) ResetAuthorizationCodeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResetAuthorizationCodeRequest.newBuilder() to construct. private ResetAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResetAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResetAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResetAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResetAuthorizationCodeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + registration_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResetAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.class, + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getRegistration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -178,15 +205,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.domains.v1.ResetAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest other = (com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest other = + (com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ResetAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.ResetAuthorizationCodeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.ResetAuthorizationCodeRequest) com.google.cloud.domains.v1.ResetAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.class, + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.domains.v1.ResetAuthorizationCodeRequest build() { @java.lang.Override public com.google.cloud.domains.v1.ResetAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1.ResetAuthorizationCodeRequest result = new com.google.cloud.domains.v1.ResetAuthorizationCodeRequest(this); + com.google.cloud.domains.v1.ResetAuthorizationCodeRequest result = + new com.google.cloud.domains.v1.ResetAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.domains.v1.ResetAuthorizationCodeRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1.ResetAuthorizationCodeRequest)other); + return mergeFrom((com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.ResetAuthorizationCodeRequest other) { - if (other == com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.ResetAuthorizationCodeRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.ResetAuthorizationCodeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -470,21 +514,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -492,64 +539,77 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.ResetAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.ResetAuthorizationCodeRequest) private static final com.google.cloud.domains.v1.ResetAuthorizationCodeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.ResetAuthorizationCodeRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.domains.v1.ResetAuthorizationCodeRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResetAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.domains.v1.ResetAuthorizationCodeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..ff07567e --- /dev/null +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/ResetAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1/domains.proto + +package com.google.cloud.domains.v1; + +public interface ResetAuthorizationCodeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.ResetAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The registration. + */ + java.lang.String getRegistration(); + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for registration. + */ + com.google.protobuf.ByteString getRegistrationBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java index ab649e6b..f9045b83 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `RetrieveAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveAuthorizationCodeRequest} */ -public final class RetrieveAuthorizationCodeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) RetrieveAuthorizationCodeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveAuthorizationCodeRequest.newBuilder() to construct. - private RetrieveAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveAuthorizationCodeRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetrieveAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private RetrieveAuthorizationCodeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + registration_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +92,42 @@ private RetrieveAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.class, + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -110,30 +136,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -142,6 +170,7 @@ public java.lang.String getRegistration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -178,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.domains.v1.RetrieveAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest other = (com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest other = + (com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +234,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveAuthorizationCodeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.class, + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.newBuilder() @@ -324,16 +362,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +380,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.getDefaultInstance(); } @@ -364,7 +402,8 @@ public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest build() { @java.lang.Override public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest result = new com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest(this); + com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest result = + new com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -374,38 +413,39 @@ public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest)other); + return mergeFrom((com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +453,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest other) { - if (other == com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -437,7 +479,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +492,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -470,21 +517,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -492,64 +542,77 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -559,12 +622,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) - private static final com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest(); } @@ -573,16 +637,16 @@ public static com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +661,4 @@ public com.google.protobuf.Parser getParserFor public com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..81f7d878 --- /dev/null +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1/domains.proto + +package com.google.cloud.domains.v1; + +public interface RetrieveAuthorizationCodeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The registration. + */ + java.lang.String getRegistration(); + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for registration. + */ + com.google.protobuf.ByteString getRegistrationBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java index 1345051d..6a4e8280 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveRegisterParametersRequest} */ -public final class RetrieveRegisterParametersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveRegisterParametersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RetrieveRegisterParametersRequest) RetrieveRegisterParametersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersRequest.newBuilder() to construct. - private RetrieveRegisterParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetrieveRegisterParametersRequest() { domainName_ = ""; location_ = ""; @@ -26,16 +45,15 @@ private RetrieveRegisterParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveRegisterParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveRegisterParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +72,27 @@ private RetrieveRegisterParametersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,39 @@ private RetrieveRegisterParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.class, + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ @java.lang.Override @@ -116,29 +141,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -149,11 +174,16 @@ public java.lang.String getDomainName() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -162,29 +192,31 @@ 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; } } /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -193,6 +225,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -235,17 +267,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.domains.v1.RetrieveRegisterParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest other = (com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) obj; + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest other = + (com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +298,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.RetrieveRegisterParametersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveRegisterParametersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RetrieveRegisterParametersRequest) com.google.cloud.domains.v1.RetrieveRegisterParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.class, + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.newBuilder() @@ -385,16 +426,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,13 +446,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.getDefaultInstance(); } @@ -427,7 +468,8 @@ public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest build() { @java.lang.Override public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest buildPartial() { - com.google.cloud.domains.v1.RetrieveRegisterParametersRequest result = new com.google.cloud.domains.v1.RetrieveRegisterParametersRequest(this); + com.google.cloud.domains.v1.RetrieveRegisterParametersRequest result = + new com.google.cloud.domains.v1.RetrieveRegisterParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -438,38 +480,39 @@ public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) { - return mergeFrom((com.google.cloud.domains.v1.RetrieveRegisterParametersRequest)other); + return mergeFrom((com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +520,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RetrieveRegisterParametersRequest other) { - if (other == com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.domains.v1.RetrieveRegisterParametersRequest.getDefaultInstance()) + return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -505,7 +550,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.RetrieveRegisterParametersRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +564,20 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -537,20 +586,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -558,54 +608,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -613,18 +670,22 @@ public Builder setDomainNameBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -633,20 +694,23 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -654,61 +718,74 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +795,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RetrieveRegisterParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RetrieveRegisterParametersRequest) - private static final com.google.cloud.domains.v1.RetrieveRegisterParametersRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1.RetrieveRegisterParametersRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RetrieveRegisterParametersRequest(); } @@ -732,16 +810,16 @@ public static com.google.cloud.domains.v1.RetrieveRegisterParametersRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +834,4 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.domains.v1.RetrieveRegisterParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java index 6b1a0796..bea54674 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersRequestOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RetrieveRegisterParametersRequestOrBuilder extends +public interface RetrieveRegisterParametersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveRegisterParametersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java index a08562cf..43dd3152 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponse.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Response for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveRegisterParametersResponse} */ -public final class RetrieveRegisterParametersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveRegisterParametersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RetrieveRegisterParametersResponse) RetrieveRegisterParametersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersResponse.newBuilder() to construct. - private RetrieveRegisterParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveRegisterParametersResponse() { - } + + private RetrieveRegisterParametersResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveRegisterParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveRegisterParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +69,29 @@ private RetrieveRegisterParametersResponse( case 0: done = true; break; - case 10: { - com.google.cloud.domains.v1.RegisterParameters.Builder subBuilder = null; - if (registerParameters_ != null) { - subBuilder = registerParameters_.toBuilder(); - } - registerParameters_ = input.readMessage(com.google.cloud.domains.v1.RegisterParameters.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registerParameters_); - registerParameters_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.domains.v1.RegisterParameters.Builder subBuilder = null; + if (registerParameters_ != null) { + subBuilder = registerParameters_.toBuilder(); + } + registerParameters_ = + input.readMessage( + com.google.cloud.domains.v1.RegisterParameters.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registerParameters_); + registerParameters_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +99,39 @@ private RetrieveRegisterParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.class, + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1.RegisterParameters registerParameters_; /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; + * * @return Whether the registerParameters field is set. */ @java.lang.Override @@ -114,18 +139,25 @@ public boolean hasRegisterParameters() { return registerParameters_ != null; } /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; + * * @return The registerParameters. */ @java.lang.Override public com.google.cloud.domains.v1.RegisterParameters getRegisterParameters() { - return registerParameters_ == null ? com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() : registerParameters_; + return registerParameters_ == null + ? com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() + : registerParameters_; } /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
@@ -138,6 +170,7 @@ public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParame } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (registerParameters_ != null) { output.writeMessage(1, getRegisterParameters()); } @@ -164,8 +196,7 @@ public int getSerializedSize() { size = 0; if (registerParameters_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRegisterParameters()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegisterParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1.RetrieveRegisterParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse other = (com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) obj; + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse other = + (com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) obj; if (hasRegisterParameters() != other.hasRegisterParameters()) return false; if (hasRegisterParameters()) { - if (!getRegisterParameters() - .equals(other.getRegisterParameters())) return false; + if (!getRegisterParameters().equals(other.getRegisterParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,117 +239,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.RetrieveRegisterParametersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveRegisterParametersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RetrieveRegisterParametersResponse) com.google.cloud.domains.v1.RetrieveRegisterParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.class, + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.Builder.class); } // Construct using com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.newBuilder() @@ -326,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,13 +389,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse + getDefaultInstanceForType() { return com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.getDefaultInstance(); } @@ -370,7 +411,8 @@ public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse build() { @java.lang.Override public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse buildPartial() { - com.google.cloud.domains.v1.RetrieveRegisterParametersResponse result = new com.google.cloud.domains.v1.RetrieveRegisterParametersResponse(this); + com.google.cloud.domains.v1.RetrieveRegisterParametersResponse result = + new com.google.cloud.domains.v1.RetrieveRegisterParametersResponse(this); if (registerParametersBuilder_ == null) { result.registerParameters_ = registerParameters_; } else { @@ -384,38 +426,39 @@ public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) { - return mergeFrom((com.google.cloud.domains.v1.RetrieveRegisterParametersResponse)other); + return mergeFrom((com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) other); } else { super.mergeFrom(other); return this; @@ -423,7 +466,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RetrieveRegisterParametersResponse other) { - if (other == com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.domains.v1.RetrieveRegisterParametersResponse.getDefaultInstance()) + return this; if (other.hasRegisterParameters()) { mergeRegisterParameters(other.getRegisterParameters()); } @@ -446,7 +491,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.RetrieveRegisterParametersResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,34 +505,47 @@ public Builder mergeFrom( private com.google.cloud.domains.v1.RegisterParameters registerParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder> registerParametersBuilder_; + com.google.cloud.domains.v1.RegisterParameters, + com.google.cloud.domains.v1.RegisterParameters.Builder, + com.google.cloud.domains.v1.RegisterParametersOrBuilder> + registerParametersBuilder_; /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; + * * @return Whether the registerParameters field is set. */ public boolean hasRegisterParameters() { return registerParametersBuilder_ != null || registerParameters_ != null; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; + * * @return The registerParameters. */ public com.google.cloud.domains.v1.RegisterParameters getRegisterParameters() { if (registerParametersBuilder_ == null) { - return registerParameters_ == null ? com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() : registerParameters_; + return registerParameters_ == null + ? com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() + : registerParameters_; } else { return registerParametersBuilder_.getMessage(); } } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -506,6 +566,8 @@ public Builder setRegisterParameters(com.google.cloud.domains.v1.RegisterParamet return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -524,6 +586,8 @@ public Builder setRegisterParameters( return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -534,7 +598,9 @@ public Builder mergeRegisterParameters(com.google.cloud.domains.v1.RegisterParam if (registerParametersBuilder_ == null) { if (registerParameters_ != null) { registerParameters_ = - com.google.cloud.domains.v1.RegisterParameters.newBuilder(registerParameters_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.RegisterParameters.newBuilder(registerParameters_) + .mergeFrom(value) + .buildPartial(); } else { registerParameters_ = value; } @@ -546,6 +612,8 @@ public Builder mergeRegisterParameters(com.google.cloud.domains.v1.RegisterParam return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -564,6 +632,8 @@ public Builder clearRegisterParameters() { return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -571,26 +641,32 @@ public Builder clearRegisterParameters() { * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ public com.google.cloud.domains.v1.RegisterParameters.Builder getRegisterParametersBuilder() { - + onChanged(); return getRegisterParametersFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParametersOrBuilder() { + public com.google.cloud.domains.v1.RegisterParametersOrBuilder + getRegisterParametersOrBuilder() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilder(); } else { - return registerParameters_ == null ? - com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() : registerParameters_; + return registerParameters_ == null + ? com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance() + : registerParameters_; } } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -598,21 +674,24 @@ public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParame * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder> + com.google.cloud.domains.v1.RegisterParameters, + com.google.cloud.domains.v1.RegisterParameters.Builder, + com.google.cloud.domains.v1.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder>( - getRegisterParameters(), - getParentForChildren(), - isClean()); + registerParametersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.RegisterParameters, + com.google.cloud.domains.v1.RegisterParameters.Builder, + com.google.cloud.domains.v1.RegisterParametersOrBuilder>( + getRegisterParameters(), getParentForChildren(), isClean()); registerParameters_ = null; } return registerParametersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -622,30 +701,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RetrieveRegisterParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RetrieveRegisterParametersResponse) - private static final com.google.cloud.domains.v1.RetrieveRegisterParametersResponse DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1.RetrieveRegisterParametersResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RetrieveRegisterParametersResponse(); } - public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse getDefaultInstance() { + public static com.google.cloud.domains.v1.RetrieveRegisterParametersResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,9 +738,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveRegisterParametersResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java index 40019149..848ea761 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveRegisterParametersResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RetrieveRegisterParametersResponseOrBuilder extends +public interface RetrieveRegisterParametersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveRegisterParametersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; + * * @return Whether the registerParameters field is set. */ boolean hasRegisterParameters(); /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1.RegisterParameters register_parameters = 1; + * * @return The registerParameters. */ com.google.cloud.domains.v1.RegisterParameters getRegisterParameters(); /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java index 20b96e6e..b009dcac 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveTransferParametersRequest} */ -public final class RetrieveTransferParametersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveTransferParametersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RetrieveTransferParametersRequest) RetrieveTransferParametersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersRequest.newBuilder() to construct. - private RetrieveTransferParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetrieveTransferParametersRequest() { domainName_ = ""; location_ = ""; @@ -26,16 +45,15 @@ private RetrieveTransferParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveTransferParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveTransferParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +72,27 @@ private RetrieveTransferParametersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,39 @@ private RetrieveTransferParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveTransferParametersRequest.class, + com.google.cloud.domains.v1.RetrieveTransferParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ @java.lang.Override @@ -116,29 +141,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -149,11 +174,16 @@ public java.lang.String getDomainName() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -162,29 +192,31 @@ 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; } } /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -193,6 +225,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -235,17 +267,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.domains.v1.RetrieveTransferParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.RetrieveTransferParametersRequest other = (com.google.cloud.domains.v1.RetrieveTransferParametersRequest) obj; + com.google.cloud.domains.v1.RetrieveTransferParametersRequest other = + (com.google.cloud.domains.v1.RetrieveTransferParametersRequest) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +298,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.RetrieveTransferParametersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.RetrieveTransferParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveTransferParametersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RetrieveTransferParametersRequest) com.google.cloud.domains.v1.RetrieveTransferParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1.RetrieveTransferParametersRequest.class, + com.google.cloud.domains.v1.RetrieveTransferParametersRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.RetrieveTransferParametersRequest.newBuilder() @@ -385,16 +426,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,13 +446,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveTransferParametersRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveTransferParametersRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1.RetrieveTransferParametersRequest.getDefaultInstance(); } @@ -427,7 +468,8 @@ public com.google.cloud.domains.v1.RetrieveTransferParametersRequest build() { @java.lang.Override public com.google.cloud.domains.v1.RetrieveTransferParametersRequest buildPartial() { - com.google.cloud.domains.v1.RetrieveTransferParametersRequest result = new com.google.cloud.domains.v1.RetrieveTransferParametersRequest(this); + com.google.cloud.domains.v1.RetrieveTransferParametersRequest result = + new com.google.cloud.domains.v1.RetrieveTransferParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -438,38 +480,39 @@ public com.google.cloud.domains.v1.RetrieveTransferParametersRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RetrieveTransferParametersRequest) { - return mergeFrom((com.google.cloud.domains.v1.RetrieveTransferParametersRequest)other); + return mergeFrom((com.google.cloud.domains.v1.RetrieveTransferParametersRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +520,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RetrieveTransferParametersRequest other) { - if (other == com.google.cloud.domains.v1.RetrieveTransferParametersRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.domains.v1.RetrieveTransferParametersRequest.getDefaultInstance()) + return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -505,7 +550,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.RetrieveTransferParametersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.RetrieveTransferParametersRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +564,20 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -537,20 +586,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -558,54 +608,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -613,18 +670,22 @@ public Builder setDomainNameBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -633,20 +694,23 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -654,61 +718,74 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +795,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RetrieveTransferParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RetrieveTransferParametersRequest) - private static final com.google.cloud.domains.v1.RetrieveTransferParametersRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1.RetrieveTransferParametersRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RetrieveTransferParametersRequest(); } @@ -732,16 +810,16 @@ public static com.google.cloud.domains.v1.RetrieveTransferParametersRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +834,4 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.domains.v1.RetrieveTransferParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java index 28744587..dcf23ba9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersRequestOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RetrieveTransferParametersRequestOrBuilder extends +public interface RetrieveTransferParametersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveTransferParametersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java index 0e5da395..321ca079 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponse.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Response for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveTransferParametersResponse} */ -public final class RetrieveTransferParametersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveTransferParametersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.RetrieveTransferParametersResponse) RetrieveTransferParametersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersResponse.newBuilder() to construct. - private RetrieveTransferParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveTransferParametersResponse() { - } + + private RetrieveTransferParametersResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveTransferParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveTransferParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +69,29 @@ private RetrieveTransferParametersResponse( case 0: done = true; break; - case 10: { - com.google.cloud.domains.v1.TransferParameters.Builder subBuilder = null; - if (transferParameters_ != null) { - subBuilder = transferParameters_.toBuilder(); - } - transferParameters_ = input.readMessage(com.google.cloud.domains.v1.TransferParameters.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferParameters_); - transferParameters_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.domains.v1.TransferParameters.Builder subBuilder = null; + if (transferParameters_ != null) { + subBuilder = transferParameters_.toBuilder(); + } + transferParameters_ = + input.readMessage( + com.google.cloud.domains.v1.TransferParameters.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferParameters_); + transferParameters_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +99,39 @@ private RetrieveTransferParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1.RetrieveTransferParametersResponse.class, + com.google.cloud.domains.v1.RetrieveTransferParametersResponse.Builder.class); } public static final int TRANSFER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1.TransferParameters transferParameters_; /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; + * * @return Whether the transferParameters field is set. */ @java.lang.Override @@ -114,18 +139,25 @@ public boolean hasTransferParameters() { return transferParameters_ != null; } /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; + * * @return The transferParameters. */ @java.lang.Override public com.google.cloud.domains.v1.TransferParameters getTransferParameters() { - return transferParameters_ == null ? com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() : transferParameters_; + return transferParameters_ == null + ? com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() + : transferParameters_; } /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
@@ -138,6 +170,7 @@ public com.google.cloud.domains.v1.TransferParametersOrBuilder getTransferParame } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (transferParameters_ != null) { output.writeMessage(1, getTransferParameters()); } @@ -164,8 +196,7 @@ public int getSerializedSize() { size = 0; if (transferParameters_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTransferParameters()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1.RetrieveTransferParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1.RetrieveTransferParametersResponse other = (com.google.cloud.domains.v1.RetrieveTransferParametersResponse) obj; + com.google.cloud.domains.v1.RetrieveTransferParametersResponse other = + (com.google.cloud.domains.v1.RetrieveTransferParametersResponse) obj; if (hasTransferParameters() != other.hasTransferParameters()) return false; if (hasTransferParameters()) { - if (!getTransferParameters() - .equals(other.getTransferParameters())) return false; + if (!getTransferParameters().equals(other.getTransferParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,117 +239,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.RetrieveTransferParametersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.RetrieveTransferParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.RetrieveTransferParametersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.RetrieveTransferParametersResponse) com.google.cloud.domains.v1.RetrieveTransferParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1.RetrieveTransferParametersResponse.class, + com.google.cloud.domains.v1.RetrieveTransferParametersResponse.Builder.class); } // Construct using com.google.cloud.domains.v1.RetrieveTransferParametersResponse.newBuilder() @@ -326,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,13 +389,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveTransferParametersResponse getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveTransferParametersResponse + getDefaultInstanceForType() { return com.google.cloud.domains.v1.RetrieveTransferParametersResponse.getDefaultInstance(); } @@ -370,7 +411,8 @@ public com.google.cloud.domains.v1.RetrieveTransferParametersResponse build() { @java.lang.Override public com.google.cloud.domains.v1.RetrieveTransferParametersResponse buildPartial() { - com.google.cloud.domains.v1.RetrieveTransferParametersResponse result = new com.google.cloud.domains.v1.RetrieveTransferParametersResponse(this); + com.google.cloud.domains.v1.RetrieveTransferParametersResponse result = + new com.google.cloud.domains.v1.RetrieveTransferParametersResponse(this); if (transferParametersBuilder_ == null) { result.transferParameters_ = transferParameters_; } else { @@ -384,38 +426,39 @@ public com.google.cloud.domains.v1.RetrieveTransferParametersResponse buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.RetrieveTransferParametersResponse) { - return mergeFrom((com.google.cloud.domains.v1.RetrieveTransferParametersResponse)other); + return mergeFrom((com.google.cloud.domains.v1.RetrieveTransferParametersResponse) other); } else { super.mergeFrom(other); return this; @@ -423,7 +466,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.RetrieveTransferParametersResponse other) { - if (other == com.google.cloud.domains.v1.RetrieveTransferParametersResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.domains.v1.RetrieveTransferParametersResponse.getDefaultInstance()) + return this; if (other.hasTransferParameters()) { mergeTransferParameters(other.getTransferParameters()); } @@ -446,7 +491,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.RetrieveTransferParametersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.RetrieveTransferParametersResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,34 +505,47 @@ public Builder mergeFrom( private com.google.cloud.domains.v1.TransferParameters transferParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.TransferParameters, com.google.cloud.domains.v1.TransferParameters.Builder, com.google.cloud.domains.v1.TransferParametersOrBuilder> transferParametersBuilder_; + com.google.cloud.domains.v1.TransferParameters, + com.google.cloud.domains.v1.TransferParameters.Builder, + com.google.cloud.domains.v1.TransferParametersOrBuilder> + transferParametersBuilder_; /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; + * * @return Whether the transferParameters field is set. */ public boolean hasTransferParameters() { return transferParametersBuilder_ != null || transferParameters_ != null; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; + * * @return The transferParameters. */ public com.google.cloud.domains.v1.TransferParameters getTransferParameters() { if (transferParametersBuilder_ == null) { - return transferParameters_ == null ? com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() : transferParameters_; + return transferParameters_ == null + ? com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() + : transferParameters_; } else { return transferParametersBuilder_.getMessage(); } } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -506,6 +566,8 @@ public Builder setTransferParameters(com.google.cloud.domains.v1.TransferParamet return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -524,6 +586,8 @@ public Builder setTransferParameters( return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -534,7 +598,9 @@ public Builder mergeTransferParameters(com.google.cloud.domains.v1.TransferParam if (transferParametersBuilder_ == null) { if (transferParameters_ != null) { transferParameters_ = - com.google.cloud.domains.v1.TransferParameters.newBuilder(transferParameters_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.TransferParameters.newBuilder(transferParameters_) + .mergeFrom(value) + .buildPartial(); } else { transferParameters_ = value; } @@ -546,6 +612,8 @@ public Builder mergeTransferParameters(com.google.cloud.domains.v1.TransferParam return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -564,6 +632,8 @@ public Builder clearTransferParameters() { return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -571,26 +641,32 @@ public Builder clearTransferParameters() { * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; */ public com.google.cloud.domains.v1.TransferParameters.Builder getTransferParametersBuilder() { - + onChanged(); return getTransferParametersFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; */ - public com.google.cloud.domains.v1.TransferParametersOrBuilder getTransferParametersOrBuilder() { + public com.google.cloud.domains.v1.TransferParametersOrBuilder + getTransferParametersOrBuilder() { if (transferParametersBuilder_ != null) { return transferParametersBuilder_.getMessageOrBuilder(); } else { - return transferParameters_ == null ? - com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() : transferParameters_; + return transferParameters_ == null + ? com.google.cloud.domains.v1.TransferParameters.getDefaultInstance() + : transferParameters_; } } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -598,21 +674,24 @@ public com.google.cloud.domains.v1.TransferParametersOrBuilder getTransferParame * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.TransferParameters, com.google.cloud.domains.v1.TransferParameters.Builder, com.google.cloud.domains.v1.TransferParametersOrBuilder> + com.google.cloud.domains.v1.TransferParameters, + com.google.cloud.domains.v1.TransferParameters.Builder, + com.google.cloud.domains.v1.TransferParametersOrBuilder> getTransferParametersFieldBuilder() { if (transferParametersBuilder_ == null) { - transferParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.TransferParameters, com.google.cloud.domains.v1.TransferParameters.Builder, com.google.cloud.domains.v1.TransferParametersOrBuilder>( - getTransferParameters(), - getParentForChildren(), - isClean()); + transferParametersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.TransferParameters, + com.google.cloud.domains.v1.TransferParameters.Builder, + com.google.cloud.domains.v1.TransferParametersOrBuilder>( + getTransferParameters(), getParentForChildren(), isClean()); transferParameters_ = null; } return transferParametersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -622,30 +701,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.RetrieveTransferParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.RetrieveTransferParametersResponse) - private static final com.google.cloud.domains.v1.RetrieveTransferParametersResponse DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1.RetrieveTransferParametersResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.RetrieveTransferParametersResponse(); } - public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse getDefaultInstance() { + public static com.google.cloud.domains.v1.RetrieveTransferParametersResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,9 +738,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1.RetrieveTransferParametersResponse getDefaultInstanceForType() { + public com.google.cloud.domains.v1.RetrieveTransferParametersResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java index f8b7028f..862edc91 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/RetrieveTransferParametersResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface RetrieveTransferParametersResponseOrBuilder extends +public interface RetrieveTransferParametersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.RetrieveTransferParametersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; + * * @return Whether the transferParameters field is set. */ boolean hasTransferParameters(); /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1.TransferParameters transfer_parameters = 1; + * * @return The transferParameters. */ com.google.cloud.domains.v1.TransferParameters getTransferParameters(); /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java index fc54a3be..73be8014 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.SearchDomainsRequest} */ -public final class SearchDomainsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchDomainsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.SearchDomainsRequest) SearchDomainsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchDomainsRequest.newBuilder() to construct. private SearchDomainsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchDomainsRequest() { query_ = ""; location_ = ""; @@ -26,16 +44,15 @@ private SearchDomainsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchDomainsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchDomainsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private SearchDomainsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private SearchDomainsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.SearchDomainsRequest.class, com.google.cloud.domains.v1.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1.SearchDomainsRequest.class, + com.google.cloud.domains.v1.SearchDomainsRequest.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -149,11 +173,16 @@ public java.lang.String getQuery() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -162,29 +191,31 @@ 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; } } /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -235,17 +266,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.domains.v1.SearchDomainsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.SearchDomainsRequest other = (com.google.cloud.domains.v1.SearchDomainsRequest) obj; + com.google.cloud.domains.v1.SearchDomainsRequest other = + (com.google.cloud.domains.v1.SearchDomainsRequest) obj; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -266,118 +296,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.SearchDomainsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.SearchDomainsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.SearchDomainsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.SearchDomainsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.SearchDomainsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.SearchDomainsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.SearchDomainsRequest) com.google.cloud.domains.v1.SearchDomainsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.SearchDomainsRequest.class, com.google.cloud.domains.v1.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1.SearchDomainsRequest.class, + com.google.cloud.domains.v1.SearchDomainsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.SearchDomainsRequest.newBuilder() @@ -385,16 +424,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_SearchDomainsRequest_descriptor; } @java.lang.Override @@ -427,7 +465,8 @@ public com.google.cloud.domains.v1.SearchDomainsRequest build() { @java.lang.Override public com.google.cloud.domains.v1.SearchDomainsRequest buildPartial() { - com.google.cloud.domains.v1.SearchDomainsRequest result = new com.google.cloud.domains.v1.SearchDomainsRequest(this); + com.google.cloud.domains.v1.SearchDomainsRequest result = + new com.google.cloud.domains.v1.SearchDomainsRequest(this); result.query_ = query_; result.location_ = location_; onBuilt(); @@ -438,38 +477,39 @@ public com.google.cloud.domains.v1.SearchDomainsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.SearchDomainsRequest) { - return mergeFrom((com.google.cloud.domains.v1.SearchDomainsRequest)other); + return mergeFrom((com.google.cloud.domains.v1.SearchDomainsRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +517,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.SearchDomainsRequest other) { - if (other == com.google.cloud.domains.v1.SearchDomainsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.SearchDomainsRequest.getDefaultInstance()) + return this; if (!other.getQuery().isEmpty()) { query_ = other.query_; onChanged(); @@ -517,18 +558,20 @@ public Builder mergeFrom( private java.lang.Object query_ = ""; /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -537,20 +580,21 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -558,54 +602,61 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -613,18 +664,22 @@ public Builder setQueryBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -633,20 +688,23 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -654,61 +712,74 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +789,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.SearchDomainsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.SearchDomainsRequest) private static final com.google.cloud.domains.v1.SearchDomainsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.SearchDomainsRequest(); } @@ -732,16 +803,16 @@ public static com.google.cloud.domains.v1.SearchDomainsRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +827,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.SearchDomainsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java index 5db049cd..9576d906 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsRequestOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface SearchDomainsRequestOrBuilder extends +public interface SearchDomainsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.SearchDomainsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java index 5504abea..1493eb5f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Response for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.SearchDomainsResponse} */ -public final class SearchDomainsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchDomainsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.SearchDomainsResponse) SearchDomainsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchDomainsResponse.newBuilder() to construct. private SearchDomainsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchDomainsResponse() { registerParameters_ = 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 SearchDomainsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchDomainsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,25 @@ private SearchDomainsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registerParameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registerParameters_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + registerParameters_.add( + input.readMessage( + com.google.cloud.domains.v1.RegisterParameters.parser(), extensionRegistry)); + break; } - registerParameters_.add( - input.readMessage(com.google.cloud.domains.v1.RegisterParameters.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +97,7 @@ private SearchDomainsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registerParameters_ = java.util.Collections.unmodifiableList(registerParameters_); @@ -87,22 +106,27 @@ private SearchDomainsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.SearchDomainsResponse.class, com.google.cloud.domains.v1.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1.SearchDomainsResponse.class, + com.google.cloud.domains.v1.SearchDomainsResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private java.util.List registerParameters_; /** + * + * *
    * Results of the domain name search.
    * 
@@ -110,10 +134,13 @@ private SearchDomainsResponse( * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public java.util.List getRegisterParametersList() { + public java.util.List + getRegisterParametersList() { return registerParameters_; } /** + * + * *
    * Results of the domain name search.
    * 
@@ -121,11 +148,13 @@ public java.util.List getRegiste * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegisterParametersOrBuilderList() { return registerParameters_; } /** + * + * *
    * Results of the domain name search.
    * 
@@ -137,6 +166,8 @@ public int getRegisterParametersCount() { return registerParameters_.size(); } /** + * + * *
    * Results of the domain name search.
    * 
@@ -148,6 +179,8 @@ public com.google.cloud.domains.v1.RegisterParameters getRegisterParameters(int return registerParameters_.get(index); } /** + * + * *
    * Results of the domain name search.
    * 
@@ -161,6 +194,7 @@ public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParame } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < registerParameters_.size(); i++) { output.writeMessage(1, registerParameters_.get(i)); } @@ -187,8 +220,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registerParameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, registerParameters_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, registerParameters_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +231,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.domains.v1.SearchDomainsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1.SearchDomainsResponse other = (com.google.cloud.domains.v1.SearchDomainsResponse) obj; + com.google.cloud.domains.v1.SearchDomainsResponse other = + (com.google.cloud.domains.v1.SearchDomainsResponse) obj; - if (!getRegisterParametersList() - .equals(other.getRegisterParametersList())) return false; + if (!getRegisterParametersList().equals(other.getRegisterParametersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,117 +261,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.SearchDomainsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.SearchDomainsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.SearchDomainsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.SearchDomainsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.SearchDomainsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.SearchDomainsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.SearchDomainsResponse) com.google.cloud.domains.v1.SearchDomainsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.SearchDomainsResponse.class, com.google.cloud.domains.v1.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1.SearchDomainsResponse.class, + com.google.cloud.domains.v1.SearchDomainsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1.SearchDomainsResponse.newBuilder() @@ -346,17 +388,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRegisterParametersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +412,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_SearchDomainsResponse_descriptor; } @java.lang.Override @@ -391,7 +433,8 @@ public com.google.cloud.domains.v1.SearchDomainsResponse build() { @java.lang.Override public com.google.cloud.domains.v1.SearchDomainsResponse buildPartial() { - com.google.cloud.domains.v1.SearchDomainsResponse result = new com.google.cloud.domains.v1.SearchDomainsResponse(this); + com.google.cloud.domains.v1.SearchDomainsResponse result = + new com.google.cloud.domains.v1.SearchDomainsResponse(this); int from_bitField0_ = bitField0_; if (registerParametersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +453,39 @@ public com.google.cloud.domains.v1.SearchDomainsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.SearchDomainsResponse) { - return mergeFrom((com.google.cloud.domains.v1.SearchDomainsResponse)other); + return mergeFrom((com.google.cloud.domains.v1.SearchDomainsResponse) other); } else { super.mergeFrom(other); return this; @@ -449,7 +493,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.SearchDomainsResponse other) { - if (other == com.google.cloud.domains.v1.SearchDomainsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.SearchDomainsResponse.getDefaultInstance()) + return this; if (registerParametersBuilder_ == null) { if (!other.registerParameters_.isEmpty()) { if (registerParameters_.isEmpty()) { @@ -468,9 +513,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1.SearchDomainsResponse other registerParametersBuilder_ = null; registerParameters_ = other.registerParameters_; bitField0_ = (bitField0_ & ~0x00000001); - registerParametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRegisterParametersFieldBuilder() : null; + registerParametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRegisterParametersFieldBuilder() + : null; } else { registerParametersBuilder_.addAllMessages(other.registerParameters_); } @@ -495,7 +541,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.SearchDomainsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.SearchDomainsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,28 +551,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List registerParameters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRegisterParametersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registerParameters_ = new java.util.ArrayList(registerParameters_); + registerParameters_ = + new java.util.ArrayList( + registerParameters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder> registerParametersBuilder_; + com.google.cloud.domains.v1.RegisterParameters, + com.google.cloud.domains.v1.RegisterParameters.Builder, + com.google.cloud.domains.v1.RegisterParametersOrBuilder> + registerParametersBuilder_; /** + * + * *
      * Results of the domain name search.
      * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - public java.util.List getRegisterParametersList() { + public java.util.List + getRegisterParametersList() { if (registerParametersBuilder_ == null) { return java.util.Collections.unmodifiableList(registerParameters_); } else { @@ -533,6 +590,8 @@ public java.util.List getRegiste } } /** + * + * *
      * Results of the domain name search.
      * 
@@ -547,6 +606,8 @@ public int getRegisterParametersCount() { } } /** + * + * *
      * Results of the domain name search.
      * 
@@ -561,6 +622,8 @@ public com.google.cloud.domains.v1.RegisterParameters getRegisterParameters(int } } /** + * + * *
      * Results of the domain name search.
      * 
@@ -582,6 +645,8 @@ public Builder setRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
@@ -600,6 +665,8 @@ public Builder setRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
@@ -620,6 +687,8 @@ public Builder addRegisterParameters(com.google.cloud.domains.v1.RegisterParamet return this; } /** + * + * *
      * Results of the domain name search.
      * 
@@ -641,6 +710,8 @@ public Builder addRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
@@ -659,6 +730,8 @@ public Builder addRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
@@ -677,6 +750,8 @@ public Builder addRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
@@ -687,8 +762,7 @@ public Builder addAllRegisterParameters( java.lang.Iterable values) { if (registerParametersBuilder_ == null) { ensureRegisterParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, registerParameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registerParameters_); onChanged(); } else { registerParametersBuilder_.addAllMessages(values); @@ -696,6 +770,8 @@ public Builder addAllRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
@@ -713,6 +789,8 @@ public Builder clearRegisterParameters() { return this; } /** + * + * *
      * Results of the domain name search.
      * 
@@ -730,6 +808,8 @@ public Builder removeRegisterParameters(int index) { return this; } /** + * + * *
      * Results of the domain name search.
      * 
@@ -741,6 +821,8 @@ public com.google.cloud.domains.v1.RegisterParameters.Builder getRegisterParamet return getRegisterParametersFieldBuilder().getBuilder(index); } /** + * + * *
      * Results of the domain name search.
      * 
@@ -750,19 +832,22 @@ public com.google.cloud.domains.v1.RegisterParameters.Builder getRegisterParamet public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParametersOrBuilder( int index) { if (registerParametersBuilder_ == null) { - return registerParameters_.get(index); } else { + return registerParameters_.get(index); + } else { return registerParametersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results of the domain name search.
      * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersOrBuilderList() { + public java.util.List + getRegisterParametersOrBuilderList() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilderList(); } else { @@ -770,6 +855,8 @@ public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParame } } /** + * + * *
      * Results of the domain name search.
      * 
@@ -777,10 +864,12 @@ public com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParame * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ public com.google.cloud.domains.v1.RegisterParameters.Builder addRegisterParametersBuilder() { - return getRegisterParametersFieldBuilder().addBuilder( - com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance()); + return getRegisterParametersFieldBuilder() + .addBuilder(com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance()); } /** + * + * *
      * Results of the domain name search.
      * 
@@ -789,26 +878,34 @@ public com.google.cloud.domains.v1.RegisterParameters.Builder addRegisterParamet */ public com.google.cloud.domains.v1.RegisterParameters.Builder addRegisterParametersBuilder( int index) { - return getRegisterParametersFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance()); + return getRegisterParametersFieldBuilder() + .addBuilder(index, com.google.cloud.domains.v1.RegisterParameters.getDefaultInstance()); } /** + * + * *
      * Results of the domain name search.
      * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - public java.util.List - getRegisterParametersBuilderList() { + public java.util.List + getRegisterParametersBuilderList() { return getRegisterParametersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder> + com.google.cloud.domains.v1.RegisterParameters, + com.google.cloud.domains.v1.RegisterParameters.Builder, + com.google.cloud.domains.v1.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1.RegisterParameters, com.google.cloud.domains.v1.RegisterParameters.Builder, com.google.cloud.domains.v1.RegisterParametersOrBuilder>( + registerParametersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1.RegisterParameters, + com.google.cloud.domains.v1.RegisterParameters.Builder, + com.google.cloud.domains.v1.RegisterParametersOrBuilder>( registerParameters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -817,9 +914,9 @@ public com.google.cloud.domains.v1.RegisterParameters.Builder addRegisterParamet } return registerParametersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +926,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.SearchDomainsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.SearchDomainsResponse) private static final com.google.cloud.domains.v1.SearchDomainsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.SearchDomainsResponse(); } @@ -843,16 +940,16 @@ public static com.google.cloud.domains.v1.SearchDomainsResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +964,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.SearchDomainsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java index a5eec484..0e6f2ceb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/SearchDomainsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface SearchDomainsResponseOrBuilder extends +public interface SearchDomainsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.SearchDomainsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results of the domain name search.
    * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - java.util.List - getRegisterParametersList(); + java.util.List getRegisterParametersList(); /** + * + * *
    * Results of the domain name search.
    * 
@@ -25,6 +44,8 @@ public interface SearchDomainsResponseOrBuilder extends */ com.google.cloud.domains.v1.RegisterParameters getRegisterParameters(int index); /** + * + * *
    * Results of the domain name search.
    * 
@@ -33,21 +54,24 @@ public interface SearchDomainsResponseOrBuilder extends */ int getRegisterParametersCount(); /** + * + * *
    * Results of the domain name search.
    * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - java.util.List + java.util.List getRegisterParametersOrBuilderList(); /** + * + * *
    * Results of the domain name search.
    * 
* * repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; */ - com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParametersOrBuilder( - int index); + com.google.cloud.domains.v1.RegisterParametersOrBuilder getRegisterParametersOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java index d930fdd9..6b48e5cc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `TransferDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.TransferDomainRequest} */ -public final class TransferDomainRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferDomainRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.TransferDomainRequest) TransferDomainRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferDomainRequest.newBuilder() to construct. private TransferDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferDomainRequest() { parent_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private TransferDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,86 +72,96 @@ private TransferDomainRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = input.readMessage(com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = + input.readMessage( + com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - contactNotices_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 34: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + contactNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 34: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } + + break; } + case 42: + { + com.google.cloud.domains.v1.AuthorizationCode.Builder subBuilder = null; + if (authorizationCode_ != null) { + subBuilder = authorizationCode_.toBuilder(); + } + authorizationCode_ = + input.readMessage( + com.google.cloud.domains.v1.AuthorizationCode.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authorizationCode_); + authorizationCode_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.cloud.domains.v1.AuthorizationCode.Builder subBuilder = null; - if (authorizationCode_ != null) { - subBuilder = authorizationCode_.toBuilder(); + break; } - authorizationCode_ = input.readMessage(com.google.cloud.domains.v1.AuthorizationCode.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authorizationCode_); - authorizationCode_ = subBuilder.buildPartial(); + case 48: + { + validateOnly_ = input.readBool(); + break; } - - break; - } - case 48: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,8 +169,7 @@ private TransferDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -152,28 +178,36 @@ private TransferDomainRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.TransferDomainRequest.class, com.google.cloud.domains.v1.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1.TransferDomainRequest.class, + com.google.cloud.domains.v1.TransferDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -182,30 +216,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -216,6 +252,8 @@ public java.lang.String getParent() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1.Registration registration_; /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -225,7 +263,10 @@ public java.lang.String getParent() {
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ @java.lang.Override @@ -233,6 +274,8 @@ public boolean hasRegistration() { return registration_ != null; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -242,14 +285,21 @@ public boolean hasRegistration() {
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1.Registration getRegistration() { - return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1.Registration.getDefaultInstance() + : registration_; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -259,7 +309,9 @@ public com.google.cloud.domains.v1.Registration getRegistration() {
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -269,16 +321,22 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde public static final int CONTACT_NOTICES_FIELD_NUMBER = 3; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice> + contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>() { public com.google.cloud.domains.v1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactNotice result = com.google.cloud.domains.v1.ContactNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1.ContactNotice result = + com.google.cloud.domains.v1.ContactNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1.ContactNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -286,14 +344,18 @@ public com.google.cloud.domains.v1.ContactNotice convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -301,6 +363,7 @@ public java.util.List getContactNotic
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @return The count of contactNotices. */ @java.lang.Override @@ -308,6 +371,8 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -315,6 +380,7 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -323,6 +389,8 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -330,14 +398,16 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return contactNotices_; } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -345,6 +415,7 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) {
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -352,11 +423,14 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { public int getContactNoticesValue(int index) { return contactNotices_.get(index); } + private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 4; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -364,6 +438,7 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -371,6 +446,8 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -378,6 +455,7 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ @java.lang.Override @@ -385,6 +463,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -401,12 +481,15 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 5;
   private com.google.cloud.domains.v1.AuthorizationCode authorizationCode_;
   /**
+   *
+   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; + * * @return Whether the authorizationCode field is set. */ @java.lang.Override @@ -414,19 +497,26 @@ public boolean hasAuthorizationCode() { return authorizationCode_ != null; } /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; + * * @return The authorizationCode. */ @java.lang.Override public com.google.cloud.domains.v1.AuthorizationCode getAuthorizationCode() { - return authorizationCode_ == null ? com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance() : authorizationCode_; + return authorizationCode_ == null + ? com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance() + : authorizationCode_; } /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -442,11 +532,14 @@ public com.google.cloud.domains.v1.AuthorizationCodeOrBuilder getAuthorizationCo
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
+   *
+   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -455,6 +548,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,8 +560,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -504,32 +597,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getYearlyPrice()); } if (authorizationCode_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAuthorizationCode()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAuthorizationCode()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -539,33 +629,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.domains.v1.TransferDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.TransferDomainRequest other = (com.google.cloud.domains.v1.TransferDomainRequest) obj; + com.google.cloud.domains.v1.TransferDomainRequest other = + (com.google.cloud.domains.v1.TransferDomainRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } if (hasAuthorizationCode() != other.hasAuthorizationCode()) return false; if (hasAuthorizationCode()) { - if (!getAuthorizationCode() - .equals(other.getAuthorizationCode())) return false; + if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -596,125 +682,133 @@ public int hashCode() { hash = (53 * hash) + getAuthorizationCode().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.TransferDomainRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.TransferDomainRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.TransferDomainRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.TransferDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.TransferDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `TransferDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.TransferDomainRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.TransferDomainRequest) com.google.cloud.domains.v1.TransferDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.TransferDomainRequest.class, com.google.cloud.domains.v1.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1.TransferDomainRequest.class, + com.google.cloud.domains.v1.TransferDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.TransferDomainRequest.newBuilder() @@ -722,16 +816,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -763,9 +856,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_TransferDomainRequest_descriptor; } @java.lang.Override @@ -784,7 +877,8 @@ public com.google.cloud.domains.v1.TransferDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1.TransferDomainRequest buildPartial() { - com.google.cloud.domains.v1.TransferDomainRequest result = new com.google.cloud.domains.v1.TransferDomainRequest(this); + com.google.cloud.domains.v1.TransferDomainRequest result = + new com.google.cloud.domains.v1.TransferDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -816,38 +910,39 @@ public com.google.cloud.domains.v1.TransferDomainRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.TransferDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1.TransferDomainRequest)other); + return mergeFrom((com.google.cloud.domains.v1.TransferDomainRequest) other); } else { super.mergeFrom(other); return this; @@ -855,7 +950,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.TransferDomainRequest other) { - if (other == com.google.cloud.domains.v1.TransferDomainRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.TransferDomainRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -901,7 +997,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.TransferDomainRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.TransferDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -910,23 +1007,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -935,21 +1037,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -957,57 +1062,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1015,8 +1133,13 @@ public Builder setParentBytes( private com.google.cloud.domains.v1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> registrationBuilder_; + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder> + registrationBuilder_; /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1026,13 +1149,18 @@ public Builder setParentBytes(
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1042,17 +1170,24 @@ public boolean hasRegistration() {
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ public com.google.cloud.domains.v1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1.Registration.getDefaultInstance() + : registration_; } else { return registrationBuilder_.getMessage(); } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1062,7 +1197,9 @@ public com.google.cloud.domains.v1.Registration getRegistration() {
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) { if (registrationBuilder_ == null) { @@ -1078,6 +1215,8 @@ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) { return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1087,7 +1226,9 @@ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) {
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration( com.google.cloud.domains.v1.Registration.Builder builderForValue) { @@ -1101,6 +1242,8 @@ public Builder setRegistration( return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1110,13 +1253,17 @@ public Builder setRegistration(
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.Registration.newBuilder(registration_) + .mergeFrom(value) + .buildPartial(); } else { registration_ = value; } @@ -1128,6 +1275,8 @@ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1137,7 +1286,9 @@ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value)
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1151,6 +1302,8 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1160,14 +1313,18 @@ public Builder clearRegistration() {
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1177,17 +1334,22 @@ public com.google.cloud.domains.v1.Registration.Builder getRegistrationBuilder()
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null ? - com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1.Registration.getDefaultInstance() + : registration_; } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1197,24 +1359,29 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder>( - getRegistration(), - getParentForChildren(), - isClean()); + registrationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder>( + getRegistration(), getParentForChildren(), isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List contactNotices_ = - java.util.Collections.emptyList(); + private java.util.List contactNotices_ = java.util.Collections.emptyList(); + private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1222,6 +1389,8 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1229,13 +1398,17 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1243,12 +1416,15 @@ public java.util.List getContactNotic
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1256,6 +1432,7 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1263,6 +1440,8 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) { return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1270,12 +1449,12 @@ public com.google.cloud.domains.v1.ContactNotice getContactNotices(int index) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. */ - public Builder setContactNotices( - int index, com.google.cloud.domains.v1.ContactNotice value) { + public Builder setContactNotices(int index, com.google.cloud.domains.v1.ContactNotice value) { if (value == null) { throw new NullPointerException(); } @@ -1285,6 +1464,8 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1292,6 +1473,7 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1305,6 +1487,8 @@ public Builder addContactNotices(com.google.cloud.domains.v1.ContactNotice value return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1312,6 +1496,7 @@ public Builder addContactNotices(com.google.cloud.domains.v1.ContactNotice value
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1325,6 +1510,8 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1332,6 +1519,7 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1341,6 +1529,8 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1348,13 +1538,15 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1362,6 +1554,7 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1369,6 +1562,8 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1376,18 +1571,20 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue( - int index, int value) { + public Builder setContactNoticesValue(int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1395,6 +1592,7 @@ public Builder setContactNoticesValue(
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1405,6 +1603,8 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1412,11 +1612,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue( - java.lang.Iterable values) { + public Builder addAllContactNoticesValue(java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1427,8 +1627,11 @@ public Builder addAllContactNoticesValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1436,12 +1639,15 @@ public Builder addAllContactNoticesValue(
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1449,6 +1655,7 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1459,6 +1666,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1481,6 +1690,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1489,8 +1700,7 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(
-        com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1501,6 +1711,8 @@ public Builder setYearlyPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1513,7 +1725,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1525,6 +1737,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1545,6 +1759,8 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1554,11 +1770,13 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-      
+
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1571,11 +1789,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ?
-            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1585,14 +1804,15 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(),
-                getParentForChildren(),
-                isClean());
+        yearlyPriceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Money,
+                com.google.type.Money.Builder,
+                com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(), getParentForChildren(), isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
@@ -1600,36 +1820,49 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
 
     private com.google.cloud.domains.v1.AuthorizationCode authorizationCode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1.AuthorizationCode, com.google.cloud.domains.v1.AuthorizationCode.Builder, com.google.cloud.domains.v1.AuthorizationCodeOrBuilder> authorizationCodeBuilder_;
+            com.google.cloud.domains.v1.AuthorizationCode,
+            com.google.cloud.domains.v1.AuthorizationCode.Builder,
+            com.google.cloud.domains.v1.AuthorizationCodeOrBuilder>
+        authorizationCodeBuilder_;
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; + * * @return Whether the authorizationCode field is set. */ public boolean hasAuthorizationCode() { return authorizationCodeBuilder_ != null || authorizationCode_ != null; } /** + * + * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; + * * @return The authorizationCode. */ public com.google.cloud.domains.v1.AuthorizationCode getAuthorizationCode() { if (authorizationCodeBuilder_ == null) { - return authorizationCode_ == null ? com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance() : authorizationCode_; + return authorizationCode_ == null + ? com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance() + : authorizationCode_; } else { return authorizationCodeBuilder_.getMessage(); } } /** + * + * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1651,6 +1884,8 @@ public Builder setAuthorizationCode(com.google.cloud.domains.v1.AuthorizationCod
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1670,6 +1905,8 @@ public Builder setAuthorizationCode(
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1681,7 +1918,9 @@ public Builder mergeAuthorizationCode(com.google.cloud.domains.v1.AuthorizationC
       if (authorizationCodeBuilder_ == null) {
         if (authorizationCode_ != null) {
           authorizationCode_ =
-            com.google.cloud.domains.v1.AuthorizationCode.newBuilder(authorizationCode_).mergeFrom(value).buildPartial();
+              com.google.cloud.domains.v1.AuthorizationCode.newBuilder(authorizationCode_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationCode_ = value;
         }
@@ -1693,6 +1932,8 @@ public Builder mergeAuthorizationCode(com.google.cloud.domains.v1.AuthorizationC
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1712,6 +1953,8 @@ public Builder clearAuthorizationCode() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1720,11 +1963,13 @@ public Builder clearAuthorizationCode() {
      * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5;
      */
     public com.google.cloud.domains.v1.AuthorizationCode.Builder getAuthorizationCodeBuilder() {
-      
+
       onChanged();
       return getAuthorizationCodeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1736,11 +1981,14 @@ public com.google.cloud.domains.v1.AuthorizationCodeOrBuilder getAuthorizationCo
       if (authorizationCodeBuilder_ != null) {
         return authorizationCodeBuilder_.getMessageOrBuilder();
       } else {
-        return authorizationCode_ == null ?
-            com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance() : authorizationCode_;
+        return authorizationCode_ == null
+            ? com.google.cloud.domains.v1.AuthorizationCode.getDefaultInstance()
+            : authorizationCode_;
       }
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1749,26 +1997,32 @@ public com.google.cloud.domains.v1.AuthorizationCodeOrBuilder getAuthorizationCo
      * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1.AuthorizationCode, com.google.cloud.domains.v1.AuthorizationCode.Builder, com.google.cloud.domains.v1.AuthorizationCodeOrBuilder> 
+            com.google.cloud.domains.v1.AuthorizationCode,
+            com.google.cloud.domains.v1.AuthorizationCode.Builder,
+            com.google.cloud.domains.v1.AuthorizationCodeOrBuilder>
         getAuthorizationCodeFieldBuilder() {
       if (authorizationCodeBuilder_ == null) {
-        authorizationCodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1.AuthorizationCode, com.google.cloud.domains.v1.AuthorizationCode.Builder, com.google.cloud.domains.v1.AuthorizationCodeOrBuilder>(
-                getAuthorizationCode(),
-                getParentForChildren(),
-                isClean());
+        authorizationCodeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.domains.v1.AuthorizationCode,
+                com.google.cloud.domains.v1.AuthorizationCode.Builder,
+                com.google.cloud.domains.v1.AuthorizationCodeOrBuilder>(
+                getAuthorizationCode(), getParentForChildren(), isClean());
         authorizationCode_ = null;
       }
       return authorizationCodeBuilder_;
     }
 
-    private boolean validateOnly_ ;
+    private boolean validateOnly_;
     /**
+     *
+     *
      * 
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -1776,37 +2030,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1816,12 +2076,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.TransferDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.TransferDomainRequest) private static final com.google.cloud.domains.v1.TransferDomainRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.TransferDomainRequest(); } @@ -1830,16 +2090,16 @@ public static com.google.cloud.domains.v1.TransferDomainRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1854,6 +2114,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.TransferDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java index 4c7ba6c5..2dc8174f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferDomainRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface TransferDomainRequestOrBuilder extends +public interface TransferDomainRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.TransferDomainRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -39,11 +66,16 @@ public interface TransferDomainRequestOrBuilder extends
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ boolean hasRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -53,11 +85,16 @@ public interface TransferDomainRequestOrBuilder extends
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ com.google.cloud.domains.v1.Registration getRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -67,11 +104,15 @@ public interface TransferDomainRequestOrBuilder extends
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -79,10 +120,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -90,10 +134,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @return The count of contactNotices. */ int getContactNoticesCount(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -101,11 +148,14 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1.ContactNotice getContactNotices(int index); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -113,11 +163,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List - getContactNoticesValueList(); + java.util.List getContactNoticesValueList(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -125,12 +177,15 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -138,10 +193,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -149,10 +207,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -164,26 +225,34 @@ public interface TransferDomainRequestOrBuilder extends
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
+   *
+   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; + * * @return Whether the authorizationCode field is set. */ boolean hasAuthorizationCode(); /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1.AuthorizationCode authorization_code = 5; + * * @return The authorizationCode. */ com.google.cloud.domains.v1.AuthorizationCode getAuthorizationCode(); /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -194,11 +263,14 @@ public interface TransferDomainRequestOrBuilder extends
   com.google.cloud.domains.v1.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java index 1d7b81dc..b4220bb9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferLockState.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Possible states of a `Registration`'s transfer lock.
  * 
* * Protobuf enum {@code google.cloud.domains.v1.TransferLockState} */ -public enum TransferLockState - implements com.google.protobuf.ProtocolMessageEnum { +public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The state is unspecified.
    * 
@@ -21,6 +39,8 @@ public enum TransferLockState */ TRANSFER_LOCK_STATE_UNSPECIFIED(0), /** + * + * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -29,6 +49,8 @@ public enum TransferLockState */ UNLOCKED(1), /** + * + * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -40,6 +62,8 @@ public enum TransferLockState ; /** + * + * *
    * The state is unspecified.
    * 
@@ -48,6 +72,8 @@ public enum TransferLockState */ public static final int TRANSFER_LOCK_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -56,6 +82,8 @@ public enum TransferLockState */ public static final int UNLOCKED_VALUE = 1; /** + * + * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -64,7 +92,6 @@ public enum TransferLockState */ public static final int LOCKED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,39 +116,42 @@ public static TransferLockState valueOf(int value) { */ public static TransferLockState forNumber(int value) { switch (value) { - case 0: return TRANSFER_LOCK_STATE_UNSPECIFIED; - case 1: return UNLOCKED; - case 2: return LOCKED; - default: return null; + case 0: + return TRANSFER_LOCK_STATE_UNSPECIFIED; + case 1: + return UNLOCKED; + case 2: + return LOCKED; + 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< - TransferLockState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransferLockState findValueByNumber(int number) { - return TransferLockState.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 TransferLockState findValueByNumber(int number) { + return TransferLockState.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.domains.v1.DomainsProto.getDescriptor().getEnumTypes().get(3); } @@ -130,8 +160,7 @@ public TransferLockState findValueByNumber(int number) { public static TransferLockState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -147,4 +176,3 @@ private TransferLockState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1.TransferLockState) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java index f22651f0..93ae7588 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParameters.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Parameters required to transfer a domain from another registrar.
  * 
* * Protobuf type {@code google.cloud.domains.v1.TransferParameters} */ -public final class TransferParameters extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferParameters extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.TransferParameters) TransferParametersOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferParameters.newBuilder() to construct. private TransferParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferParameters() { domainName_ = ""; currentRegistrar_ = ""; @@ -29,16 +47,15 @@ private TransferParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,76 +75,83 @@ private TransferParameters( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - currentRegistrar_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + currentRegistrar_ = s; + break; } - nameServers_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + nameServers_.add(s); + break; + } + case 32: + { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; - } - case 40: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + transferLockState_ = rawValue; + break; } - supportedPrivacy_.add(rawValue); - break; - } - case 42: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 40: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } supportedPrivacy_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 50: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 42: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + supportedPrivacy_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 50: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -135,8 +159,7 @@ private TransferParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -148,27 +171,33 @@ private TransferParameters( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferParameters_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.TransferParameters.class, com.google.cloud.domains.v1.TransferParameters.Builder.class); + com.google.cloud.domains.v1.TransferParameters.class, + com.google.cloud.domains.v1.TransferParameters.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ @java.lang.Override @@ -177,29 +206,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -210,11 +239,14 @@ public java.lang.String getDomainName() { public static final int CURRENT_REGISTRAR_FIELD_NUMBER = 2; private volatile java.lang.Object currentRegistrar_; /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The currentRegistrar. */ @java.lang.Override @@ -223,29 +255,29 @@ public java.lang.String getCurrentRegistrar() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; } } /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The bytes for currentRegistrar. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -256,34 +288,42 @@ public java.lang.String getCurrentRegistrar() { public static final int NAME_SERVERS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList nameServers_; /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_; } /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -291,22 +331,26 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -314,12 +358,16 @@ public java.lang.String getNameServers(int index) {
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -327,45 +375,59 @@ public java.lang.String getNameServers(int index) {
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ - @java.lang.Override public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { + @java.lang.Override + public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.TransferLockState result = com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); + com.google.cloud.domains.v1.TransferLockState result = + com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); return result == null ? com.google.cloud.domains.v1.TransferLockState.UNRECOGNIZED : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 5; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy> + supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>() { public com.google.cloud.domains.v1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.ContactPrivacy result = com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); - return result == null ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED : result; + com.google.cloud.domains.v1.ContactPrivacy result = + com.google.cloud.domains.v1.ContactPrivacy.valueOf(from); + return result == null + ? com.google.cloud.domains.v1.ContactPrivacy.UNRECOGNIZED + : result; } }; /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -373,11 +435,14 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -386,24 +451,29 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return supportedPrivacy_; } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -411,16 +481,20 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } + private int supportedPrivacyMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 6; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -428,11 +502,14 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return The yearlyPrice. */ @java.lang.Override @@ -440,6 +517,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
@@ -452,6 +531,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -463,8 +543,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); @@ -475,7 +554,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nameServers_.getRaw(i)); } - if (transferLockState_ != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + if (transferLockState_ + != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, transferLockState_); } if (getSupportedPrivacyList().size() > 0) { @@ -511,25 +592,26 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (transferLockState_ != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, transferLockState_); + if (transferLockState_ + != com.google.cloud.domains.v1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedPrivacyMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -539,25 +621,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.domains.v1.TransferParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1.TransferParameters other = (com.google.cloud.domains.v1.TransferParameters) obj; + com.google.cloud.domains.v1.TransferParameters other = + (com.google.cloud.domains.v1.TransferParameters) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; - if (!getCurrentRegistrar() - .equals(other.getCurrentRegistrar())) return false; - if (!getNameServersList() - .equals(other.getNameServersList())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; + if (!getCurrentRegistrar().equals(other.getCurrentRegistrar())) return false; + if (!getNameServersList().equals(other.getNameServersList())) return false; if (transferLockState_ != other.transferLockState_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -593,118 +672,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1.TransferParameters parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1.TransferParameters parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.TransferParameters parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.TransferParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.TransferParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.TransferParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.TransferParameters parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.TransferParameters parseFrom(java.io.InputStream input) 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.domains.v1.TransferParameters parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.TransferParameters parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.TransferParameters parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.TransferParameters parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.TransferParameters parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.TransferParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1.TransferParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters required to transfer a domain from another registrar.
    * 
* * Protobuf type {@code google.cloud.domains.v1.TransferParameters} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.TransferParameters) com.google.cloud.domains.v1.TransferParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.TransferParameters.class, com.google.cloud.domains.v1.TransferParameters.Builder.class); + com.google.cloud.domains.v1.TransferParameters.class, + com.google.cloud.domains.v1.TransferParameters.Builder.class); } // Construct using com.google.cloud.domains.v1.TransferParameters.newBuilder() @@ -712,16 +800,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -745,9 +832,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_TransferParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_TransferParameters_descriptor; } @java.lang.Override @@ -766,7 +853,8 @@ public com.google.cloud.domains.v1.TransferParameters build() { @java.lang.Override public com.google.cloud.domains.v1.TransferParameters buildPartial() { - com.google.cloud.domains.v1.TransferParameters result = new com.google.cloud.domains.v1.TransferParameters(this); + com.google.cloud.domains.v1.TransferParameters result = + new com.google.cloud.domains.v1.TransferParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.currentRegistrar_ = currentRegistrar_; @@ -794,38 +882,39 @@ public com.google.cloud.domains.v1.TransferParameters buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.TransferParameters) { - return mergeFrom((com.google.cloud.domains.v1.TransferParameters)other); + return mergeFrom((com.google.cloud.domains.v1.TransferParameters) other); } else { super.mergeFrom(other); return this; @@ -896,22 +985,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object domainName_ = ""; /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -920,20 +1012,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -941,54 +1034,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -996,18 +1096,20 @@ public Builder setDomainNameBytes( private java.lang.Object currentRegistrar_ = ""; /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @return The currentRegistrar. */ public java.lang.String getCurrentRegistrar() { java.lang.Object ref = currentRegistrar_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; @@ -1016,20 +1118,21 @@ public java.lang.String getCurrentRegistrar() { } } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @return The bytes for currentRegistrar. */ - public com.google.protobuf.ByteString - getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -1037,95 +1140,112 @@ public java.lang.String getCurrentRegistrar() { } } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @param value The currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrar( - java.lang.String value) { + public Builder setCurrentRegistrar(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentRegistrar_ = value; onChanged(); return this; } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @return This builder for chaining. */ public Builder clearCurrentRegistrar() { - + currentRegistrar_ = getDefaultInstance().getCurrentRegistrar(); onChanged(); return this; } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @param value The bytes for currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrarBytes( - com.google.protobuf.ByteString value) { + public Builder setCurrentRegistrarBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentRegistrar_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList nameServers_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_.getUnmodifiableView(); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1133,80 +1253,90 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers( - int index, java.lang.String value) { + public Builder setNameServers(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers( - java.lang.String value) { + public Builder addNameServers(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers( - java.lang.Iterable values) { + public Builder addAllNameServers(java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); onChanged(); return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1216,20 +1346,22 @@ public Builder clearNameServers() { return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes( - com.google.protobuf.ByteString value) { + public Builder addNameServersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1238,6 +1370,8 @@ public Builder addNameServersBytes( private int transferLockState_ = 0; /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1245,12 +1379,16 @@ public Builder addNameServersBytes(
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1258,16 +1396,19 @@ public Builder addNameServersBytes(
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1275,15 +1416,19 @@ public Builder setTransferLockStateValue(int value) {
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1.TransferLockState result = com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); + com.google.cloud.domains.v1.TransferLockState result = + com.google.cloud.domains.v1.TransferLockState.valueOf(transferLockState_); return result == null ? com.google.cloud.domains.v1.TransferLockState.UNRECOGNIZED : result; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1291,6 +1436,7 @@ public com.google.cloud.domains.v1.TransferLockState getTransferLockState() {
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -1298,12 +1444,14 @@ public Builder setTransferLockState(com.google.cloud.domains.v1.TransferLockStat if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1311,17 +1459,18 @@ public Builder setTransferLockState(com.google.cloud.domains.v1.TransferLockStat
      * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = - java.util.Collections.emptyList(); + private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); + private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1329,34 +1478,44 @@ private void ensureSupportedPrivacyIsMutable() { } } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the supportedPrivacy. */ public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1364,11 +1523,14 @@ public com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index) return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1384,11 +1546,14 @@ public Builder setSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1402,11 +1567,14 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1.ContactPrivacy va return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1420,11 +1588,14 @@ public Builder addAllSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1434,23 +1605,28 @@ public Builder clearSupportedPrivacy() { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1458,28 +1634,33 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue( - int index, int value) { + public Builder setSupportedPrivacyValue(int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1490,16 +1671,18 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue( - java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1510,24 +1693,31 @@ public Builder addAllSupportedPrivacyValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1538,6 +1728,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1558,14 +1750,15 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; */ - public Builder setYearlyPrice( - com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1576,6 +1769,8 @@ public Builder setYearlyPrice( return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1586,7 +1781,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1598,6 +1793,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1616,6 +1813,8 @@ public Builder clearYearlyPrice() { return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1623,11 +1822,13 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 6; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1638,11 +1839,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? - com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1650,21 +1852,22 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - getYearlyPrice(), - getParentForChildren(), - isClean()); + yearlyPriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + getYearlyPrice(), getParentForChildren(), isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1674,12 +1877,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.TransferParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.TransferParameters) private static final com.google.cloud.domains.v1.TransferParameters DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.TransferParameters(); } @@ -1688,16 +1891,16 @@ public static com.google.cloud.domains.v1.TransferParameters getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1712,6 +1915,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1.TransferParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java index 58723afb..30e14bbe 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/TransferParametersOrBuilder.java @@ -1,94 +1,132 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface TransferParametersOrBuilder extends +public interface TransferParametersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.TransferParameters) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The currentRegistrar. */ java.lang.String getCurrentRegistrar(); /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The bytes for currentRegistrar. */ - com.google.protobuf.ByteString - getCurrentRegistrarBytes(); + com.google.protobuf.ByteString getCurrentRegistrarBytes(); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return A list containing the nameServers. */ - java.util.List - getNameServersList(); + java.util.List getNameServersList(); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return The count of nameServers. */ int getNameServersCount(); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString - getNameServersBytes(int index); + com.google.protobuf.ByteString getNameServersBytes(int index); /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -96,10 +134,13 @@ public interface TransferParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -107,78 +148,101 @@ public interface TransferParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ com.google.cloud.domains.v1.TransferLockState getTransferLockState(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1.ContactPrivacy getSupportedPrivacy(int index); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List - getSupportedPrivacyValueList(); + java.util.List getSupportedPrivacyValueList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java index 6d0a7c2f..99315471 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; /** + * + * *
  * Request for the `UpdateRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1.UpdateRegistrationRequest} */ -public final class UpdateRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1.UpdateRegistrationRequest) UpdateRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRegistrationRequest.newBuilder() to construct. private UpdateRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRegistrationRequest() { - } + + private UpdateRegistrationRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateRegistrationRequest( case 0: done = true; break; - case 10: { - com.google.cloud.domains.v1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = input.readMessage(com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.domains.v1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = + input.readMessage( + com.google.cloud.domains.v1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.UpdateRegistrationRequest.class, com.google.cloud.domains.v1.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.UpdateRegistrationRequest.class, + com.google.cloud.domains.v1.UpdateRegistrationRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private com.google.cloud.domains.v1.Registration registration_; /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1.Registration registration = 1; + * * @return Whether the registration field is set. */ @java.lang.Override @@ -127,18 +153,25 @@ public boolean hasRegistration() { return registration_ != null; } /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1.Registration registration = 1; + * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1.Registration getRegistration() { - return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1.Registration.getDefaultInstance() + : registration_; } /** + * + * *
    * Fields of the `Registration` to update.
    * 
@@ -153,13 +186,17 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,13 +204,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -181,13 +222,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -195,6 +239,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +251,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (registration_ != null) { output.writeMessage(1, getRegistration()); } @@ -224,12 +268,10 @@ public int getSerializedSize() { size = 0; if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRegistration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegistration()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +281,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.domains.v1.UpdateRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1.UpdateRegistrationRequest other = (com.google.cloud.domains.v1.UpdateRegistrationRequest) obj; + com.google.cloud.domains.v1.UpdateRegistrationRequest other = + (com.google.cloud.domains.v1.UpdateRegistrationRequest) obj; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,117 +322,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1.UpdateRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1.UpdateRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1.UpdateRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `UpdateRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1.UpdateRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1.UpdateRegistrationRequest) com.google.cloud.domains.v1.UpdateRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1.UpdateRegistrationRequest.class, com.google.cloud.domains.v1.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1.UpdateRegistrationRequest.class, + com.google.cloud.domains.v1.UpdateRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1.UpdateRegistrationRequest.newBuilder() @@ -399,16 +450,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1.DomainsProto.internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1.DomainsProto + .internal_static_google_cloud_domains_v1_UpdateRegistrationRequest_descriptor; } @java.lang.Override @@ -449,7 +499,8 @@ public com.google.cloud.domains.v1.UpdateRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1.UpdateRegistrationRequest buildPartial() { - com.google.cloud.domains.v1.UpdateRegistrationRequest result = new com.google.cloud.domains.v1.UpdateRegistrationRequest(this); + com.google.cloud.domains.v1.UpdateRegistrationRequest result = + new com.google.cloud.domains.v1.UpdateRegistrationRequest(this); if (registrationBuilder_ == null) { result.registration_ = registration_; } else { @@ -468,38 +519,39 @@ public com.google.cloud.domains.v1.UpdateRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1.UpdateRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1.UpdateRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1.UpdateRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1.UpdateRegistrationRequest other) { - if (other == com.google.cloud.domains.v1.UpdateRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1.UpdateRegistrationRequest.getDefaultInstance()) + return this; if (other.hasRegistration()) { mergeRegistration(other.getRegistration()); } @@ -533,7 +586,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1.UpdateRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1.UpdateRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +599,47 @@ public Builder mergeFrom( private com.google.cloud.domains.v1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> registrationBuilder_; + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder> + registrationBuilder_; /** + * + * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1.Registration registration = 1; + * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1.Registration registration = 1; + * * @return The registration. */ public com.google.cloud.domains.v1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null ? com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1.Registration.getDefaultInstance() + : registration_; } else { return registrationBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -593,6 +660,8 @@ public Builder setRegistration(com.google.cloud.domains.v1.Registration value) { return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -611,6 +680,8 @@ public Builder setRegistration( return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -621,7 +692,9 @@ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1.Registration.newBuilder(registration_) + .mergeFrom(value) + .buildPartial(); } else { registration_ = value; } @@ -633,6 +706,8 @@ public Builder mergeRegistration(com.google.cloud.domains.v1.Registration value) return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -651,6 +726,8 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -658,11 +735,13 @@ public Builder clearRegistration() { * .google.cloud.domains.v1.Registration registration = 1; */ public com.google.cloud.domains.v1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -673,11 +752,14 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null ? - com.google.cloud.domains.v1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1.Registration.getDefaultInstance() + : registration_; } } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -685,14 +767,17 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde * .google.cloud.domains.v1.Registration registration = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder> + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1.Registration, com.google.cloud.domains.v1.Registration.Builder, com.google.cloud.domains.v1.RegistrationOrBuilder>( - getRegistration(), - getParentForChildren(), - isClean()); + registrationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1.Registration, + com.google.cloud.domains.v1.Registration.Builder, + com.google.cloud.domains.v1.RegistrationOrBuilder>( + getRegistration(), getParentForChildren(), isClean()); registration_ = null; } return registrationBuilder_; @@ -700,45 +785,61 @@ public com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilde private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -754,16 +855,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -774,19 +877,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -798,13 +904,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -818,61 +927,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +1004,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1.UpdateRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1.UpdateRegistrationRequest) private static final com.google.cloud.domains.v1.UpdateRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1.UpdateRegistrationRequest(); } @@ -896,16 +1018,16 @@ public static com.google.cloud.domains.v1.UpdateRegistrationRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,6 +1042,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1.UpdateRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java rename to proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java index b0339b7b..7c8202e7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/UpdateRegistrationRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1/domains.proto package com.google.cloud.domains.v1; -public interface UpdateRegistrationRequestOrBuilder extends +public interface UpdateRegistrationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1.UpdateRegistrationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1.Registration registration = 1; + * * @return Whether the registration field is set. */ boolean hasRegistration(); /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1.Registration registration = 1; + * * @return The registration. */ com.google.cloud.domains.v1.Registration getRegistration(); /** + * + * *
    * Fields of the `Registration` to update.
    * 
@@ -35,35 +59,46 @@ public interface UpdateRegistrationRequestOrBuilder extends com.google.cloud.domains.v1.RegistrationOrBuilder getRegistrationOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto b/proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto rename to proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java index 0843c634..199b31ff 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCode.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Defines an authorization code.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.AuthorizationCode} */ -public final class AuthorizationCode extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuthorizationCode extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.AuthorizationCode) AuthorizationCodeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuthorizationCode.newBuilder() to construct. private AuthorizationCode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuthorizationCode() { code_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthorizationCode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AuthorizationCode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AuthorizationCode( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + code_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,40 @@ private AuthorizationCode( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.AuthorizationCode.class, com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1alpha2.AuthorizationCode.class, + com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private volatile java.lang.Object code_; /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The code. */ @java.lang.Override @@ -110,30 +133,30 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString - getCodeBytes() { + public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); code_ = b; return b; } else { @@ -142,6 +165,7 @@ public java.lang.String getCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } @@ -178,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1alpha2.AuthorizationCode)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.AuthorizationCode other = (com.google.cloud.domains.v1alpha2.AuthorizationCode) obj; + com.google.cloud.domains.v1alpha2.AuthorizationCode other = + (com.google.cloud.domains.v1alpha2.AuthorizationCode) obj; - if (!getCode() - .equals(other.getCode())) return false; + if (!getCode().equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +229,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.AuthorizationCode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.AuthorizationCode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines an authorization code.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.AuthorizationCode} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.AuthorizationCode) com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.AuthorizationCode.class, com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1alpha2.AuthorizationCode.class, + com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.AuthorizationCode.newBuilder() @@ -324,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor; } @java.lang.Override @@ -364,7 +395,8 @@ public com.google.cloud.domains.v1alpha2.AuthorizationCode build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.AuthorizationCode buildPartial() { - com.google.cloud.domains.v1alpha2.AuthorizationCode result = new com.google.cloud.domains.v1alpha2.AuthorizationCode(this); + com.google.cloud.domains.v1alpha2.AuthorizationCode result = + new com.google.cloud.domains.v1alpha2.AuthorizationCode(this); result.code_ = code_; onBuilt(); return result; @@ -374,38 +406,39 @@ public com.google.cloud.domains.v1alpha2.AuthorizationCode buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.AuthorizationCode) { - return mergeFrom((com.google.cloud.domains.v1alpha2.AuthorizationCode)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.AuthorizationCode) other); } else { super.mergeFrom(other); return this; @@ -413,7 +446,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.AuthorizationCode other) { - if (other == com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance()) + return this; if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); @@ -437,7 +471,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.AuthorizationCode) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.AuthorizationCode) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +484,21 @@ public Builder mergeFrom( private java.lang.Object code_ = ""; /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -470,21 +507,22 @@ public java.lang.String getCode() { } } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @return The bytes for code. */ - public com.google.protobuf.ByteString - getCodeBytes() { + public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); code_ = b; return b; } else { @@ -492,64 +530,71 @@ public java.lang.String getCode() { } } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode( - java.lang.String value) { + public Builder setCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -559,12 +604,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.AuthorizationCode) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.AuthorizationCode) private static final com.google.cloud.domains.v1alpha2.AuthorizationCode DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.AuthorizationCode(); } @@ -573,16 +618,16 @@ public static com.google.cloud.domains.v1alpha2.AuthorizationCode getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthorizationCode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuthorizationCode(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthorizationCode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthorizationCode(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.AuthorizationCode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java similarity index 51% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java index c176b53a..429f8141 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/AuthorizationCodeOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface AuthorizationCodeOrBuilder extends +public interface AuthorizationCodeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.AuthorizationCode) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The code. */ java.lang.String getCode(); /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The bytes for code. */ - com.google.protobuf.ByteString - getCodeBytes(); + com.google.protobuf.ByteString getCodeBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java similarity index 72% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java index 3868c764..b38bd524 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `ConfigureContactSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest} */ -public final class ConfigureContactSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigureContactSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) ConfigureContactSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigureContactSettingsRequest.newBuilder() to construct. - private ConfigureContactSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureContactSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConfigureContactSettingsRequest() { registration_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -26,16 +45,15 @@ private ConfigureContactSettingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigureContactSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConfigureContactSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,73 +73,82 @@ private ConfigureContactSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null; - if (contactSettings_ != null) { - subBuilder = contactSettings_.toBuilder(); - } - contactSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(contactSettings_); - contactSettings_ = subBuilder.buildPartial(); + registration_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null; + if (contactSettings_ != null) { + subBuilder = contactSettings_.toBuilder(); + } + contactSettings_ = + input.readMessage( + com.google.cloud.domains.v1alpha2.ContactSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(contactSettings_); + contactSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - contactNotices_.add(rawValue); - break; - } - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 40: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + contactNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; + } + case 40: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,8 +156,7 @@ private ConfigureContactSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -139,28 +165,36 @@ private ConfigureContactSettingsRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -169,30 +203,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -203,11 +239,14 @@ public java.lang.String getRegistration() { public static final int CONTACT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.ContactSettings contactSettings_; /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; + * * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -215,18 +254,25 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; + * * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings() { - return contactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() + : contactSettings_; } /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -241,13 +287,17 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSett public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -255,13 +305,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -269,13 +323,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -285,36 +342,47 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> + contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>() { public com.google.cloud.domains.v1alpha2.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactNotice result = com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.ContactNotice result = + com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ @java.lang.Override @@ -322,12 +390,15 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -336,26 +407,31 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return contactNotices_; } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -363,16 +439,20 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind public int getContactNoticesValue(int index) { return contactNotices_.get(index); } + private int contactNoticesMemoizedSerializedSize; public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_; /** + * + * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; + * * @return The validateOnly. */ @java.lang.Override @@ -381,6 +461,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,8 +473,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); @@ -427,28 +507,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getContactSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContactSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + contactNoticesMemoizedSerializedSize = dataSize; } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -458,28 +536,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.domains.v1alpha2.ConfigureContactSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest other = (com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) obj; + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest other = + (com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings() - .equals(other.getContactSettings())) return false; + if (!getContactSettings().equals(other.getContactSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -506,142 +581,152 @@ public int hashCode() { hash = (53 * hash) + contactNotices_.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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest 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.domains.v1alpha2.ConfigureContactSettingsRequest + 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.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureContactSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.class, + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.Builder.class); } - // Construct using com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.newBuilder() + // Construct using + // com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -667,13 +752,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.getDefaultInstance(); } @@ -688,7 +774,8 @@ public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest build() @java.lang.Override public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest result = new com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest(this); + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest result = + new com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest(this); int from_bitField0_ = bitField0_; result.registration_ = registration_; if (contactSettingsBuilder_ == null) { @@ -715,46 +802,50 @@ public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest other) { - if (other == com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest other) { + if (other + == com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -797,7 +888,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -806,23 +899,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -831,21 +929,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -853,57 +954,70 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -911,34 +1025,47 @@ public Builder setRegistrationBytes( private com.google.cloud.domains.v1alpha2.ContactSettings contactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> contactSettingsBuilder_; + com.google.cloud.domains.v1alpha2.ContactSettings, + com.google.cloud.domains.v1alpha2.ContactSettings.Builder, + com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> + contactSettingsBuilder_; /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; + * * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; + * * @return The contactSettings. */ public com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() + : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -959,6 +1086,8 @@ public Builder setContactSettings(com.google.cloud.domains.v1alpha2.ContactSetti return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -977,6 +1106,8 @@ public Builder setContactSettings( return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -987,7 +1118,9 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1alpha2.ContactSet if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(contactSettings_) + .mergeFrom(value) + .buildPartial(); } else { contactSettings_ = value; } @@ -999,6 +1132,8 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1alpha2.ContactSet return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1017,6 +1152,8 @@ public Builder clearContactSettings() { return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1024,26 +1161,32 @@ public Builder clearContactSettings() { * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; */ public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; */ - public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder + getContactSettingsOrBuilder() { if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null ? - com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() + : contactSettings_; } } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1051,14 +1194,17 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSett * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings, + com.google.cloud.domains.v1alpha2.ContactSettings.Builder, + com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( - getContactSettings(), - getParentForChildren(), - isClean()); + contactSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings, + com.google.cloud.domains.v1alpha2.ContactSettings.Builder, + com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( + getContactSettings(), getParentForChildren(), isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -1066,45 +1212,61 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSett private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1120,16 +1282,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1140,19 +1304,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1164,13 +1331,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1184,61 +1354,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private java.util.List contactNotices_ = - java.util.Collections.emptyList(); + private java.util.List contactNotices_ = java.util.Collections.emptyList(); + private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1246,37 +1429,47 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1284,12 +1477,15 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1305,12 +1501,15 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1324,12 +1523,15 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1343,12 +1545,15 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1358,25 +1563,30 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1384,30 +1594,35 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue( - int index, int value) { + public Builder setContactNoticesValue(int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1418,17 +1633,19 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue( - java.lang.Iterable values) { + public Builder addAllContactNoticesValue(java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1437,13 +1654,16 @@ public Builder addAllContactNoticesValue( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; + * * @return The validateOnly. */ @java.lang.Override @@ -1451,37 +1671,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1491,30 +1717,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) - private static final com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest(); } - public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureContactSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureContactSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureContactSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureContactSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1526,9 +1754,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java index 3bd3bd80..6d6e43be 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureContactSettingsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ConfigureContactSettingsRequestOrBuilder extends +public interface ConfigureContactSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ java.lang.String getRegistration(); /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - com.google.protobuf.ByteString - getRegistrationBytes(); + com.google.protobuf.ByteString getRegistrationBytes(); /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; + * * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; + * * @return The contactSettings. */ com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings(); /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -57,98 +90,126 @@ public interface ConfigureContactSettingsRequestOrBuilder extends com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ int getContactNoticesCount(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int index); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List - getContactNoticesValueList(); + java.util.List getContactNoticesValueList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** + * + * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java similarity index 72% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java index 298ca6bf..eb2b7db9 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `ConfigureDnsSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest} */ -public final class ConfigureDnsSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigureDnsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) ConfigureDnsSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigureDnsSettingsRequest.newBuilder() to construct. private ConfigureDnsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConfigureDnsSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigureDnsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConfigureDnsSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,50 +70,56 @@ private ConfigureDnsSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1alpha2.DnsSettings.Builder subBuilder = null; - if (dnsSettings_ != null) { - subBuilder = dnsSettings_.toBuilder(); + registration_ = s; + break; } - dnsSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsSettings_); - dnsSettings_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.domains.v1alpha2.DnsSettings.Builder subBuilder = null; + if (dnsSettings_ != null) { + subBuilder = dnsSettings_.toBuilder(); + } + dnsSettings_ = + input.readMessage( + com.google.cloud.domains.v1alpha2.DnsSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsSettings_); + dnsSettings_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 32: + { + validateOnly_ = input.readBool(); + break; } - - break; - } - case 32: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,35 +127,42 @@ private ConfigureDnsSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -141,30 +171,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -175,11 +207,14 @@ public java.lang.String getRegistration() { public static final int DNS_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.DnsSettings dnsSettings_; /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; + * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -187,18 +222,25 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; + * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings() { - return dnsSettings_ == null ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() + : dnsSettings_; } /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -213,6 +255,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -224,7 +268,9 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -232,6 +278,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -243,7 +291,9 @@ public boolean hasUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -251,6 +301,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -262,7 +314,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -272,11 +325,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** + * + * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -285,6 +341,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,8 +353,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -323,16 +379,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDnsSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,27 +395,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.domains.v1alpha2.ConfigureDnsSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest other = (com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) obj; + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest other = + (com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings() - .equals(other.getDnsSettings())) return false; + if (!getDnsSettings().equals(other.getDnsSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,125 +435,134 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureDnsSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.class, + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.newBuilder() @@ -511,16 +570,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -544,13 +602,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.getDefaultInstance(); } @@ -565,7 +624,8 @@ public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest result = new com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest(this); + com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest result = + new com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest(this); result.registration_ = registration_; if (dnsSettingsBuilder_ == null) { result.dnsSettings_ = dnsSettings_; @@ -586,38 +646,39 @@ public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) other); } else { super.mergeFrom(other); return this; @@ -625,7 +686,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest other) { - if (other == com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -658,7 +721,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,19 +735,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -691,21 +760,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -713,57 +785,70 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -771,34 +856,47 @@ public Builder setRegistrationBytes( private com.google.cloud.domains.v1alpha2.DnsSettings dnsSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> dnsSettingsBuilder_; + com.google.cloud.domains.v1alpha2.DnsSettings, + com.google.cloud.domains.v1alpha2.DnsSettings.Builder, + com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> + dnsSettingsBuilder_; /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; + * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; + * * @return The dnsSettings. */ public com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() + : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -819,6 +917,8 @@ public Builder setDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings valu return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -837,6 +937,8 @@ public Builder setDnsSettings( return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -847,7 +949,9 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings va if (dnsSettingsBuilder_ == null) { if (dnsSettings_ != null) { dnsSettings_ = - com.google.cloud.domains.v1alpha2.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.DnsSettings.newBuilder(dnsSettings_) + .mergeFrom(value) + .buildPartial(); } else { dnsSettings_ = value; } @@ -859,6 +963,8 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings va return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -877,6 +983,8 @@ public Builder clearDnsSettings() { return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -884,11 +992,13 @@ public Builder clearDnsSettings() { * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; */ public com.google.cloud.domains.v1alpha2.DnsSettings.Builder getDnsSettingsBuilder() { - + onChanged(); return getDnsSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -899,11 +1009,14 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu if (dnsSettingsBuilder_ != null) { return dnsSettingsBuilder_.getMessageOrBuilder(); } else { - return dnsSettings_ == null ? - com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() + : dnsSettings_; } } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -911,14 +1024,17 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> + com.google.cloud.domains.v1alpha2.DnsSettings, + com.google.cloud.domains.v1alpha2.DnsSettings.Builder, + com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> getDnsSettingsFieldBuilder() { if (dnsSettingsBuilder_ == null) { - dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>( - getDnsSettings(), - getParentForChildren(), - isClean()); + dnsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.DnsSettings, + com.google.cloud.domains.v1alpha2.DnsSettings.Builder, + com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>( + getDnsSettings(), getParentForChildren(), isClean()); dnsSettings_ = null; } return dnsSettingsBuilder_; @@ -926,8 +1042,13 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -939,13 +1060,17 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -957,17 +1082,23 @@ public boolean hasUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -979,7 +1110,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -995,6 +1127,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1006,10 +1140,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1020,6 +1154,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1031,13 +1167,14 @@ public Builder setUpdateMask(
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1049,6 +1186,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1060,7 +1199,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1074,6 +1214,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1085,14 +1227,17 @@ public Builder clearUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1104,17 +1249,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1126,29 +1275,36 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -1156,37 +1312,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1196,12 +1358,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) - private static final com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest(); } @@ -1210,16 +1373,16 @@ public static com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureDnsSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureDnsSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureDnsSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureDnsSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1234,6 +1397,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java index 7196d057..60aaa307 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureDnsSettingsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ConfigureDnsSettingsRequestOrBuilder extends +public interface ConfigureDnsSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ java.lang.String getRegistration(); /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - com.google.protobuf.ByteString - getRegistrationBytes(); + com.google.protobuf.ByteString getRegistrationBytes(); /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; + * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; + * * @return The dnsSettings. */ com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings(); /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -57,6 +90,8 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -68,11 +103,15 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -84,11 +123,15 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -100,16 +143,20 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java index e97a3462..99986c18 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `ConfigureManagementSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest} */ -public final class ConfigureManagementSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigureManagementSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) ConfigureManagementSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigureManagementSettingsRequest.newBuilder() to construct. - private ConfigureManagementSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureManagementSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConfigureManagementSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigureManagementSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConfigureManagementSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +71,52 @@ private ConfigureManagementSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1alpha2.ManagementSettings.Builder subBuilder = null; - if (managementSettings_ != null) { - subBuilder = managementSettings_.toBuilder(); - } - managementSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.ManagementSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(managementSettings_); - managementSettings_ = subBuilder.buildPartial(); + registration_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1alpha2.ManagementSettings.Builder subBuilder = null; + if (managementSettings_ != null) { + subBuilder = managementSettings_.toBuilder(); + } + managementSettings_ = + input.readMessage( + com.google.cloud.domains.v1alpha2.ManagementSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(managementSettings_); + managementSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +124,42 @@ private ConfigureManagementSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -136,30 +168,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -170,11 +204,14 @@ public java.lang.String getRegistration() { public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.ManagementSettings managementSettings_; /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; + * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -182,18 +219,25 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; + * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings() { - return managementSettings_ == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() + : managementSettings_; } /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -201,20 +245,25 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSetting * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder + getManagementSettingsOrBuilder() { return getManagementSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -222,13 +271,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -236,13 +289,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -250,6 +306,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +318,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -285,12 +341,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagementSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -300,24 +354,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.domains.v1alpha2.ConfigureManagementSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest other = (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) obj; + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest other = + (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings() - .equals(other.getManagementSettings())) return false; + if (!getManagementSettings().equals(other.getManagementSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -346,134 +398,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest 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.domains.v1alpha2.ConfigureManagementSettingsRequest + 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.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureManagementSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.class, + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.Builder.class); } - // Construct using com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.newBuilder() + // Construct using + // com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +558,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest + getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -516,7 +581,8 @@ public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest buil @java.lang.Override public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest result = new com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest(this); + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest result = + new com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest(this); result.registration_ = registration_; if (managementSettingsBuilder_ == null) { result.managementSettings_ = managementSettings_; @@ -536,46 +602,51 @@ public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest)other); + return mergeFrom( + (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest other) { - if (other == com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest other) { + if (other + == com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest + .getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -605,7 +676,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -617,19 +690,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -638,21 +715,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -660,57 +740,70 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -718,41 +811,55 @@ public Builder setRegistrationBytes( private com.google.cloud.domains.v1alpha2.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> managementSettingsBuilder_; + com.google.cloud.domains.v1alpha2.ManagementSettings, + com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, + com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> + managementSettingsBuilder_; /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; + * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; + * * @return The managementSettings. */ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() + : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ - public Builder setManagementSettings(com.google.cloud.domains.v1alpha2.ManagementSettings value) { + public Builder setManagementSettings( + com.google.cloud.domains.v1alpha2.ManagementSettings value) { if (managementSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -766,6 +873,8 @@ public Builder setManagementSettings(com.google.cloud.domains.v1alpha2.Managemen return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -784,17 +893,22 @@ public Builder setManagementSettings( return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ - public Builder mergeManagementSettings(com.google.cloud.domains.v1alpha2.ManagementSettings value) { + public Builder mergeManagementSettings( + com.google.cloud.domains.v1alpha2.ManagementSettings value) { if (managementSettingsBuilder_ == null) { if (managementSettings_ != null) { managementSettings_ = - com.google.cloud.domains.v1alpha2.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.ManagementSettings.newBuilder(managementSettings_) + .mergeFrom(value) + .buildPartial(); } else { managementSettings_ = value; } @@ -806,6 +920,8 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1alpha2.Managem return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -824,33 +940,42 @@ public Builder clearManagementSettings() { return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ - public com.google.cloud.domains.v1alpha2.ManagementSettings.Builder getManagementSettingsBuilder() { - + public com.google.cloud.domains.v1alpha2.ManagementSettings.Builder + getManagementSettingsBuilder() { + onChanged(); return getManagementSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ - public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder + getManagementSettingsOrBuilder() { if (managementSettingsBuilder_ != null) { return managementSettingsBuilder_.getMessageOrBuilder(); } else { - return managementSettings_ == null ? - com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() + : managementSettings_; } } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -858,14 +983,17 @@ public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManageme * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> + com.google.cloud.domains.v1alpha2.ManagementSettings, + com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, + com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> getManagementSettingsFieldBuilder() { if (managementSettingsBuilder_ == null) { - managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder>( - getManagementSettings(), - getParentForChildren(), - isClean()); + managementSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ManagementSettings, + com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, + com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder>( + getManagementSettings(), getParentForChildren(), isClean()); managementSettings_ = null; } return managementSettingsBuilder_; @@ -873,45 +1001,61 @@ public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManageme private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -927,16 +1071,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -947,19 +1093,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -971,13 +1120,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -991,61 +1143,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1055,30 +1220,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) - private static final com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest(); } - public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureManagementSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureManagementSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureManagementSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureManagementSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1090,9 +1257,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java index 71e3c962..01023048 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ConfigureManagementSettingsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ConfigureManagementSettingsRequestOrBuilder extends +public interface ConfigureManagementSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ConfigureManagementSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ java.lang.String getRegistration(); /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - com.google.protobuf.ByteString - getRegistrationBytes(); + com.google.protobuf.ByteString getRegistrationBytes(); /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; + * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 2; + * * @return The managementSettings. */ com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings(); /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -57,35 +90,46 @@ public interface ConfigureManagementSettingsRequestOrBuilder extends com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java similarity index 67% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java index 15091a1e..509b36f7 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactNotice.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Notices related to contact information.
  * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.ContactNotice} */ -public enum ContactNotice - implements com.google.protobuf.ProtocolMessageEnum { +public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The notice is undefined.
    * 
@@ -21,6 +39,8 @@ public enum ContactNotice */ CONTACT_NOTICE_UNSPECIFIED(0), /** + * + * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -33,6 +53,8 @@ public enum ContactNotice
   ;
 
   /**
+   *
+   *
    * 
    * The notice is undefined.
    * 
@@ -41,6 +63,8 @@ public enum ContactNotice */ public static final int CONTACT_NOTICE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -50,7 +74,6 @@ public enum ContactNotice
    */
   public static final int PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT_VALUE = 1;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -75,48 +98,47 @@ public static ContactNotice valueOf(int value) {
    */
   public static ContactNotice forNumber(int value) {
     switch (value) {
-      case 0: return CONTACT_NOTICE_UNSPECIFIED;
-      case 1: return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
-      default: return null;
+      case 0:
+        return CONTACT_NOTICE_UNSPECIFIED;
+      case 1:
+        return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
+      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<
-      ContactNotice> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ContactNotice findValueByNumber(int number) {
-            return ContactNotice.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 ContactNotice findValueByNumber(int number) {
+          return ContactNotice.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.domains.v1alpha2.DomainsProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final ContactNotice[] VALUES = values();
 
-  public static ContactNotice valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactNotice 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;
@@ -132,4 +154,3 @@ private ContactNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1alpha2.ContactNotice)
 }
-
diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java
similarity index 75%
rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java
rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java
index 4781ffec..9e7b8fcd 100644
--- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java
+++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactPrivacy.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1alpha2/domains.proto
 
 package com.google.cloud.domains.v1alpha2;
 
 /**
+ *
+ *
  * 
  * Defines a set of possible contact privacy settings for a `Registration`.
  * [ICANN](https://icann.org/) maintains the WHOIS database, a publicly
@@ -14,9 +31,10 @@
  *
  * Protobuf enum {@code google.cloud.domains.v1alpha2.ContactPrivacy}
  */
-public enum ContactPrivacy
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -25,6 +43,8 @@ public enum ContactPrivacy */ CONTACT_PRIVACY_UNSPECIFIED(0), /** + * + * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -36,6 +56,8 @@ public enum ContactPrivacy
    */
   PUBLIC_CONTACT_DATA(1),
   /**
+   *
+   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -47,6 +69,8 @@ public enum ContactPrivacy
    */
   PRIVATE_CONTACT_DATA(2),
   /**
+   *
+   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -61,6 +85,8 @@ public enum ContactPrivacy
   ;
 
   /**
+   *
+   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -69,6 +95,8 @@ public enum ContactPrivacy */ public static final int CONTACT_PRIVACY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -80,6 +108,8 @@ public enum ContactPrivacy
    */
   public static final int PUBLIC_CONTACT_DATA_VALUE = 1;
   /**
+   *
+   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -91,6 +121,8 @@ public enum ContactPrivacy
    */
   public static final int PRIVATE_CONTACT_DATA_VALUE = 2;
   /**
+   *
+   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -102,7 +134,6 @@ public enum ContactPrivacy
    */
   public static final int REDACTED_CONTACT_DATA_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -127,50 +158,51 @@ public static ContactPrivacy valueOf(int value) {
    */
   public static ContactPrivacy forNumber(int value) {
     switch (value) {
-      case 0: return CONTACT_PRIVACY_UNSPECIFIED;
-      case 1: return PUBLIC_CONTACT_DATA;
-      case 2: return PRIVATE_CONTACT_DATA;
-      case 3: return REDACTED_CONTACT_DATA;
-      default: return null;
+      case 0:
+        return CONTACT_PRIVACY_UNSPECIFIED;
+      case 1:
+        return PUBLIC_CONTACT_DATA;
+      case 2:
+        return PRIVATE_CONTACT_DATA;
+      case 3:
+        return REDACTED_CONTACT_DATA;
+      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<
-      ContactPrivacy> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ContactPrivacy findValueByNumber(int number) {
-            return ContactPrivacy.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 ContactPrivacy findValueByNumber(int number) {
+          return ContactPrivacy.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.domains.v1alpha2.DomainsProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final ContactPrivacy[] VALUES = values();
 
-  public static ContactPrivacy valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactPrivacy 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;
@@ -186,4 +218,3 @@ private ContactPrivacy(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1alpha2.ContactPrivacy)
 }
-
diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java
similarity index 66%
rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java
rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java
index 6842ea3b..c7479c2c 100644
--- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java
+++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettings.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1alpha2/domains.proto
 
 package com.google.cloud.domains.v1alpha2;
 
 /**
+ *
+ *
  * 
  * Defines the contact information associated with a `Registration`.
  * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -13,31 +30,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1alpha2.ContactSettings}
  */
-public final class ContactSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContactSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ContactSettings)
     ContactSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContactSettings.newBuilder() to construct.
   private ContactSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ContactSettings() {
     privacy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ContactSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ContactSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,58 +73,71 @@ private ContactSettings(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            privacy_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
-            if (registrantContact_ != null) {
-              subBuilder = registrantContact_.toBuilder();
-            }
-            registrantContact_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(registrantContact_);
-              registrantContact_ = subBuilder.buildPartial();
+              privacy_ = rawValue;
+              break;
             }
+          case 18:
+            {
+              com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
+              if (registrantContact_ != null) {
+                subBuilder = registrantContact_.toBuilder();
+              }
+              registrantContact_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(registrantContact_);
+                registrantContact_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
-            if (adminContact_ != null) {
-              subBuilder = adminContact_.toBuilder();
-            }
-            adminContact_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(adminContact_);
-              adminContact_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
+              if (adminContact_ != null) {
+                subBuilder = adminContact_.toBuilder();
+              }
+              adminContact_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(adminContact_);
+                adminContact_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 34: {
-            com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
-            if (technicalContact_ != null) {
-              subBuilder = technicalContact_.toBuilder();
-            }
-            technicalContact_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(technicalContact_);
-              technicalContact_ = subBuilder.buildPartial();
+              break;
             }
+          case 34:
+            {
+              com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder subBuilder = null;
+              if (technicalContact_ != null) {
+                subBuilder = technicalContact_.toBuilder();
+              }
+              technicalContact_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1alpha2.ContactSettings.Contact.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(technicalContact_);
+                technicalContact_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,137 +145,172 @@ private ContactSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.domains.v1alpha2.DomainsProto
+        .internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1alpha2.DomainsProto
+        .internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1alpha2.ContactSettings.class, com.google.cloud.domains.v1alpha2.ContactSettings.Builder.class);
+            com.google.cloud.domains.v1alpha2.ContactSettings.class,
+            com.google.cloud.domains.v1alpha2.ContactSettings.Builder.class);
   }
 
-  public interface ContactOrBuilder extends
+  public interface ContactOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ContactSettings.Contact)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder(); /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The email. */ java.lang.String getEmail(); /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for email. */ - com.google.protobuf.ByteString - getEmailBytes(); + com.google.protobuf.ByteString getEmailBytes(); /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phoneNumber. */ java.lang.String getPhoneNumber(); /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phoneNumber. */ - com.google.protobuf.ByteString - getPhoneNumberBytes(); + com.google.protobuf.ByteString getPhoneNumberBytes(); /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The faxNumber. */ java.lang.String getFaxNumber(); /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The bytes for faxNumber. */ - com.google.protobuf.ByteString - getFaxNumberBytes(); + com.google.protobuf.ByteString getFaxNumberBytes(); } /** + * + * *
    * Details required for a contact associated with a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ContactSettings.Contact} */ - public static final class Contact extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Contact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ContactSettings.Contact) ContactOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Contact.newBuilder() to construct. private Contact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Contact() { email_ = ""; phoneNumber_ = ""; @@ -254,16 +319,15 @@ private Contact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Contact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Contact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -282,44 +346,49 @@ private Contact( case 0: done = true; break; - case 10: { - com.google.type.PostalAddress.Builder subBuilder = null; - if (postalAddress_ != null) { - subBuilder = postalAddress_.toBuilder(); - } - postalAddress_ = input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(postalAddress_); - postalAddress_ = subBuilder.buildPartial(); + case 10: + { + com.google.type.PostalAddress.Builder subBuilder = null; + if (postalAddress_ != null) { + subBuilder = postalAddress_.toBuilder(); + } + postalAddress_ = + input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(postalAddress_); + postalAddress_ = subBuilder.buildPartial(); + } + + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - email_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + email_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - phoneNumber_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + phoneNumber_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - faxNumber_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + faxNumber_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -327,34 +396,41 @@ private Contact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.class, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.class, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder.class); } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 1; private com.google.type.PostalAddress postalAddress_; /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -362,23 +438,34 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { @@ -388,11 +475,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { public static final int EMAIL_FIELD_NUMBER = 2; private volatile java.lang.Object email_; /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The email. */ @java.lang.Override @@ -401,29 +491,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -434,12 +524,15 @@ public java.lang.String getEmail() { public static final int PHONE_NUMBER_FIELD_NUMBER = 3; private volatile java.lang.Object phoneNumber_; /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phoneNumber. */ @java.lang.Override @@ -448,30 +541,30 @@ public java.lang.String getPhoneNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; } } /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phoneNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhoneNumberBytes() { + public com.google.protobuf.ByteString getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -482,12 +575,15 @@ public java.lang.String getPhoneNumber() { public static final int FAX_NUMBER_FIELD_NUMBER = 4; private volatile java.lang.Object faxNumber_; /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The faxNumber. */ @java.lang.Override @@ -496,30 +592,30 @@ public java.lang.String getFaxNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; } } /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The bytes for faxNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getFaxNumberBytes() { + public com.google.protobuf.ByteString getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -528,6 +624,7 @@ public java.lang.String getFaxNumber() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -539,8 +636,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (postalAddress_ != null) { output.writeMessage(1, getPostalAddress()); } @@ -563,8 +659,7 @@ public int getSerializedSize() { size = 0; if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPostalAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_); @@ -583,24 +678,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.domains.v1alpha2.ContactSettings.Contact)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ContactSettings.Contact other = (com.google.cloud.domains.v1alpha2.ContactSettings.Contact) obj; + com.google.cloud.domains.v1alpha2.ContactSettings.Contact other = + (com.google.cloud.domains.v1alpha2.ContactSettings.Contact) obj; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress() - .equals(other.getPostalAddress())) return false; - } - if (!getEmail() - .equals(other.getEmail())) return false; - if (!getPhoneNumber() - .equals(other.getPhoneNumber())) return false; - if (!getFaxNumber() - .equals(other.getFaxNumber())) return false; + if (!getPostalAddress().equals(other.getPostalAddress())) return false; + } + if (!getEmail().equals(other.getEmail())) return false; + if (!getPhoneNumber().equals(other.getPhoneNumber())) return false; + if (!getFaxNumber().equals(other.getFaxNumber())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -628,87 +720,94 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ContactSettings.Contact prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.ContactSettings.Contact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -718,27 +817,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details required for a contact associated with a `Registration`.
      * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ContactSettings.Contact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ContactSettings.Contact) com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.class, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.class, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder() @@ -746,16 +850,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -775,9 +878,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor; } @java.lang.Override @@ -796,7 +899,8 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings.Contact buildPartial() { - com.google.cloud.domains.v1alpha2.ContactSettings.Contact result = new com.google.cloud.domains.v1alpha2.ContactSettings.Contact(this); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact result = + new com.google.cloud.domains.v1alpha2.ContactSettings.Contact(this); if (postalAddressBuilder_ == null) { result.postalAddress_ = postalAddress_; } else { @@ -813,38 +917,41 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1alpha2.ContactSettings.Contact) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ContactSettings.Contact)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ContactSettings.Contact) other); } else { super.mergeFrom(other); return this; @@ -852,7 +959,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ContactSettings.Contact other) { - if (other == com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance()) + return this; if (other.hasPostalAddress()) { mergePostalAddress(other.getPostalAddress()); } @@ -887,7 +995,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.ContactSettings.Contact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.ContactSettings.Contact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -899,39 +1008,58 @@ public Builder mergeFrom( private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> + postalAddressBuilder_; /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { @@ -947,14 +1075,17 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPostalAddress( - com.google.type.PostalAddress.Builder builderForValue) { + public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) { if (postalAddressBuilder_ == null) { postalAddress_ = builderForValue.build(); onChanged(); @@ -965,17 +1096,23 @@ public Builder setPostalAddress( return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { if (postalAddress_ != null) { postalAddress_ = - com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial(); + com.google.type.PostalAddress.newBuilder(postalAddress_) + .mergeFrom(value) + .buildPartial(); } else { postalAddress_ = value; } @@ -987,11 +1124,15 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPostalAddress() { if (postalAddressBuilder_ == null) { @@ -1005,48 +1146,64 @@ public Builder clearPostalAddress() { return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.PostalAddress.Builder getPostalAddressBuilder() { - + onChanged(); return getPostalAddressFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { if (postalAddressBuilder_ != null) { return postalAddressBuilder_.getMessageOrBuilder(); } else { - return postalAddress_ == null ? - com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> getPostalAddressFieldBuilder() { if (postalAddressBuilder_ == null) { - postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( - getPostalAddress(), - getParentForChildren(), - isClean()); + postalAddressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder>( + getPostalAddress(), getParentForChildren(), isClean()); postalAddress_ = null; } return postalAddressBuilder_; @@ -1054,18 +1211,20 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { private java.lang.Object email_ = ""; /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -1074,20 +1233,21 @@ public java.lang.String getEmail() { } } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for email. */ - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -1095,54 +1255,61 @@ public java.lang.String getEmail() { } } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail( - java.lang.String value) { + public Builder setEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; @@ -1150,19 +1317,21 @@ public Builder setEmailBytes( private java.lang.Object phoneNumber_ = ""; /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phoneNumber. */ public java.lang.String getPhoneNumber() { java.lang.Object ref = phoneNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; @@ -1171,21 +1340,22 @@ public java.lang.String getPhoneNumber() { } } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phoneNumber. */ - public com.google.protobuf.ByteString - getPhoneNumberBytes() { + public com.google.protobuf.ByteString getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -1193,57 +1363,64 @@ public java.lang.String getPhoneNumber() { } } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumber( - java.lang.String value) { + public Builder setPhoneNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phoneNumber_ = value; onChanged(); return this; } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPhoneNumber() { - + phoneNumber_ = getDefaultInstance().getPhoneNumber(); onChanged(); return this; } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phoneNumber_ = value; onChanged(); return this; @@ -1251,19 +1428,21 @@ public Builder setPhoneNumberBytes( private java.lang.Object faxNumber_ = ""; /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @return The faxNumber. */ public java.lang.String getFaxNumber() { java.lang.Object ref = faxNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; @@ -1272,21 +1451,22 @@ public java.lang.String getFaxNumber() { } } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @return The bytes for faxNumber. */ - public com.google.protobuf.ByteString - getFaxNumberBytes() { + public com.google.protobuf.ByteString getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -1294,61 +1474,69 @@ public java.lang.String getFaxNumber() { } } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @param value The faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumber( - java.lang.String value) { + public Builder setFaxNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + faxNumber_ = value; onChanged(); return this; } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @return This builder for chaining. */ public Builder clearFaxNumber() { - + faxNumber_ = getDefaultInstance().getFaxNumber(); onChanged(); return this; } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @param value The bytes for faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setFaxNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + faxNumber_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1361,12 +1549,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ContactSettings.Contact) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ContactSettings.Contact) private static final com.google.cloud.domains.v1alpha2.ContactSettings.Contact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ContactSettings.Contact(); } @@ -1375,16 +1563,16 @@ public static com.google.cloud.domains.v1alpha2.ContactSettings.Contact getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Contact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Contact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Contact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Contact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1399,39 +1587,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PRIVACY_FIELD_NUMBER = 1; private int privacy_; /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override public int getPrivacyValue() { + @java.lang.Override + public int getPrivacyValue() { return privacy_; } /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The privacy. */ - @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactPrivacy getPrivacy() { + @java.lang.Override + public com.google.cloud.domains.v1alpha2.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactPrivacy result = com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(privacy_); + com.google.cloud.domains.v1alpha2.ContactPrivacy result = + com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(privacy_); return result == null ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED : result; } public static final int REGISTRANT_CONTACT_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.ContactSettings.Contact registrantContact_; /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1441,7 +1643,10 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getDefaultInsta
    * suspension.*
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registrantContact field is set. */ @java.lang.Override @@ -1449,6 +1654,8 @@ public boolean hasRegistrantContact() { return registrantContact_ != null; } /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1458,14 +1665,21 @@ public boolean hasRegistrantContact() {
    * suspension.*
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registrantContact. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getRegistrantContact() { - return registrantContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : registrantContact_; + return registrantContact_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() + : registrantContact_; } /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1475,21 +1689,29 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getRegistrantCo
    * suspension.*
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder + getRegistrantContactOrBuilder() { return getRegistrantContact(); } public static final int ADMIN_CONTACT_FIELD_NUMBER = 3; private com.google.cloud.domains.v1alpha2.ContactSettings.Contact adminContact_; /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adminContact field is set. */ @java.lang.Override @@ -1497,37 +1719,54 @@ public boolean hasAdminContact() { return adminContact_ != null; } /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adminContact. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getAdminContact() { - return adminContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : adminContact_; + return adminContact_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() + : adminContact_; } /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder + getAdminContactOrBuilder() { return getAdminContact(); } public static final int TECHNICAL_CONTACT_FIELD_NUMBER = 4; private com.google.cloud.domains.v1alpha2.ContactSettings.Contact technicalContact_; /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the technicalContact field is set. */ @java.lang.Override @@ -1535,30 +1774,43 @@ public boolean hasTechnicalContact() { return technicalContact_ != null; } /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The technicalContact. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getTechnicalContact() { - return technicalContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : technicalContact_; + return technicalContact_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() + : technicalContact_; } /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder + getTechnicalContactOrBuilder() { return getTechnicalContact(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1570,9 +1822,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (privacy_ != com.google.cloud.domains.v1alpha2.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (privacy_ + != com.google.cloud.domains.v1alpha2.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED + .getNumber()) { output.writeEnum(1, privacy_); } if (registrantContact_ != null) { @@ -1593,21 +1846,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (privacy_ != com.google.cloud.domains.v1alpha2.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, privacy_); + if (privacy_ + != com.google.cloud.domains.v1alpha2.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, privacy_); } if (registrantContact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRegistrantContact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistrantContact()); } if (adminContact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAdminContact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAdminContact()); } if (technicalContact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTechnicalContact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTechnicalContact()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1617,28 +1868,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.domains.v1alpha2.ContactSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ContactSettings other = (com.google.cloud.domains.v1alpha2.ContactSettings) obj; + com.google.cloud.domains.v1alpha2.ContactSettings other = + (com.google.cloud.domains.v1alpha2.ContactSettings) obj; if (privacy_ != other.privacy_) return false; if (hasRegistrantContact() != other.hasRegistrantContact()) return false; if (hasRegistrantContact()) { - if (!getRegistrantContact() - .equals(other.getRegistrantContact())) return false; + if (!getRegistrantContact().equals(other.getRegistrantContact())) return false; } if (hasAdminContact() != other.hasAdminContact()) return false; if (hasAdminContact()) { - if (!getAdminContact() - .equals(other.getAdminContact())) return false; + if (!getAdminContact().equals(other.getAdminContact())) return false; } if (hasTechnicalContact() != other.hasTechnicalContact()) return false; if (hasTechnicalContact()) { - if (!getTechnicalContact() - .equals(other.getTechnicalContact())) return false; + if (!getTechnicalContact().equals(other.getTechnicalContact())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1671,96 +1920,103 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ContactSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ContactSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ContactSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ContactSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ContactSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines the contact information associated with a `Registration`.
    * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -1770,21 +2026,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.ContactSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ContactSettings)
       com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.ContactSettings.class, com.google.cloud.domains.v1alpha2.ContactSettings.Builder.class);
+              com.google.cloud.domains.v1alpha2.ContactSettings.class,
+              com.google.cloud.domains.v1alpha2.ContactSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder()
@@ -1792,16 +2050,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1829,9 +2086,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
     }
 
     @java.lang.Override
@@ -1850,7 +2107,8 @@ public com.google.cloud.domains.v1alpha2.ContactSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1alpha2.ContactSettings buildPartial() {
-      com.google.cloud.domains.v1alpha2.ContactSettings result = new com.google.cloud.domains.v1alpha2.ContactSettings(this);
+      com.google.cloud.domains.v1alpha2.ContactSettings result =
+          new com.google.cloud.domains.v1alpha2.ContactSettings(this);
       result.privacy_ = privacy_;
       if (registrantContactBuilder_ == null) {
         result.registrantContact_ = registrantContact_;
@@ -1875,38 +2133,39 @@ public com.google.cloud.domains.v1alpha2.ContactSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1alpha2.ContactSettings) {
-        return mergeFrom((com.google.cloud.domains.v1alpha2.ContactSettings)other);
+        return mergeFrom((com.google.cloud.domains.v1alpha2.ContactSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1914,7 +2173,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ContactSettings other) {
-      if (other == com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance()) return this;
+      if (other == com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance())
+        return this;
       if (other.privacy_ != 0) {
         setPrivacyValue(other.getPrivacyValue());
       }
@@ -1946,7 +2206,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.domains.v1alpha2.ContactSettings) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.domains.v1alpha2.ContactSettings) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1958,51 +2219,75 @@ public Builder mergeFrom(
 
     private int privacy_ = 0;
     /**
+     *
+     *
      * 
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override public int getPrivacyValue() { + @java.lang.Override + public int getPrivacyValue() { return privacy_; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for privacy to set. * @return This builder for chaining. */ public Builder setPrivacyValue(int value) { - + privacy_ = value; onChanged(); return this; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The privacy. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactPrivacy result = com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(privacy_); - return result == null ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.ContactPrivacy result = + com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(privacy_); + return result == null + ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The privacy to set. * @return This builder for chaining. */ @@ -2010,21 +2295,26 @@ public Builder setPrivacy(com.google.cloud.domains.v1alpha2.ContactPrivacy value if (value == null) { throw new NullPointerException(); } - + privacy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearPrivacy() { - + privacy_ = 0; onChanged(); return this; @@ -2032,8 +2322,13 @@ public Builder clearPrivacy() { private com.google.cloud.domains.v1alpha2.ContactSettings.Contact registrantContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> registrantContactBuilder_; + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> + registrantContactBuilder_; /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2043,13 +2338,18 @@ public Builder clearPrivacy() {
      * suspension.*
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registrantContact field is set. */ public boolean hasRegistrantContact() { return registrantContactBuilder_ != null || registrantContact_ != null; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2059,17 +2359,24 @@ public boolean hasRegistrantContact() {
      * suspension.*
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registrantContact. */ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getRegistrantContact() { if (registrantContactBuilder_ == null) { - return registrantContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : registrantContact_; + return registrantContact_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() + : registrantContact_; } else { return registrantContactBuilder_.getMessage(); } } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2079,9 +2386,12 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getRegistrantCo
      * suspension.*
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRegistrantContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder setRegistrantContact( + com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2095,6 +2405,8 @@ public Builder setRegistrantContact(com.google.cloud.domains.v1alpha2.ContactSet return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2104,7 +2416,9 @@ public Builder setRegistrantContact(com.google.cloud.domains.v1alpha2.ContactSet
      * suspension.*
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistrantContact( com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder builderForValue) { @@ -2118,6 +2432,8 @@ public Builder setRegistrantContact( return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2127,13 +2443,19 @@ public Builder setRegistrantContact(
      * suspension.*
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeRegistrantContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder mergeRegistrantContact( + com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { if (registrantContact_ != null) { registrantContact_ = - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder(registrantContact_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder( + registrantContact_) + .mergeFrom(value) + .buildPartial(); } else { registrantContact_ = value; } @@ -2145,6 +2467,8 @@ public Builder mergeRegistrantContact(com.google.cloud.domains.v1alpha2.ContactS return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2154,7 +2478,9 @@ public Builder mergeRegistrantContact(com.google.cloud.domains.v1alpha2.ContactS
      * suspension.*
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRegistrantContact() { if (registrantContactBuilder_ == null) { @@ -2168,6 +2494,8 @@ public Builder clearRegistrantContact() { return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2177,14 +2505,19 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder getRegistrantContactBuilder() { - + public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder + getRegistrantContactBuilder() { + onChanged(); return getRegistrantContactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2194,17 +2527,23 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder getRegi
      * suspension.*
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder + getRegistrantContactOrBuilder() { if (registrantContactBuilder_ != null) { return registrantContactBuilder_.getMessageOrBuilder(); } else { - return registrantContact_ == null ? - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : registrantContact_; + return registrantContact_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() + : registrantContact_; } } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2214,17 +2553,22 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getReg
      * suspension.*
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> getRegistrantContactFieldBuilder() { if (registrantContactBuilder_ == null) { - registrantContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( - getRegistrantContact(), - getParentForChildren(), - isClean()); + registrantContactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( + getRegistrantContact(), getParentForChildren(), isClean()); registrantContact_ = null; } return registrantContactBuilder_; @@ -2232,41 +2576,61 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getReg private com.google.cloud.domains.v1alpha2.ContactSettings.Contact adminContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> adminContactBuilder_; + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> + adminContactBuilder_; /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adminContact field is set. */ public boolean hasAdminContact() { return adminContactBuilder_ != null || adminContact_ != null; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adminContact. */ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getAdminContact() { if (adminContactBuilder_ == null) { - return adminContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : adminContact_; + return adminContact_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() + : adminContact_; } else { return adminContactBuilder_.getMessage(); } } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAdminContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder setAdminContact( + com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2280,11 +2644,15 @@ public Builder setAdminContact(com.google.cloud.domains.v1alpha2.ContactSettings return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdminContact( com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder builderForValue) { @@ -2298,17 +2666,24 @@ public Builder setAdminContact( return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAdminContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder mergeAdminContact( + com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { if (adminContact_ != null) { adminContact_ = - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder(adminContact_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder(adminContact_) + .mergeFrom(value) + .buildPartial(); } else { adminContact_ = value; } @@ -2320,11 +2695,15 @@ public Builder mergeAdminContact(com.google.cloud.domains.v1alpha2.ContactSettin return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAdminContact() { if (adminContactBuilder_ == null) { @@ -2338,48 +2717,66 @@ public Builder clearAdminContact() { return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder getAdminContactBuilder() { - + public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder + getAdminContactBuilder() { + onChanged(); return getAdminContactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder + getAdminContactOrBuilder() { if (adminContactBuilder_ != null) { return adminContactBuilder_.getMessageOrBuilder(); } else { - return adminContact_ == null ? - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : adminContact_; + return adminContact_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() + : adminContact_; } } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> getAdminContactFieldBuilder() { if (adminContactBuilder_ == null) { - adminContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( - getAdminContact(), - getParentForChildren(), - isClean()); + adminContactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( + getAdminContact(), getParentForChildren(), isClean()); adminContact_ = null; } return adminContactBuilder_; @@ -2387,41 +2784,61 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getAdm private com.google.cloud.domains.v1alpha2.ContactSettings.Contact technicalContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> technicalContactBuilder_; + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> + technicalContactBuilder_; /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the technicalContact field is set. */ public boolean hasTechnicalContact() { return technicalContactBuilder_ != null || technicalContact_ != null; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The technicalContact. */ public com.google.cloud.domains.v1alpha2.ContactSettings.Contact getTechnicalContact() { if (technicalContactBuilder_ == null) { - return technicalContact_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : technicalContact_; + return technicalContact_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() + : technicalContact_; } else { return technicalContactBuilder_.getMessage(); } } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTechnicalContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder setTechnicalContact( + com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2435,11 +2852,15 @@ public Builder setTechnicalContact(com.google.cloud.domains.v1alpha2.ContactSett return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTechnicalContact( com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder builderForValue) { @@ -2453,17 +2874,25 @@ public Builder setTechnicalContact( return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTechnicalContact(com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { + public Builder mergeTechnicalContact( + com.google.cloud.domains.v1alpha2.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { if (technicalContact_ != null) { technicalContact_ = - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder(technicalContact_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.newBuilder( + technicalContact_) + .mergeFrom(value) + .buildPartial(); } else { technicalContact_ = value; } @@ -2475,11 +2904,15 @@ public Builder mergeTechnicalContact(com.google.cloud.domains.v1alpha2.ContactSe return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTechnicalContact() { if (technicalContactBuilder_ == null) { @@ -2493,55 +2926,73 @@ public Builder clearTechnicalContact() { return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder getTechnicalContactBuilder() { - + public com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder + getTechnicalContactBuilder() { + onChanged(); return getTechnicalContactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder + getTechnicalContactOrBuilder() { if (technicalContactBuilder_ != null) { return technicalContactBuilder_.getMessageOrBuilder(); } else { - return technicalContact_ == null ? - com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() : technicalContact_; + return technicalContact_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.Contact.getDefaultInstance() + : technicalContact_; } } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder> getTechnicalContactFieldBuilder() { if (technicalContactBuilder_ == null) { - technicalContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings.Contact, com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( - getTechnicalContact(), - getParentForChildren(), - isClean()); + technicalContactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings.Contact, + com.google.cloud.domains.v1alpha2.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder>( + getTechnicalContact(), getParentForChildren(), isClean()); technicalContact_ = null; } return technicalContactBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2551,12 +3002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ContactSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ContactSettings) private static final com.google.cloud.domains.v1alpha2.ContactSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ContactSettings(); } @@ -2565,16 +3016,16 @@ public static com.google.cloud.domains.v1alpha2.ContactSettings getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContactSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContactSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContactSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContactSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2589,6 +3040,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.ContactSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java similarity index 58% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java index 1f1527d9..b6413f5d 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ContactSettingsOrBuilder.java @@ -1,32 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ContactSettingsOrBuilder extends +public interface ContactSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ContactSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for privacy. */ int getPrivacyValue(); /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The privacy. */ com.google.cloud.domains.v1alpha2.ContactPrivacy getPrivacy(); /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -36,11 +64,16 @@ public interface ContactSettingsOrBuilder extends
    * suspension.*
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registrantContact field is set. */ boolean hasRegistrantContact(); /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -50,11 +83,16 @@ public interface ContactSettingsOrBuilder extends
    * suspension.*
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registrantContact. */ com.google.cloud.domains.v1alpha2.ContactSettings.Contact getRegistrantContact(); /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -64,61 +102,92 @@ public interface ContactSettingsOrBuilder extends
    * suspension.*
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder(); + com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder + getRegistrantContactOrBuilder(); /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adminContact field is set. */ boolean hasAdminContact(); /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adminContact. */ com.google.cloud.domains.v1alpha2.ContactSettings.Contact getAdminContact(); /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getAdminContactOrBuilder(); /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the technicalContact field is set. */ boolean hasTechnicalContact(); /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The technicalContact. */ com.google.cloud.domains.v1alpha2.ContactSettings.Contact getTechnicalContact(); /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1alpha2.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java similarity index 65% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java index 7eebacb2..a7b59670 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `DeleteRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.DeleteRegistrationRequest} */ -public final class DeleteRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) DeleteRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRegistrationRequest.newBuilder() to construct. private DeleteRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRegistrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.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 @@ -110,30 +135,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 `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.domains.v1alpha2.DeleteRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest other = (com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) obj; + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest other = + (com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `DeleteRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.DeleteRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) com.google.cloud.domains.v1alpha2.DeleteRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.class, + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest buildPartial() { - com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest result = new com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest(this); + com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest result = + new com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest other) { - if (other == com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) private static final com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1alpha2.DeleteRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..8b2892a3 --- /dev/null +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DeleteRegistrationRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1alpha2/domains.proto + +package com.google.cloud.domains.v1alpha2; + +public interface DeleteRegistrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DeleteRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * 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/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java similarity index 75% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java index 1e418056..e15891a1 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettings.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Defines the DNS configuration of a `Registration`, including name servers,
  * DNSSEC, and glue records.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings}
  */
-public final class DnsSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DnsSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DnsSettings)
     DnsSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DnsSettings.newBuilder() to construct.
   private DnsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DnsSettings() {
     glueRecords_ = 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 DnsSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DnsSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,50 +72,68 @@ private DnsSettings(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder subBuilder = null;
-            if (dnsProviderCase_ == 1) {
-              subBuilder = ((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_).toBuilder();
-            }
-            dnsProvider_ =
-                input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_);
-              dnsProvider_ = subBuilder.buildPartial();
-            }
-            dnsProviderCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder subBuilder = null;
-            if (dnsProviderCase_ == 2) {
-              subBuilder = ((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_).toBuilder();
+          case 10:
+            {
+              com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder subBuilder = null;
+              if (dnsProviderCase_ == 1) {
+                subBuilder =
+                    ((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_)
+                        .toBuilder();
+              }
+              dnsProvider_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_);
+                dnsProvider_ = subBuilder.buildPartial();
+              }
+              dnsProviderCase_ = 1;
+              break;
             }
-            dnsProvider_ =
-                input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_);
-              dnsProvider_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder subBuilder =
+                  null;
+              if (dnsProviderCase_ == 2) {
+                subBuilder =
+                    ((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_)
+                        .toBuilder();
+              }
+              dnsProvider_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_);
+                dnsProvider_ = subBuilder.buildPartial();
+              }
+              dnsProviderCase_ = 2;
+              break;
             }
-            dnsProviderCase_ = 2;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              glueRecords_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                glueRecords_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              glueRecords_.add(
+                  input.readMessage(
+                      com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.parser(),
+                      extensionRegistry));
+              break;
             }
-            glueRecords_.add(
-                input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -106,8 +141,7 @@ private DnsSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         glueRecords_ = java.util.Collections.unmodifiableList(glueRecords_);
@@ -116,29 +150,35 @@ private DnsSettings(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.domains.v1alpha2.DomainsProto
+        .internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1alpha2.DomainsProto
+        .internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1alpha2.DnsSettings.class, com.google.cloud.domains.v1alpha2.DnsSettings.Builder.class);
+            com.google.cloud.domains.v1alpha2.DnsSettings.class,
+            com.google.cloud.domains.v1alpha2.DnsSettings.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The publication state of DS records for a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.DnsSettings.DsState} */ - public enum DsState - implements com.google.protobuf.ProtocolMessageEnum { + public enum DsState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * DS state is unspecified.
      * 
@@ -147,6 +187,8 @@ public enum DsState */ DS_STATE_UNSPECIFIED(0), /** + * + * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -156,6 +198,8 @@ public enum DsState
      */
     DS_RECORDS_UNPUBLISHED(1),
     /**
+     *
+     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -170,6 +214,8 @@ public enum DsState
     ;
 
     /**
+     *
+     *
      * 
      * DS state is unspecified.
      * 
@@ -178,6 +224,8 @@ public enum DsState */ public static final int DS_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -187,6 +235,8 @@ public enum DsState
      */
     public static final int DS_RECORDS_UNPUBLISHED_VALUE = 1;
     /**
+     *
+     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -198,7 +248,6 @@ public enum DsState
      */
     public static final int DS_RECORDS_PUBLISHED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -223,49 +272,49 @@ public static DsState valueOf(int value) {
      */
     public static DsState forNumber(int value) {
       switch (value) {
-        case 0: return DS_STATE_UNSPECIFIED;
-        case 1: return DS_RECORDS_UNPUBLISHED;
-        case 2: return DS_RECORDS_PUBLISHED;
-        default: return null;
+        case 0:
+          return DS_STATE_UNSPECIFIED;
+        case 1:
+          return DS_RECORDS_UNPUBLISHED;
+        case 2:
+          return DS_RECORDS_PUBLISHED;
+        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<
-        DsState> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DsState findValueByNumber(int number) {
-              return DsState.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 DsState findValueByNumber(int number) {
+            return DsState.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.domains.v1alpha2.DnsSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DsState[] VALUES = values();
 
-    public static DsState valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DsState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -282,11 +331,14 @@ private DsState(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1alpha2.DnsSettings.DsState)
   }
 
-  public interface CustomDnsOrBuilder extends
+  public interface CustomDnsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DnsSettings.CustomDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -294,11 +346,13 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the nameServers. */ - java.util.List - getNameServersList(); + java.util.List getNameServersList(); /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -306,10 +360,13 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of nameServers. */ int getNameServersCount(); /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -317,11 +374,14 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -329,13 +389,15 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString - getNameServersBytes(int index); + com.google.protobuf.ByteString getNameServersBytes(int index); /** + * + * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -344,9 +406,10 @@ public interface CustomDnsOrBuilder extends
      *
      * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List 
-        getDsRecordsList();
+    java.util.List getDsRecordsList();
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -357,6 +420,8 @@ public interface CustomDnsOrBuilder extends
      */
     com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int index);
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -367,6 +432,8 @@ public interface CustomDnsOrBuilder extends
      */
     int getDsRecordsCount();
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -375,9 +442,11 @@ public interface CustomDnsOrBuilder extends
      *
      * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List 
+    java.util.List
         getDsRecordsOrBuilderList();
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -390,21 +459,24 @@ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBu
         int index);
   }
   /**
+   *
+   *
    * 
    * Configuration for an arbitrary DNS provider.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.CustomDns} */ - public static final class CustomDns extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CustomDns extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DnsSettings.CustomDns) CustomDnsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomDns.newBuilder() to construct. private CustomDns(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomDns() { nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; dsRecords_ = java.util.Collections.emptyList(); @@ -412,16 +484,15 @@ private CustomDns() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomDns(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CustomDns( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -441,31 +512,37 @@ private CustomDns( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + nameServers_.add(s); + break; } - nameServers_.add(s); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - dsRecords_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + dsRecords_ = + new java.util.ArrayList< + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord>(); + mutable_bitField0_ |= 0x00000002; + } + dsRecords_.add( + input.readMessage( + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.parser(), + extensionRegistry)); + break; } - dsRecords_.add( - input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,8 +550,7 @@ private CustomDns( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -486,22 +562,27 @@ private CustomDns( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.class, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.class, + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder.class); } public static final int NAME_SERVERS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList nameServers_; /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -509,13 +590,15 @@ private CustomDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_; } /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -523,12 +606,15 @@ private CustomDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -536,6 +622,7 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -543,6 +630,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -550,17 +639,19 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_RECORDS_FIELD_NUMBER = 2; private java.util.List dsRecords_; /** + * + * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -570,10 +661,13 @@ public java.lang.String getNameServers(int index) {
      * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      */
     @java.lang.Override
-    public java.util.List getDsRecordsList() {
+    public java.util.List
+        getDsRecordsList() {
       return dsRecords_;
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -583,11 +677,13 @@ public java.util.List ge
      * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getDsRecordsOrBuilderList() {
       return dsRecords_;
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -601,6 +697,8 @@ public int getDsRecordsCount() {
       return dsRecords_.size();
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -614,6 +712,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int i
       return dsRecords_.get(index);
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -629,6 +729,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -640,8 +741,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < nameServers_.size(); i++) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i));
       }
@@ -666,8 +766,7 @@ public int getSerializedSize() {
         size += 1 * getNameServersList().size();
       }
       for (int i = 0; i < dsRecords_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, dsRecords_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dsRecords_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -677,17 +776,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.domains.v1alpha2.DnsSettings.CustomDns)) {
         return super.equals(obj);
       }
-      com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns other = (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) obj;
+      com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns other =
+          (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) obj;
 
-      if (!getNameServersList()
-          .equals(other.getNameServersList())) return false;
-      if (!getDsRecordsList()
-          .equals(other.getDsRecordsList())) return false;
+      if (!getNameServersList().equals(other.getNameServersList())) return false;
+      if (!getDsRecordsList().equals(other.getDsRecordsList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -713,87 +811,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -803,27 +908,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Configuration for an arbitrary DNS provider.
      * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.CustomDns} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DnsSettings.CustomDns) com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.class, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.class, + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.newBuilder() @@ -831,17 +941,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDsRecordsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -857,9 +967,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor; } @java.lang.Override @@ -878,7 +988,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns buildPartial() { - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns result = new com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns(this); + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns result = + new com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -902,38 +1013,41 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1alpha2.DnsSettings.CustomDns) { - return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) other); } else { super.mergeFrom(other); return this; @@ -941,7 +1055,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns other) { - if (other == com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance()) + return this; if (!other.nameServers_.isEmpty()) { if (nameServers_.isEmpty()) { nameServers_ = other.nameServers_; @@ -970,9 +1085,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns dsRecordsBuilder_ = null; dsRecords_ = other.dsRecords_; bitField0_ = (bitField0_ & ~0x00000002); - dsRecordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDsRecordsFieldBuilder() : null; + dsRecordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDsRecordsFieldBuilder() + : null; } else { dsRecordsBuilder_.addAllMessages(other.dsRecords_); } @@ -997,7 +1113,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1006,16 +1123,21 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList nameServers_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1023,13 +1145,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_.getUnmodifiableView(); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1037,12 +1161,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1050,6 +1177,7 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1057,6 +1185,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1064,14 +1194,16 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1079,21 +1211,23 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers( - int index, java.lang.String value) { + public Builder setNameServers(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1101,20 +1235,22 @@ public Builder setNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers( - java.lang.String value) { + public Builder addNameServers(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1122,18 +1258,19 @@ public Builder addNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers( - java.lang.Iterable values) { + public Builder addAllNameServers(java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); onChanged(); return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1141,6 +1278,7 @@ public Builder addAllNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1150,6 +1288,8 @@ public Builder clearNameServers() { return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1157,15 +1297,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes( - com.google.protobuf.ByteString value) { + public Builder addNameServersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1173,18 +1313,26 @@ public Builder addNameServersBytes( } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = new java.util.ArrayList(dsRecords_); + dsRecords_ = + new java.util.ArrayList( + dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> + dsRecordsBuilder_; /** + * + * *
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1193,7 +1341,8 @@ private void ensureDsRecordsIsMutable() {
        *
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List getDsRecordsList() {
+      public java.util.List
+          getDsRecordsList() {
         if (dsRecordsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(dsRecords_);
         } else {
@@ -1201,6 +1350,8 @@ public java.util.List ge
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1217,6 +1368,8 @@ public int getDsRecordsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1233,6 +1386,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int i
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1256,6 +1411,8 @@ public Builder setDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1265,7 +1422,8 @@ public Builder setDsRecords(
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder setDsRecords(
-          int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) {
+          int index,
+          com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
           dsRecords_.set(index, builderForValue.build());
@@ -1276,6 +1434,8 @@ public Builder setDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1298,6 +1458,8 @@ public Builder addDsRecords(com.google.cloud.domains.v1alpha2.DnsSettings.DsReco
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1321,6 +1483,8 @@ public Builder addDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1341,6 +1505,8 @@ public Builder addDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1350,7 +1516,8 @@ public Builder addDsRecords(
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder addDsRecords(
-          int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) {
+          int index,
+          com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
           dsRecords_.add(index, builderForValue.build());
@@ -1361,6 +1528,8 @@ public Builder addDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1370,11 +1539,11 @@ public Builder addDsRecords(
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder addAllDsRecords(
-          java.lang.Iterable values) {
+          java.lang.Iterable
+              values) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, dsRecords_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_);
           onChanged();
         } else {
           dsRecordsBuilder_.addAllMessages(values);
@@ -1382,6 +1551,8 @@ public Builder addAllDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1401,6 +1572,8 @@ public Builder clearDsRecords() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1420,6 +1593,8 @@ public Builder removeDsRecords(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1433,6 +1608,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder getDsRecor
         return getDsRecordsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1444,11 +1621,14 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder getDsRecor
       public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
           int index) {
         if (dsRecordsBuilder_ == null) {
-          return dsRecords_.get(index);  } else {
+          return dsRecords_.get(index);
+        } else {
           return dsRecordsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1457,8 +1637,9 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco
        *
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List 
-           getDsRecordsOrBuilderList() {
+      public java.util.List<
+              ? extends com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>
+          getDsRecordsOrBuilderList() {
         if (dsRecordsBuilder_ != null) {
           return dsRecordsBuilder_.getMessageOrBuilderList();
         } else {
@@ -1466,6 +1647,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1475,10 +1658,13 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
       public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecordsBuilder() {
-        return getDsRecordsFieldBuilder().addBuilder(
-            com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder()
+            .addBuilder(
+                com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1489,10 +1675,13 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecor
        */
       public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecordsBuilder(
           int index) {
-        return getDsRecordsFieldBuilder().addBuilder(
-            index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder()
+            .addBuilder(
+                index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1501,24 +1690,28 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecor
        *
        * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List 
-           getDsRecordsBuilderList() {
+      public java.util.List
+          getDsRecordsBuilderList() {
         return getDsRecordsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> 
+              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord,
+              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder,
+              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>
           getDsRecordsFieldBuilder() {
         if (dsRecordsBuilder_ == null) {
-          dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>(
-                  dsRecords_,
-                  ((bitField0_ & 0x00000002) != 0),
-                  getParentForChildren(),
-                  isClean());
+          dsRecordsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord,
+                  com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder,
+                  com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>(
+                  dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
           dsRecords_ = null;
         }
         return dsRecordsBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1531,12 +1724,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DnsSettings.CustomDns)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DnsSettings.CustomDns)
     private static final com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns();
     }
@@ -1545,16 +1738,16 @@ public static com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getDefault
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CustomDns parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new CustomDns(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CustomDns parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new CustomDns(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1569,14 +1762,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface GoogleDomainsDnsOrBuilder extends
+  public interface GoogleDomainsDnsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1585,12 +1780,14 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the nameServers. */ - java.util.List - getNameServersList(); + java.util.List getNameServersList(); /** - *
+     *
+     *
+     * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
      * Punycode format. This field is automatically populated with the name
@@ -1598,10 +1795,13 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of nameServers. */ int getNameServersCount(); /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1610,11 +1810,14 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1623,88 +1826,119 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString - getNameServersBytes(int index); + com.google.protobuf.ByteString getNameServersBytes(int index); /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dsState. */ int getDsStateValue(); /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dsState. */ com.google.cloud.domains.v1alpha2.DnsSettings.DsState getDsState(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getDsRecordsList(); + java.util.List getDsRecordsList(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int index); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getDsRecordsCount(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getDsRecordsOrBuilderList(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( int index); } /** + * + * *
    * Configuration for using the free DNS zone provided by Google Domains as a
    * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -1714,15 +1948,16 @@ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBu
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns}
    */
-  public static final class GoogleDomainsDns extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class GoogleDomainsDns extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns)
       GoogleDomainsDnsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use GoogleDomainsDns.newBuilder() to construct.
     private GoogleDomainsDns(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private GoogleDomainsDns() {
       nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       dsState_ = 0;
@@ -1731,16 +1966,15 @@ private GoogleDomainsDns() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new GoogleDomainsDns();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private GoogleDomainsDns(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1760,37 +1994,44 @@ private GoogleDomainsDns(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                nameServers_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  nameServers_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                nameServers_.add(s);
+                break;
               }
-              nameServers_.add(s);
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              dsState_ = rawValue;
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                dsRecords_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+                dsState_ = rawValue;
+                break;
               }
-              dsRecords_.add(
-                  input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  dsRecords_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord>();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                dsRecords_.add(
+                    input.readMessage(
+                        com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.parser(),
+                        extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1798,8 +2039,7 @@ private GoogleDomainsDns(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -1811,22 +2051,27 @@ private GoogleDomainsDns(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder.class);
+              com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.class,
+              com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder.class);
     }
 
     public static final int NAME_SERVERS_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList nameServers_;
     /**
+     *
+     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1835,13 +2080,15 @@ private GoogleDomainsDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_; } /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1850,12 +2097,15 @@ private GoogleDomainsDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1864,6 +2114,7 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1871,6 +2122,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1879,106 +2132,142 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_STATE_FIELD_NUMBER = 2; private int dsState_; /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override public int getDsStateValue() { + @java.lang.Override + public int getDsStateValue() { return dsState_; } /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dsState. */ - @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsState getDsState() { + @java.lang.Override + public com.google.cloud.domains.v1alpha2.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsState result = com.google.cloud.domains.v1alpha2.DnsSettings.DsState.valueOf(dsState_); - return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsState.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsState result = + com.google.cloud.domains.v1alpha2.DnsSettings.DsState.valueOf(dsState_); + return result == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.DsState.UNRECOGNIZED + : result; } public static final int DS_RECORDS_FIELD_NUMBER = 3; private java.util.List dsRecords_; /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getDsRecordsList() { + public java.util.List + getDsRecordsList() { return dsRecords_; } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getDsRecordsOrBuilderList() { return dsRecords_; } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getDsRecordsCount() { return dsRecords_.size(); } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int index) { return dsRecords_.get(index); } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( @@ -1987,6 +2276,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1998,12 +2288,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i)); } - if (dsState_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { + if (dsState_ + != com.google.cloud.domains.v1alpha2.DnsSettings.DsState.DS_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { @@ -2026,13 +2317,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (dsState_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, dsState_); + if (dsState_ + != com.google.cloud.domains.v1alpha2.DnsSettings.DsState.DS_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, dsRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, dsRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2042,18 +2333,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.domains.v1alpha2.DnsSettings.GoogleDomainsDns)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns other = (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) obj; + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns other = + (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) obj; - if (!getNameServersList() - .equals(other.getNameServersList())) return false; + if (!getNameServersList().equals(other.getNameServersList())) return false; if (dsState_ != other.dsState_) return false; - if (!getDsRecordsList() - .equals(other.getDsRecordsList())) return false; + if (!getDsRecordsList().equals(other.getDsRecordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2081,87 +2371,94 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2171,6 +2468,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for using the free DNS zone provided by Google Domains as a
      * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -2180,21 +2479,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns)
         com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto
+            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+        return com.google.cloud.domains.v1alpha2.DomainsProto
+            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder.class);
+                com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.class,
+                com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.newBuilder()
@@ -2202,17 +2504,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getDsRecordsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2230,13 +2532,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto
+            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getDefaultInstanceForType() {
+      public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns
+          getDefaultInstanceForType() {
         return com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance();
       }
 
@@ -2251,7 +2554,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns buildPartial() {
-        com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns result = new com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns(this);
+        com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns result =
+            new com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -2276,46 +2580,52 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns buildParti
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) {
-          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns)other);
+          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns other) {
-        if (other == com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns other) {
+        if (other
+            == com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance())
+          return this;
         if (!other.nameServers_.isEmpty()) {
           if (nameServers_.isEmpty()) {
             nameServers_ = other.nameServers_;
@@ -2347,9 +2657,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDom
               dsRecordsBuilder_ = null;
               dsRecords_ = other.dsRecords_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              dsRecordsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getDsRecordsFieldBuilder() : null;
+              dsRecordsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getDsRecordsFieldBuilder()
+                      : null;
             } else {
               dsRecordsBuilder_.addAllMessages(other.dsRecords_);
             }
@@ -2374,7 +2685,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2383,16 +2696,21 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList nameServers_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureNameServersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2401,13 +2719,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_.getUnmodifiableView(); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2416,12 +2736,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2430,6 +2753,7 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -2437,6 +2761,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2445,14 +2771,16 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2461,21 +2789,23 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers( - int index, java.lang.String value) { + public Builder setNameServers(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2484,20 +2814,22 @@ public Builder setNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers( - java.lang.String value) { + public Builder addNameServers(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2506,18 +2838,19 @@ public Builder addNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers( - java.lang.Iterable values) { + public Builder addAllNameServers(java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); onChanged(); return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2526,6 +2859,7 @@ public Builder addAllNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -2535,6 +2869,8 @@ public Builder clearNameServers() { return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2543,15 +2879,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes( - com.google.protobuf.ByteString value) { + public Builder addNameServersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -2560,55 +2896,79 @@ public Builder addNameServersBytes( private int dsState_ = 0; /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override public int getDsStateValue() { + @java.lang.Override + public int getDsStateValue() { return dsState_; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for dsState to set. * @return This builder for chaining. */ public Builder setDsStateValue(int value) { - + dsState_ = value; onChanged(); return this; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dsState. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsState result = com.google.cloud.domains.v1alpha2.DnsSettings.DsState.valueOf(dsState_); - return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsState.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsState result = + com.google.cloud.domains.v1alpha2.DnsSettings.DsState.valueOf(dsState_); + return result == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.DsState.UNRECOGNIZED + : result; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The dsState to set. * @return This builder for chaining. */ @@ -2616,49 +2976,65 @@ public Builder setDsState(com.google.cloud.domains.v1alpha2.DnsSettings.DsState if (value == null) { throw new NullPointerException(); } - + dsState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearDsState() { - + dsState_ = 0; onChanged(); return this; } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = new java.util.ArrayList(dsRecords_); + dsRecords_ = + new java.util.ArrayList( + dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> + dsRecordsBuilder_; /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getDsRecordsList() { + public java.util.List + getDsRecordsList() { if (dsRecordsBuilder_ == null) { return java.util.Collections.unmodifiableList(dsRecords_); } else { @@ -2666,13 +3042,17 @@ public java.util.List ge } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getDsRecordsCount() { if (dsRecordsBuilder_ == null) { @@ -2682,13 +3062,17 @@ public int getDsRecordsCount() { } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -2698,13 +3082,17 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDsRecords(int i } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDsRecords( int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord value) { @@ -2721,16 +3109,21 @@ public Builder setDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDsRecords( - int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) { + int index, + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); dsRecords_.set(index, builderForValue.build()); @@ -2741,13 +3134,17 @@ public Builder setDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord value) { if (dsRecordsBuilder_ == null) { @@ -2763,13 +3160,17 @@ public Builder addDsRecords(com.google.cloud.domains.v1alpha2.DnsSettings.DsReco return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords( int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord value) { @@ -2786,13 +3187,17 @@ public Builder addDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords( com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) { @@ -2806,16 +3211,21 @@ public Builder addDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords( - int index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) { + int index, + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder builderForValue) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); dsRecords_.add(index, builderForValue.build()); @@ -2826,20 +3236,24 @@ public Builder addDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllDsRecords( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dsRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_); onChanged(); } else { dsRecordsBuilder_.addAllMessages(values); @@ -2847,13 +3261,17 @@ public Builder addAllDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDsRecords() { if (dsRecordsBuilder_ == null) { @@ -2866,13 +3284,17 @@ public Builder clearDsRecords() { return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -2885,45 +3307,59 @@ public Builder removeDsRecords(int index) { return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder getDsRecordsBuilder( int index) { return getDsRecordsFieldBuilder().getBuilder(index); } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( int index) { if (dsRecordsBuilder_ == null) { - return dsRecords_.get(index); } else { + return dsRecords_.get(index); + } else { return dsRecordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getDsRecordsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> + getDsRecordsOrBuilderList() { if (dsRecordsBuilder_ != null) { return dsRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -2931,59 +3367,77 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecordsBuilder() { - return getDsRecordsFieldBuilder().addBuilder( - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder() + .addBuilder( + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance()); } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder addDsRecordsBuilder( int index) { - return getDsRecordsFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder() + .addBuilder( + index, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance()); } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getDsRecordsBuilderList() { + public java.util.List + getDsRecordsBuilderList() { return getDsRecordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> getDsRecordsFieldBuilder() { if (dsRecordsBuilder_ == null) { - dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>( - dsRecords_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + dsRecordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord, + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder>( + dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); dsRecords_ = null; } return dsRecordsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2996,30 +3450,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) - private static final com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns(); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleDomainsDns parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GoogleDomainsDns(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleDomainsDns parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GoogleDomainsDns(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3031,85 +3487,108 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DsRecordOrBuilder extends + public interface DsRecordOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DnsSettings.DsRecord) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; + * * @return The keyTag. */ int getKeyTag(); /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The enum numeric value on the wire for algorithm. */ int getAlgorithmValue(); /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The algorithm. */ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm getAlgorithm(); /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The enum numeric value on the wire for digestType. */ int getDigestTypeValue(); /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The digestType. */ com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType getDigestType(); /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The digest. */ java.lang.String getDigest(); /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The bytes for digest. */ - com.google.protobuf.ByteString - getDigestBytes(); + com.google.protobuf.ByteString getDigestBytes(); } /** + * + * *
    * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
    * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -3118,15 +3597,16 @@ public interface DsRecordOrBuilder extends
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.DsRecord}
    */
-  public static final class DsRecord extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class DsRecord extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DnsSettings.DsRecord)
       DsRecordOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use DsRecord.newBuilder() to construct.
     private DsRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private DsRecord() {
       algorithm_ = 0;
       digestType_ = 0;
@@ -3135,16 +3615,15 @@ private DsRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new DsRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private DsRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3163,36 +3642,39 @@ private DsRecord(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              keyTag_ = input.readInt32();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                keyTag_ = input.readInt32();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              algorithm_ = rawValue;
-              break;
-            }
-            case 24: {
-              int rawValue = input.readEnum();
+                algorithm_ = rawValue;
+                break;
+              }
+            case 24:
+              {
+                int rawValue = input.readEnum();
 
-              digestType_ = rawValue;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                digestType_ = rawValue;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              digest_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                digest_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3200,27 +3682,31 @@ private DsRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.class, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder.class);
+              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.class,
+              com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * List of algorithms used to create a DNSKEY. Certain
      * algorithms are not supported for particular domains.
@@ -3228,9 +3714,10 @@ private DsRecord(
      *
      * Protobuf enum {@code google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm}
      */
-    public enum Algorithm
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * The algorithm is unspecified.
        * 
@@ -3239,6 +3726,8 @@ public enum Algorithm */ ALGORITHM_UNSPECIFIED(0), /** + * + * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3247,6 +3736,8 @@ public enum Algorithm */ RSAMD5(1), /** + * + * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3255,6 +3746,8 @@ public enum Algorithm */ DH(2), /** + * + * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3263,6 +3756,8 @@ public enum Algorithm */ DSA(3), /** + * + * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3271,6 +3766,8 @@ public enum Algorithm */ ECC(4), /** + * + * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3279,6 +3776,8 @@ public enum Algorithm */ RSASHA1(5), /** + * + * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3287,6 +3786,8 @@ public enum Algorithm */ DSANSEC3SHA1(6), /** + * + * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3295,6 +3796,8 @@ public enum Algorithm */ RSASHA1NSEC3SHA1(7), /** + * + * *
        * RSA/SHA-256.
        * 
@@ -3303,6 +3806,8 @@ public enum Algorithm */ RSASHA256(8), /** + * + * *
        * RSA/SHA-512.
        * 
@@ -3311,6 +3816,8 @@ public enum Algorithm */ RSASHA512(10), /** + * + * *
        * GOST R 34.10-2001.
        * 
@@ -3319,6 +3826,8 @@ public enum Algorithm */ ECCGOST(12), /** + * + * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3327,6 +3836,8 @@ public enum Algorithm */ ECDSAP256SHA256(13), /** + * + * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3335,6 +3846,8 @@ public enum Algorithm */ ECDSAP384SHA384(14), /** + * + * *
        * Ed25519.
        * 
@@ -3343,6 +3856,8 @@ public enum Algorithm */ ED25519(15), /** + * + * *
        * Ed448.
        * 
@@ -3351,6 +3866,8 @@ public enum Algorithm */ ED448(16), /** + * + * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -3359,6 +3876,8 @@ public enum Algorithm */ INDIRECT(252), /** + * + * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -3367,6 +3886,8 @@ public enum Algorithm */ PRIVATEDNS(253), /** + * + * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -3378,6 +3899,8 @@ public enum Algorithm ; /** + * + * *
        * The algorithm is unspecified.
        * 
@@ -3386,6 +3909,8 @@ public enum Algorithm */ public static final int ALGORITHM_UNSPECIFIED_VALUE = 0; /** + * + * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3394,6 +3919,8 @@ public enum Algorithm */ public static final int RSAMD5_VALUE = 1; /** + * + * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3402,6 +3929,8 @@ public enum Algorithm */ public static final int DH_VALUE = 2; /** + * + * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3410,6 +3939,8 @@ public enum Algorithm */ public static final int DSA_VALUE = 3; /** + * + * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3418,6 +3949,8 @@ public enum Algorithm */ public static final int ECC_VALUE = 4; /** + * + * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3426,6 +3959,8 @@ public enum Algorithm */ public static final int RSASHA1_VALUE = 5; /** + * + * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3434,6 +3969,8 @@ public enum Algorithm */ public static final int DSANSEC3SHA1_VALUE = 6; /** + * + * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3442,6 +3979,8 @@ public enum Algorithm */ public static final int RSASHA1NSEC3SHA1_VALUE = 7; /** + * + * *
        * RSA/SHA-256.
        * 
@@ -3450,6 +3989,8 @@ public enum Algorithm */ public static final int RSASHA256_VALUE = 8; /** + * + * *
        * RSA/SHA-512.
        * 
@@ -3458,6 +3999,8 @@ public enum Algorithm */ public static final int RSASHA512_VALUE = 10; /** + * + * *
        * GOST R 34.10-2001.
        * 
@@ -3466,6 +4009,8 @@ public enum Algorithm */ public static final int ECCGOST_VALUE = 12; /** + * + * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3474,6 +4019,8 @@ public enum Algorithm */ public static final int ECDSAP256SHA256_VALUE = 13; /** + * + * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3482,6 +4029,8 @@ public enum Algorithm */ public static final int ECDSAP384SHA384_VALUE = 14; /** + * + * *
        * Ed25519.
        * 
@@ -3490,6 +4039,8 @@ public enum Algorithm */ public static final int ED25519_VALUE = 15; /** + * + * *
        * Ed448.
        * 
@@ -3498,6 +4049,8 @@ public enum Algorithm */ public static final int ED448_VALUE = 16; /** + * + * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -3506,6 +4059,8 @@ public enum Algorithm */ public static final int INDIRECT_VALUE = 252; /** + * + * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -3514,6 +4069,8 @@ public enum Algorithm */ public static final int PRIVATEDNS_VALUE = 253; /** + * + * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -3522,7 +4079,6 @@ public enum Algorithm */ public static final int PRIVATEOID_VALUE = 254; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3547,64 +4103,81 @@ public static Algorithm valueOf(int value) { */ public static Algorithm forNumber(int value) { switch (value) { - case 0: return ALGORITHM_UNSPECIFIED; - case 1: return RSAMD5; - case 2: return DH; - case 3: return DSA; - case 4: return ECC; - case 5: return RSASHA1; - case 6: return DSANSEC3SHA1; - case 7: return RSASHA1NSEC3SHA1; - case 8: return RSASHA256; - case 10: return RSASHA512; - case 12: return ECCGOST; - case 13: return ECDSAP256SHA256; - case 14: return ECDSAP384SHA384; - case 15: return ED25519; - case 16: return ED448; - case 252: return INDIRECT; - case 253: return PRIVATEDNS; - case 254: return PRIVATEOID; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return ALGORITHM_UNSPECIFIED; + case 1: + return RSAMD5; + case 2: + return DH; + case 3: + return DSA; + case 4: + return ECC; + case 5: + return RSASHA1; + case 6: + return DSANSEC3SHA1; + case 7: + return RSASHA1NSEC3SHA1; + case 8: + return RSASHA256; + case 10: + return RSASHA512; + case 12: + return ECCGOST; + case 13: + return ECDSAP256SHA256; + case 14: + return ECDSAP384SHA384; + case 15: + return ED25519; + case 16: + return ED448; + case 252: + return INDIRECT; + case 253: + return PRIVATEDNS; + case 254: + return PRIVATEOID; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Algorithm> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Algorithm findValueByNumber(int number) { - return Algorithm.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 Algorithm findValueByNumber(int number) { + return Algorithm.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.domains.v1alpha2.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDescriptor() + .getEnumTypes() + .get(0); } private static final Algorithm[] VALUES = values(); - public static Algorithm valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Algorithm 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; @@ -3622,6 +4195,8 @@ private Algorithm(int value) { } /** + * + * *
      * List of hash functions that may have been used to generate a digest of a
      * DNSKEY.
@@ -3629,9 +4204,10 @@ private Algorithm(int value) {
      *
      * Protobuf enum {@code google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType}
      */
-    public enum DigestType
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum DigestType implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * The DigestType is unspecified.
        * 
@@ -3640,6 +4216,8 @@ public enum DigestType */ DIGEST_TYPE_UNSPECIFIED(0), /** + * + * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -3648,6 +4226,8 @@ public enum DigestType */ SHA1(1), /** + * + * *
        * SHA-256.
        * 
@@ -3656,6 +4236,8 @@ public enum DigestType */ SHA256(2), /** + * + * *
        * GOST R 34.11-94.
        * 
@@ -3664,6 +4246,8 @@ public enum DigestType */ GOST3411(3), /** + * + * *
        * SHA-384.
        * 
@@ -3675,6 +4259,8 @@ public enum DigestType ; /** + * + * *
        * The DigestType is unspecified.
        * 
@@ -3683,6 +4269,8 @@ public enum DigestType */ public static final int DIGEST_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -3691,6 +4279,8 @@ public enum DigestType */ public static final int SHA1_VALUE = 1; /** + * + * *
        * SHA-256.
        * 
@@ -3699,6 +4289,8 @@ public enum DigestType */ public static final int SHA256_VALUE = 2; /** + * + * *
        * GOST R 34.11-94.
        * 
@@ -3707,6 +4299,8 @@ public enum DigestType */ public static final int GOST3411_VALUE = 3; /** + * + * *
        * SHA-384.
        * 
@@ -3715,7 +4309,6 @@ public enum DigestType */ public static final int SHA384_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3740,51 +4333,55 @@ public static DigestType valueOf(int value) { */ public static DigestType forNumber(int value) { switch (value) { - case 0: return DIGEST_TYPE_UNSPECIFIED; - case 1: return SHA1; - case 2: return SHA256; - case 3: return GOST3411; - case 4: return SHA384; - default: return null; + case 0: + return DIGEST_TYPE_UNSPECIFIED; + case 1: + return SHA1; + case 2: + return SHA256; + case 3: + return GOST3411; + case 4: + return SHA384; + 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< - DigestType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DigestType findValueByNumber(int number) { - return DigestType.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 DigestType findValueByNumber(int number) { + return DigestType.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.domains.v1alpha2.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDescriptor() + .getEnumTypes() + .get(1); } private static final DigestType[] VALUES = values(); - public static DigestType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DigestType 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; @@ -3804,11 +4401,14 @@ private DigestType(int value) { public static final int KEY_TAG_FIELD_NUMBER = 1; private int keyTag_; /** + * + * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; + * * @return The keyTag. */ @java.lang.Override @@ -3819,65 +4419,90 @@ public int getKeyTag() { public static final int ALGORITHM_FIELD_NUMBER = 2; private int algorithm_; /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override public int getAlgorithmValue() { + @java.lang.Override + public int getAlgorithmValue() { return algorithm_; } /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The algorithm. */ - @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm getAlgorithm() { + @java.lang.Override + public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm result = + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED + : result; } public static final int DIGEST_TYPE_FIELD_NUMBER = 3; private int digestType_; /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override public int getDigestTypeValue() { + @java.lang.Override + public int getDigestTypeValue() { return digestType_; } /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The digestType. */ - @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType getDigestType() { + @java.lang.Override + public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType result = + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.UNRECOGNIZED + : result; } public static final int DIGEST_FIELD_NUMBER = 4; private volatile java.lang.Object digest_; /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The digest. */ @java.lang.Override @@ -3886,29 +4511,29 @@ public java.lang.String getDigest() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; } } /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The bytes for digest. */ @java.lang.Override - public com.google.protobuf.ByteString - getDigestBytes() { + public com.google.protobuf.ByteString getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); digest_ = b; return b; } else { @@ -3917,6 +4542,7 @@ public java.lang.String getDigest() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3928,15 +4554,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (keyTag_ != 0) { output.writeInt32(1, keyTag_); } - if (algorithm_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { + if (algorithm_ + != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED + .getNumber()) { output.writeEnum(2, algorithm_); } - if (digestType_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { + if (digestType_ + != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType + .DIGEST_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { @@ -3952,16 +4582,18 @@ public int getSerializedSize() { size = 0; if (keyTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, keyTag_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, keyTag_); } - if (algorithm_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, algorithm_); + if (algorithm_ + != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, algorithm_); } - if (digestType_ != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, digestType_); + if (digestType_ + != com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType + .DIGEST_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, digest_); @@ -3974,19 +4606,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.domains.v1alpha2.DnsSettings.DsRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord other = (com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord) obj; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord other = + (com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord) obj; - if (getKeyTag() - != other.getKeyTag()) return false; + if (getKeyTag() != other.getKeyTag()) return false; if (algorithm_ != other.algorithm_) return false; if (digestType_ != other.digestType_) return false; - if (!getDigest() - .equals(other.getDigest())) return false; + if (!getDigest().equals(other.getDigest())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4012,87 +4643,94 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4102,6 +4740,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
      * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -4110,21 +4750,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.DsRecord}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DnsSettings.DsRecord)
         com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto
+            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1alpha2.DomainsProto
+            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.class, com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder.class);
+                com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.class,
+                com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.newBuilder()
@@ -4132,16 +4775,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4157,9 +4799,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto
+            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
@@ -4178,7 +4820,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord buildPartial() {
-        com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord result = new com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord(this);
+        com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord result =
+            new com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord(this);
         result.keyTag_ = keyTag_;
         result.algorithm_ = algorithm_;
         result.digestType_ = digestType_;
@@ -4191,38 +4834,41 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1alpha2.DnsSettings.DsRecord) {
-          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord)other);
+          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4230,7 +4876,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord other) {
-        if (other == com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance()) return this;
+        if (other == com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.getDefaultInstance())
+          return this;
         if (other.getKeyTag() != 0) {
           setKeyTag(other.getKeyTag());
         }
@@ -4263,7 +4910,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4273,13 +4921,16 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int keyTag_ ;
+      private int keyTag_;
       /**
+       *
+       *
        * 
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; + * * @return The keyTag. */ @java.lang.Override @@ -4287,30 +4938,36 @@ public int getKeyTag() { return keyTag_; } /** + * + * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; + * * @param value The keyTag to set. * @return This builder for chaining. */ public Builder setKeyTag(int value) { - + keyTag_ = value; onChanged(); return this; } /** + * + * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; + * * @return This builder for chaining. */ public Builder clearKeyTag() { - + keyTag_ = 0; onChanged(); return this; @@ -4318,73 +4975,93 @@ public Builder clearKeyTag() { private int algorithm_ = 0; /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override public int getAlgorithmValue() { + @java.lang.Override + public int getAlgorithmValue() { return algorithm_; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @param value The enum numeric value on the wire for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmValue(int value) { - + algorithm_ = value; onChanged(); return this; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The algorithm. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm result = + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED + : result; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @param value The algorithm to set. * @return This builder for chaining. */ - public Builder setAlgorithm(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm value) { + public Builder setAlgorithm( + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm value) { if (value == null) { throw new NullPointerException(); } - + algorithm_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return This builder for chaining. */ public Builder clearAlgorithm() { - + algorithm_ = 0; onChanged(); return this; @@ -4392,73 +5069,98 @@ public Builder clearAlgorithm() { private int digestType_ = 0; /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * + * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override public int getDigestTypeValue() { + @java.lang.Override + public int getDigestTypeValue() { return digestType_; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * + * * @param value The enum numeric value on the wire for digestType to set. * @return This builder for chaining. */ public Builder setDigestTypeValue(int value) { - + digestType_ = value; onChanged(); return this; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * + * * @return The digestType. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType result = + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType.UNRECOGNIZED + : result; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * + * * @param value The digestType to set. * @return This builder for chaining. */ - public Builder setDigestType(com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType value) { + public Builder setDigestType( + com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType value) { if (value == null) { throw new NullPointerException(); } - + digestType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * .google.cloud.domains.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3; + * + * * @return This builder for chaining. */ public Builder clearDigestType() { - + digestType_ = 0; onChanged(); return this; @@ -4466,18 +5168,20 @@ public Builder clearDigestType() { private java.lang.Object digest_ = ""; /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @return The digest. */ public java.lang.String getDigest() { java.lang.Object ref = digest_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; @@ -4486,20 +5190,21 @@ public java.lang.String getDigest() { } } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @return The bytes for digest. */ - public com.google.protobuf.ByteString - getDigestBytes() { + public com.google.protobuf.ByteString getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); digest_ = b; return b; } else { @@ -4507,58 +5212,66 @@ public java.lang.String getDigest() { } } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @param value The digest to set. * @return This builder for chaining. */ - public Builder setDigest( - java.lang.String value) { + public Builder setDigest(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + digest_ = value; onChanged(); return this; } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @return This builder for chaining. */ public Builder clearDigest() { - + digest_ = getDefaultInstance().getDigest(); onChanged(); return this; } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @param value The bytes for digest to set. * @return This builder for chaining. */ - public Builder setDigestBytes( - com.google.protobuf.ByteString value) { + public Builder setDigestBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + digest_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4571,12 +5284,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DnsSettings.DsRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DnsSettings.DsRecord) private static final com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord(); } @@ -4585,16 +5298,16 @@ public static com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DsRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DsRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DsRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DsRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4609,34 +5322,41 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GlueRecordOrBuilder extends + public interface GlueRecordOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The hostName. */ java.lang.String getHostName(); /** + * + * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for hostName. */ - com.google.protobuf.ByteString - getHostNameBytes(); + com.google.protobuf.ByteString getHostNameBytes(); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4644,11 +5364,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @return A list containing the ipv4Addresses. */ - java.util.List - getIpv4AddressesList(); + java.util.List getIpv4AddressesList(); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4656,10 +5378,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @return The count of ipv4Addresses. */ int getIpv4AddressesCount(); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4667,11 +5392,14 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ java.lang.String getIpv4Addresses(int index); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4679,13 +5407,15 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - com.google.protobuf.ByteString - getIpv4AddressesBytes(int index); + com.google.protobuf.ByteString getIpv4AddressesBytes(int index); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4693,11 +5423,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @return A list containing the ipv6Addresses. */ - java.util.List - getIpv6AddressesList(); + java.util.List getIpv6AddressesList(); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4705,10 +5437,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @return The count of ipv6Addresses. */ int getIpv6AddressesCount(); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4716,11 +5451,14 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ java.lang.String getIpv6Addresses(int index); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4728,13 +5466,15 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - com.google.protobuf.ByteString - getIpv6AddressesBytes(int index); + com.google.protobuf.ByteString getIpv6AddressesBytes(int index); } /** + * + * *
    * Defines a host on your domain that is a DNS name server for your domain
    * and/or other domains. Glue records are a way of making the IP address of a
@@ -4746,15 +5486,16 @@ public interface GlueRecordOrBuilder extends
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.GlueRecord}
    */
-  public static final class GlueRecord extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class GlueRecord extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.DnsSettings.GlueRecord)
       GlueRecordOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use GlueRecord.newBuilder() to construct.
     private GlueRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private GlueRecord() {
       hostName_ = "";
       ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -4763,16 +5504,15 @@ private GlueRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new GlueRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private GlueRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4792,37 +5532,40 @@ private GlueRecord(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              hostName_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                hostName_ = s;
+                break;
               }
-              ipv4Addresses_.add(s);
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                ipv4Addresses_.add(s);
+                break;
               }
-              ipv6Addresses_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                ipv6Addresses_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4830,8 +5573,7 @@ private GlueRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           ipv4Addresses_ = ipv4Addresses_.getUnmodifiableView();
@@ -4843,27 +5585,33 @@ private GlueRecord(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder.class);
+              com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.class,
+              com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder.class);
     }
 
     public static final int HOST_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object hostName_;
     /**
+     *
+     *
      * 
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The hostName. */ @java.lang.Override @@ -4872,29 +5620,29 @@ public java.lang.String getHostName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; } } /** + * + * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for hostName. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostNameBytes() { + public com.google.protobuf.ByteString getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostName_ = b; return b; } else { @@ -4905,6 +5653,8 @@ public java.lang.String getHostName() { public static final int IPV4_ADDRESSES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList ipv4Addresses_; /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4912,13 +5662,15 @@ public java.lang.String getHostName() {
      * 
* * repeated string ipv4_addresses = 2; + * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { return ipv4Addresses_; } /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4926,12 +5678,15 @@ public java.lang.String getHostName() {
      * 
* * repeated string ipv4_addresses = 2; + * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4939,6 +5694,7 @@ public int getIpv4AddressesCount() {
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -4946,6 +5702,8 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4953,17 +5711,19 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } public static final int IPV6_ADDRESSES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ipv6Addresses_; /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4971,13 +5731,15 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; + * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { return ipv6Addresses_; } /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4985,12 +5747,15 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; + * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4998,6 +5763,7 @@ public int getIpv6AddressesCount() {
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -5005,6 +5771,8 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5012,15 +5780,16 @@ public java.lang.String getIpv6Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5032,8 +5801,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } @@ -5079,19 +5847,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.domains.v1alpha2.DnsSettings.GlueRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord other = (com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) obj; + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord other = + (com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) obj; - if (!getHostName() - .equals(other.getHostName())) return false; - if (!getIpv4AddressesList() - .equals(other.getIpv4AddressesList())) return false; - if (!getIpv6AddressesList() - .equals(other.getIpv6AddressesList())) return false; + if (!getHostName().equals(other.getHostName())) return false; + if (!getIpv4AddressesList().equals(other.getIpv4AddressesList())) return false; + if (!getIpv6AddressesList().equals(other.getIpv6AddressesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5119,87 +5885,94 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5209,6 +5982,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Defines a host on your domain that is a DNS name server for your domain
      * and/or other domains. Glue records are a way of making the IP address of a
@@ -5220,21 +5995,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings.GlueRecord}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DnsSettings.GlueRecord)
         com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto
+            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1alpha2.DomainsProto
+            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder.class);
+                com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.class,
+                com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.newBuilder()
@@ -5242,16 +6020,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5265,9 +6042,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.domains.v1alpha2.DomainsProto
+            .internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
@@ -5286,7 +6063,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord buildPartial() {
-        com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord result = new com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord(this);
+        com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord result =
+            new com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord(this);
         int from_bitField0_ = bitField0_;
         result.hostName_ = hostName_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -5307,38 +6085,41 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1alpha2.DnsSettings.GlueRecord) {
-          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord)other);
+          return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5346,7 +6127,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord other) {
-        if (other == com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance()) return this;
+        if (other == com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance())
+          return this;
         if (!other.getHostName().isEmpty()) {
           hostName_ = other.hostName_;
           onChanged();
@@ -5390,7 +6172,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5399,22 +6182,25 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object hostName_ = "";
       /**
+       *
+       *
        * 
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The hostName. */ public java.lang.String getHostName() { java.lang.Object ref = hostName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; @@ -5423,20 +6209,21 @@ public java.lang.String getHostName() { } } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for hostName. */ - public com.google.protobuf.ByteString - getHostNameBytes() { + public com.google.protobuf.ByteString getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostName_ = b; return b; } else { @@ -5444,67 +6231,78 @@ public java.lang.String getHostName() { } } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The hostName to set. * @return This builder for chaining. */ - public Builder setHostName( - java.lang.String value) { + public Builder setHostName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostName_ = value; onChanged(); return this; } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearHostName() { - + hostName_ = getDefaultInstance().getHostName(); onChanged(); return this; } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for hostName to set. * @return This builder for chaining. */ - public Builder setHostNameBytes( - com.google.protobuf.ByteString value) { + public Builder setHostNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostName_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList ipv4Addresses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIpv4AddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv4Addresses_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5512,13 +6310,15 @@ private void ensureIpv4AddressesIsMutable() {
        * 
* * repeated string ipv4_addresses = 2; + * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { return ipv4Addresses_.getUnmodifiableView(); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5526,12 +6326,15 @@ private void ensureIpv4AddressesIsMutable() {
        * 
* * repeated string ipv4_addresses = 2; + * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5539,6 +6342,7 @@ public int getIpv4AddressesCount() {
        * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -5546,6 +6350,8 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5553,14 +6359,16 @@ public java.lang.String getIpv4Addresses(int index) {
        * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5568,21 +6376,23 @@ public java.lang.String getIpv4Addresses(int index) {
        * 
* * repeated string ipv4_addresses = 2; + * * @param index The index to set the value at. * @param value The ipv4Addresses to set. * @return This builder for chaining. */ - public Builder setIpv4Addresses( - int index, java.lang.String value) { + public Builder setIpv4Addresses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5590,20 +6400,22 @@ public Builder setIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @param value The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4Addresses( - java.lang.String value) { + public Builder addIpv4Addresses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5611,18 +6423,19 @@ public Builder addIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @param values The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv4Addresses( - java.lang.Iterable values) { + public Builder addAllIpv4Addresses(java.lang.Iterable values) { ensureIpv4AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ipv4Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv4Addresses_); onChanged(); return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5630,6 +6443,7 @@ public Builder addAllIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @return This builder for chaining. */ public Builder clearIpv4Addresses() { @@ -5639,6 +6453,8 @@ public Builder clearIpv4Addresses() { return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5646,29 +6462,33 @@ public Builder clearIpv4Addresses() {
        * 
* * repeated string ipv4_addresses = 2; + * * @param value The bytes of the ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4AddressesBytes( - com.google.protobuf.ByteString value) { + public Builder addIpv4AddressesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv6Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList ipv6Addresses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIpv6AddressesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv6Addresses_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5676,13 +6496,15 @@ private void ensureIpv6AddressesIsMutable() {
        * 
* * repeated string ipv6_addresses = 3; + * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { return ipv6Addresses_.getUnmodifiableView(); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5690,12 +6512,15 @@ private void ensureIpv6AddressesIsMutable() {
        * 
* * repeated string ipv6_addresses = 3; + * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5703,6 +6528,7 @@ public int getIpv6AddressesCount() {
        * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -5710,6 +6536,8 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5717,14 +6545,16 @@ public java.lang.String getIpv6Addresses(int index) {
        * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5732,21 +6562,23 @@ public java.lang.String getIpv6Addresses(int index) {
        * 
* * repeated string ipv6_addresses = 3; + * * @param index The index to set the value at. * @param value The ipv6Addresses to set. * @return This builder for chaining. */ - public Builder setIpv6Addresses( - int index, java.lang.String value) { + public Builder setIpv6Addresses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5754,20 +6586,22 @@ public Builder setIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @param value The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6Addresses( - java.lang.String value) { + public Builder addIpv6Addresses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5775,18 +6609,19 @@ public Builder addIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @param values The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv6Addresses( - java.lang.Iterable values) { + public Builder addAllIpv6Addresses(java.lang.Iterable values) { ensureIpv6AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ipv6Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv6Addresses_); onChanged(); return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5794,6 +6629,7 @@ public Builder addAllIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @return This builder for chaining. */ public Builder clearIpv6Addresses() { @@ -5803,6 +6639,8 @@ public Builder clearIpv6Addresses() { return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5810,20 +6648,21 @@ public Builder clearIpv6Addresses() {
        * 
* * repeated string ipv6_addresses = 3; + * * @param value The bytes of the ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6AddressesBytes( - com.google.protobuf.ByteString value) { + public Builder addIpv6AddressesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5836,12 +6675,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DnsSettings.GlueRecord) private static final com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord(); } @@ -5850,16 +6689,16 @@ public static com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GlueRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GlueRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GlueRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GlueRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5874,18 +6713,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int dnsProviderCase_ = 0; private java.lang.Object dnsProvider_; + public enum DnsProviderCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CUSTOM_DNS(1), GOOGLE_DOMAINS_DNS(2), DNSPROVIDER_NOT_SET(0); private final int value; + private DnsProviderCase(int value) { this.value = value; } @@ -5901,30 +6742,36 @@ public static DnsProviderCase valueOf(int value) { public static DnsProviderCase forNumber(int value) { switch (value) { - case 1: return CUSTOM_DNS; - case 2: return GOOGLE_DOMAINS_DNS; - case 0: return DNSPROVIDER_NOT_SET; - default: return null; + case 1: + return CUSTOM_DNS; + case 2: + return GOOGLE_DOMAINS_DNS; + case 0: + return DNSPROVIDER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DnsProviderCase - getDnsProviderCase() { - return DnsProviderCase.forNumber( - dnsProviderCase_); + public DnsProviderCase getDnsProviderCase() { + return DnsProviderCase.forNumber(dnsProviderCase_); } public static final int CUSTOM_DNS_FIELD_NUMBER = 1; /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; + * * @return Whether the customDns field is set. */ @java.lang.Override @@ -5932,21 +6779,26 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; + * * @return The customDns. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getCustomDns() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance(); } /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -5956,19 +6808,23 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getCustomDns() { @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance(); } public static final int GOOGLE_DOMAINS_DNS_FIELD_NUMBER = 2; /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * + * * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -5976,33 +6832,41 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * + * * @return The googleDomainsDns. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getGoogleDomainsDns() { if (dnsProviderCase_ == 2) { - return (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_; + return (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_; } return com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance(); } /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() { + public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder + getGoogleDomainsDnsOrBuilder() { if (dnsProviderCase_ == 2) { - return (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_; + return (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_; } return com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance(); } @@ -6010,6 +6874,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder g public static final int GLUE_RECORDS_FIELD_NUMBER = 4; private java.util.List glueRecords_; /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6017,10 +6883,13 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder g * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ @java.lang.Override - public java.util.List getGlueRecordsList() { + public java.util.List + getGlueRecordsList() { return glueRecords_; } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6028,11 +6897,13 @@ public java.util.List * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ @java.lang.Override - public java.util.List + public java.util.List getGlueRecordsOrBuilderList() { return glueRecords_; } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6044,6 +6915,8 @@ public int getGlueRecordsCount() { return glueRecords_.size(); } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6055,6 +6928,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getGlueRecords(i return glueRecords_.get(index); } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6068,6 +6943,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder getGlue } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6079,13 +6955,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dnsProviderCase_ == 1) { - output.writeMessage(1, (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_); + output.writeMessage( + 1, (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - output.writeMessage(2, (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_); + output.writeMessage( + 2, (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { output.writeMessage(4, glueRecords_.get(i)); @@ -6100,16 +6977,17 @@ public int getSerializedSize() { size = 0; if (dnsProviderCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, glueRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, glueRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6119,24 +6997,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.domains.v1alpha2.DnsSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.DnsSettings other = (com.google.cloud.domains.v1alpha2.DnsSettings) obj; + com.google.cloud.domains.v1alpha2.DnsSettings other = + (com.google.cloud.domains.v1alpha2.DnsSettings) obj; - if (!getGlueRecordsList() - .equals(other.getGlueRecordsList())) return false; + if (!getGlueRecordsList().equals(other.getGlueRecordsList())) return false; if (!getDnsProviderCase().equals(other.getDnsProviderCase())) return false; switch (dnsProviderCase_) { case 1: - if (!getCustomDns() - .equals(other.getCustomDns())) return false; + if (!getCustomDns().equals(other.getCustomDns())) return false; break; case 2: - if (!getGoogleDomainsDns() - .equals(other.getGoogleDomainsDns())) return false; + if (!getGoogleDomainsDns().equals(other.getGoogleDomainsDns())) return false; break; case 0: default: @@ -6173,97 +7049,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom(java.io.InputStream input) 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.domains.v1alpha2.DnsSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.DnsSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.DnsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.DnsSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.DnsSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines the DNS configuration of a `Registration`, including name servers,
    * DNSSEC, and glue records.
@@ -6271,21 +7154,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.DnsSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.DnsSettings)
       com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.DnsSettings.class, com.google.cloud.domains.v1alpha2.DnsSettings.Builder.class);
+              com.google.cloud.domains.v1alpha2.DnsSettings.class,
+              com.google.cloud.domains.v1alpha2.DnsSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1alpha2.DnsSettings.newBuilder()
@@ -6293,17 +7178,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getGlueRecordsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6319,9 +7204,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
     }
 
     @java.lang.Override
@@ -6340,7 +7225,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1alpha2.DnsSettings buildPartial() {
-      com.google.cloud.domains.v1alpha2.DnsSettings result = new com.google.cloud.domains.v1alpha2.DnsSettings(this);
+      com.google.cloud.domains.v1alpha2.DnsSettings result =
+          new com.google.cloud.domains.v1alpha2.DnsSettings(this);
       int from_bitField0_ = bitField0_;
       if (dnsProviderCase_ == 1) {
         if (customDnsBuilder_ == null) {
@@ -6374,38 +7260,39 @@ public com.google.cloud.domains.v1alpha2.DnsSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1alpha2.DnsSettings) {
-        return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings)other);
+        return mergeFrom((com.google.cloud.domains.v1alpha2.DnsSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6432,26 +7319,30 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.DnsSettings other) {
             glueRecordsBuilder_ = null;
             glueRecords_ = other.glueRecords_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            glueRecordsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getGlueRecordsFieldBuilder() : null;
+            glueRecordsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getGlueRecordsFieldBuilder()
+                    : null;
           } else {
             glueRecordsBuilder_.addAllMessages(other.glueRecords_);
           }
         }
       }
       switch (other.getDnsProviderCase()) {
-        case CUSTOM_DNS: {
-          mergeCustomDns(other.getCustomDns());
-          break;
-        }
-        case GOOGLE_DOMAINS_DNS: {
-          mergeGoogleDomainsDns(other.getGoogleDomainsDns());
-          break;
-        }
-        case DNSPROVIDER_NOT_SET: {
-          break;
-        }
+        case CUSTOM_DNS:
+          {
+            mergeCustomDns(other.getCustomDns());
+            break;
+          }
+        case GOOGLE_DOMAINS_DNS:
+          {
+            mergeGoogleDomainsDns(other.getGoogleDomainsDns());
+            break;
+          }
+        case DNSPROVIDER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -6481,12 +7372,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int dnsProviderCase_ = 0;
     private java.lang.Object dnsProvider_;
-    public DnsProviderCase
-        getDnsProviderCase() {
-      return DnsProviderCase.forNumber(
-          dnsProviderCase_);
+
+    public DnsProviderCase getDnsProviderCase() {
+      return DnsProviderCase.forNumber(dnsProviderCase_);
     }
 
     public Builder clearDnsProvider() {
@@ -6499,13 +7390,19 @@ public Builder clearDnsProvider() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder> customDnsBuilder_;
+            com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns,
+            com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder,
+            com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder>
+        customDnsBuilder_;
     /**
+     *
+     *
      * 
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; + * * @return Whether the customDns field is set. */ @java.lang.Override @@ -6513,11 +7410,14 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; + * * @return The customDns. */ @java.lang.Override @@ -6535,6 +7435,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getCustomDns() { } } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6555,6 +7457,8 @@ public Builder setCustomDns(com.google.cloud.domains.v1alpha2.DnsSettings.Custom return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6573,6 +7477,8 @@ public Builder setCustomDns( return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6581,10 +7487,14 @@ public Builder setCustomDns( */ public Builder mergeCustomDns(com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns value) { if (customDnsBuilder_ == null) { - if (dnsProviderCase_ == 1 && - dnsProvider_ != com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance()) { - dnsProvider_ = com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.newBuilder((com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_) - .mergeFrom(value).buildPartial(); + if (dnsProviderCase_ == 1 + && dnsProvider_ + != com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance()) { + dnsProvider_ = + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.newBuilder( + (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_) + .mergeFrom(value) + .buildPartial(); } else { dnsProvider_ = value; } @@ -6600,6 +7510,8 @@ public Builder mergeCustomDns(com.google.cloud.domains.v1alpha2.DnsSettings.Cust return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6623,6 +7535,8 @@ public Builder clearCustomDns() { return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6633,6 +7547,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder getCustom return getCustomDnsFieldBuilder().getBuilder(); } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6640,7 +7556,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder getCustom * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder() { + public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder + getCustomDnsOrBuilder() { if ((dnsProviderCase_ == 1) && (customDnsBuilder_ != null)) { return customDnsBuilder_.getMessageOrBuilder(); } else { @@ -6651,6 +7568,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder getCusto } } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6658,33 +7577,47 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder getCusto * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder> + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns, + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder> getCustomDnsFieldBuilder() { if (customDnsBuilder_ == null) { if (!(dnsProviderCase_ == 1)) { - dnsProvider_ = com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance(); - } - customDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder>( + dnsProvider_ = + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.getDefaultInstance(); + } + customDnsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns, + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder>( (com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns) dnsProvider_, getParentForChildren(), isClean()); dnsProvider_ = null; } dnsProviderCase_ = 1; - onChanged();; + onChanged(); + ; return customDnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder> googleDomainsDnsBuilder_; + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder> + googleDomainsDnsBuilder_; /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * + * * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -6692,12 +7625,16 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * + * * @return The googleDomainsDns. */ @java.lang.Override @@ -6715,14 +7652,18 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getGoogleD } } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ - public Builder setGoogleDomainsDns(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns value) { + public Builder setGoogleDomainsDns( + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns value) { if (googleDomainsDnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6736,12 +7677,15 @@ public Builder setGoogleDomainsDns(com.google.cloud.domains.v1alpha2.DnsSettings return this; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ public Builder setGoogleDomainsDns( com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder builderForValue) { @@ -6755,19 +7699,28 @@ public Builder setGoogleDomainsDns( return this; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ - public Builder mergeGoogleDomainsDns(com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns value) { + public Builder mergeGoogleDomainsDns( + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns value) { if (googleDomainsDnsBuilder_ == null) { - if (dnsProviderCase_ == 2 && - dnsProvider_ != com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance()) { - dnsProvider_ = com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.newBuilder((com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_) - .mergeFrom(value).buildPartial(); + if (dnsProviderCase_ == 2 + && dnsProvider_ + != com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns + .getDefaultInstance()) { + dnsProvider_ = + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.newBuilder( + (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_) + .mergeFrom(value) + .buildPartial(); } else { dnsProvider_ = value; } @@ -6783,12 +7736,15 @@ public Builder mergeGoogleDomainsDns(com.google.cloud.domains.v1alpha2.DnsSettin return this; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ public Builder clearGoogleDomainsDns() { if (googleDomainsDnsBuilder_ == null) { @@ -6807,26 +7763,34 @@ public Builder clearGoogleDomainsDns() { return this; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ - public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder getGoogleDomainsDnsBuilder() { + public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder + getGoogleDomainsDnsBuilder() { return getGoogleDomainsDnsFieldBuilder().getBuilder(); } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() { + public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder + getGoogleDomainsDnsOrBuilder() { if ((dnsProviderCase_ == 2) && (googleDomainsDnsBuilder_ != null)) { return googleDomainsDnsBuilder_.getMessageOrBuilder(); } else { @@ -6837,52 +7801,71 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder g } } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder> + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder> getGoogleDomainsDnsFieldBuilder() { if (googleDomainsDnsBuilder_ == null) { if (!(dnsProviderCase_ == 2)) { - dnsProvider_ = com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance(); - } - googleDomainsDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder>( + dnsProvider_ = + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.getDefaultInstance(); + } + googleDomainsDnsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns, + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder>( (com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns) dnsProvider_, getParentForChildren(), isClean()); dnsProvider_ = null; } dnsProviderCase_ = 2; - onChanged();; + onChanged(); + ; return googleDomainsDnsBuilder_; } private java.util.List glueRecords_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureGlueRecordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - glueRecords_ = new java.util.ArrayList(glueRecords_); + glueRecords_ = + new java.util.ArrayList( + glueRecords_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder> glueRecordsBuilder_; + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder> + glueRecordsBuilder_; /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List getGlueRecordsList() { + public java.util.List + getGlueRecordsList() { if (glueRecordsBuilder_ == null) { return java.util.Collections.unmodifiableList(glueRecords_); } else { @@ -6890,6 +7873,8 @@ public java.util.List } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6904,6 +7889,8 @@ public int getGlueRecordsCount() { } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6918,6 +7905,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getGlueRecords(i } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6939,6 +7928,8 @@ public Builder setGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6946,7 +7937,8 @@ public Builder setGlueRecords( * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ public Builder setGlueRecords( - int index, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder builderForValue) { + int index, + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder builderForValue) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); glueRecords_.set(index, builderForValue.build()); @@ -6957,6 +7949,8 @@ public Builder setGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6977,6 +7971,8 @@ public Builder addGlueRecords(com.google.cloud.domains.v1alpha2.DnsSettings.Glue return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6998,6 +7994,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7016,6 +8014,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7023,7 +8023,8 @@ public Builder addGlueRecords( * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ public Builder addGlueRecords( - int index, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder builderForValue) { + int index, + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder builderForValue) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); glueRecords_.add(index, builderForValue.build()); @@ -7034,6 +8035,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7041,11 +8044,11 @@ public Builder addGlueRecords( * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ public Builder addAllGlueRecords( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, glueRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, glueRecords_); onChanged(); } else { glueRecordsBuilder_.addAllMessages(values); @@ -7053,6 +8056,8 @@ public Builder addAllGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7070,6 +8075,8 @@ public Builder clearGlueRecords() { return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7087,6 +8094,8 @@ public Builder removeGlueRecords(int index) { return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7098,28 +8107,34 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder getGlueR return getGlueRecordsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder( - int index) { + public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder + getGlueRecordsOrBuilder(int index) { if (glueRecordsBuilder_ == null) { - return glueRecords_.get(index); } else { + return glueRecords_.get(index); + } else { return glueRecordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder> + getGlueRecordsOrBuilderList() { if (glueRecordsBuilder_ != null) { return glueRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -7127,17 +8142,23 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder getGlue } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder() { - return getGlueRecordsFieldBuilder().addBuilder( - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance()); + public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder + addGlueRecordsBuilder() { + return getGlueRecordsFieldBuilder() + .addBuilder( + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance()); } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7146,37 +8167,43 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder addGlueR */ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder( int index) { - return getGlueRecordsFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance()); + return getGlueRecordsFieldBuilder() + .addBuilder( + index, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.getDefaultInstance()); } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsBuilderList() { + public java.util.List + getGlueRecordsBuilderList() { return getGlueRecordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder> + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder> getGlueRecordsFieldBuilder() { if (glueRecordsBuilder_ == null) { - glueRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder>( - glueRecords_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + glueRecordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord, + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord.Builder, + com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder>( + glueRecords_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); glueRecords_ = null; } return glueRecordsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7186,12 +8213,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.DnsSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.DnsSettings) private static final com.google.cloud.domains.v1alpha2.DnsSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.DnsSettings(); } @@ -7200,16 +8227,16 @@ public static com.google.cloud.domains.v1alpha2.DnsSettings getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DnsSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DnsSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7224,6 +8251,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.DnsSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java similarity index 77% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java index 6669e2de..a1c2c483 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DnsSettingsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface DnsSettingsOrBuilder extends +public interface DnsSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.DnsSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; + * * @return Whether the customDns field is set. */ boolean hasCustomDns(); /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; + * * @return The customDns. */ com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getCustomDns(); /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -35,45 +59,60 @@ public interface DnsSettingsOrBuilder extends com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder(); /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * + * * @return Whether the googleDomainsDns field is set. */ boolean hasGoogleDomainsDns(); /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * + * * @return The googleDomainsDns. */ com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns getGoogleDomainsDns(); /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* - * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ - com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder(); + com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDnsOrBuilder + getGoogleDomainsDnsOrBuilder(); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List - getGlueRecordsList(); + java.util.List getGlueRecordsList(); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -82,6 +121,8 @@ public interface DnsSettingsOrBuilder extends */ com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getGlueRecords(int index); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -90,15 +131,19 @@ public interface DnsSettingsOrBuilder extends */ int getGlueRecordsCount(); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List + java.util.List getGlueRecordsOrBuilderList(); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java similarity index 69% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java index 4384023c..6b7bcaf7 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainNotice.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Notices about special properties of certain domains.
  * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.DomainNotice} */ -public enum DomainNotice - implements com.google.protobuf.ProtocolMessageEnum { +public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The notice is undefined.
    * 
@@ -21,6 +39,8 @@ public enum DomainNotice */ DOMAIN_NOTICE_UNSPECIFIED(0), /** + * + * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -36,6 +56,8 @@ public enum DomainNotice
   ;
 
   /**
+   *
+   *
    * 
    * The notice is undefined.
    * 
@@ -44,6 +66,8 @@ public enum DomainNotice */ public static final int DOMAIN_NOTICE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -56,7 +80,6 @@ public enum DomainNotice
    */
   public static final int HSTS_PRELOADED_VALUE = 1;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -81,48 +104,47 @@ public static DomainNotice valueOf(int value) {
    */
   public static DomainNotice forNumber(int value) {
     switch (value) {
-      case 0: return DOMAIN_NOTICE_UNSPECIFIED;
-      case 1: return HSTS_PRELOADED;
-      default: return null;
+      case 0:
+        return DOMAIN_NOTICE_UNSPECIFIED;
+      case 1:
+        return HSTS_PRELOADED;
+      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<
-      DomainNotice> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DomainNotice findValueByNumber(int number) {
-            return DomainNotice.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 DomainNotice findValueByNumber(int number) {
+          return DomainNotice.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.domains.v1alpha2.DomainsProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final DomainNotice[] VALUES = values();
 
-  public static DomainNotice valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DomainNotice 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;
@@ -138,4 +160,3 @@ private DomainNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1alpha2.DomainNotice)
 }
-
diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java
new file mode 100644
index 00000000..951dc21b
--- /dev/null
+++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java
@@ -0,0 +1,817 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/domains/v1alpha2/domains.proto
+
+package com.google.cloud.domains.v1alpha2;
+
+public final class DomainsProto {
+  private DomainsProto() {}
+
+  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_domains_v1alpha2_Registration_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1alpha2_OperationMetadata_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/domains/v1alpha2/domains."
+          + "proto\022\035google.cloud.domains.v1alpha2\032\034go"
+          + "ogle/api/annotations.proto\032\027google/api/c"
+          + "lient.proto\032\037google/api/field_behavior.p"
+          + "roto\032\031google/api/resource.proto\032#google/"
+          + "longrunning/operations.proto\032 google/pro"
+          + "tobuf/field_mask.proto\032\037google/protobuf/"
+          + "timestamp.proto\032\027google/type/money.proto"
+          + "\032 google/type/postal_address.proto\"\233\t\n\014R"
+          + "egistration\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain"
+          + "_name\030\002 \001(\tB\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\013"
+          + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013exp"
+          + "ire_time\030\006 \001(\0132\032.google.protobuf.Timesta"
+          + "mpB\003\340A\003\022E\n\005state\030\007 \001(\01621.google.cloud.do"
+          + "mains.v1alpha2.Registration.StateB\003\340A\003\022F"
+          + "\n\006issues\030\010 \003(\01621.google.cloud.domains.v1"
+          + "alpha2.Registration.IssueB\003\340A\003\022G\n\006labels"
+          + "\030\t \003(\01327.google.cloud.domains.v1alpha2.R"
+          + "egistration.LabelsEntry\022N\n\023management_se"
+          + "ttings\030\n \001(\01321.google.cloud.domains.v1al"
+          + "pha2.ManagementSettings\022@\n\014dns_settings\030"
+          + "\013 \001(\0132*.google.cloud.domains.v1alpha2.Dn"
+          + "sSettings\022M\n\020contact_settings\030\014 \001(\0132..go"
+          + "ogle.cloud.domains.v1alpha2.ContactSetti"
+          + "ngsB\003\340A\002\022U\n\030pending_contact_settings\030\r \001"
+          + "(\0132..google.cloud.domains.v1alpha2.Conta"
+          + "ctSettingsB\003\340A\003\022M\n\021supported_privacy\030\016 \003"
+          + "(\0162-.google.cloud.domains.v1alpha2.Conta"
+          + "ctPrivacyB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001"
+          + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\245\001\n\005State\022\025\n\021STATE"
+          + "_UNSPECIFIED\020\000\022\030\n\024REGISTRATION_PENDING\020\001"
+          + "\022\027\n\023REGISTRATION_FAILED\020\002\022\024\n\020TRANSFER_PE"
+          + "NDING\020\003\022\023\n\017TRANSFER_FAILED\020\004\022\n\n\006ACTIVE\020\006"
+          + "\022\r\n\tSUSPENDED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025"
+          + "\n\021ISSUE_UNSPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT"
+          + "\020\001\022\024\n\020UNVERIFIED_EMAIL\020\002:n\352Ak\n#domains.g"
+          + "oogleapis.com/Registration\022Dprojects/{pr"
+          + "oject}/locations/{location}/registration"
+          + "s/{registration}\"\235\002\n\022ManagementSettings\022"
+          + "\\\n\016renewal_method\030\003 \001(\0162?.google.cloud.d"
+          + "omains.v1alpha2.ManagementSettings.Renew"
+          + "alMethodB\003\340A\003\022M\n\023transfer_lock_state\030\004 \001"
+          + "(\01620.google.cloud.domains.v1alpha2.Trans"
+          + "ferLockState\"Z\n\rRenewalMethod\022\036\n\032RENEWAL"
+          + "_METHOD_UNSPECIFIED\020\000\022\025\n\021AUTOMATIC_RENEW"
+          + "AL\020\001\022\022\n\016MANUAL_RENEWAL\020\002\"\316\n\n\013DnsSettings"
+          + "\022J\n\ncustom_dns\030\001 \001(\01324.google.cloud.doma"
+          + "ins.v1alpha2.DnsSettings.CustomDnsH\000\022Y\n\022"
+          + "google_domains_dns\030\002 \001(\0132;.google.cloud."
+          + "domains.v1alpha2.DnsSettings.GoogleDomai"
+          + "nsDnsH\000\022K\n\014glue_records\030\004 \003(\01325.google.c"
+          + "loud.domains.v1alpha2.DnsSettings.GlueRe"
+          + "cord\032o\n\tCustomDns\022\031\n\014name_servers\030\001 \003(\tB"
+          + "\003\340A\002\022G\n\nds_records\030\002 \003(\01323.google.cloud."
+          + "domains.v1alpha2.DnsSettings.DsRecord\032\306\001"
+          + "\n\020GoogleDomainsDns\022\031\n\014name_servers\030\001 \003(\t"
+          + "B\003\340A\003\022I\n\010ds_state\030\002 \001(\01622.google.cloud.d"
+          + "omains.v1alpha2.DnsSettings.DsStateB\003\340A\002"
+          + "\022L\n\nds_records\030\003 \003(\01323.google.cloud.doma"
+          + "ins.v1alpha2.DnsSettings.DsRecordB\003\340A\003\032\317"
+          + "\004\n\010DsRecord\022\017\n\007key_tag\030\001 \001(\005\022P\n\talgorith"
+          + "m\030\002 \001(\0162=.google.cloud.domains.v1alpha2."
+          + "DnsSettings.DsRecord.Algorithm\022S\n\013digest"
+          + "_type\030\003 \001(\0162>.google.cloud.domains.v1alp"
+          + "ha2.DnsSettings.DsRecord.DigestType\022\016\n\006d"
+          + "igest\030\004 \001(\t\"\237\002\n\tAlgorithm\022\031\n\025ALGORITHM_U"
+          + "NSPECIFIED\020\000\022\n\n\006RSAMD5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020"
+          + "\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA1\020\005\022\020\n\014DSANSEC3SHA1\020"
+          + "\006\022\024\n\020RSASHA1NSEC3SHA1\020\007\022\r\n\tRSASHA256\020\010\022\r"
+          + "\n\tRSASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256S"
+          + "HA256\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020"
+          + "\017\022\t\n\005ED448\020\020\022\r\n\010INDIRECT\020\374\001\022\017\n\nPRIVATEDN"
+          + "S\020\375\001\022\017\n\nPRIVATEOID\020\376\001\"Y\n\nDigestType\022\033\n\027D"
+          + "IGEST_TYPE_UNSPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SH"
+          + "A256\020\002\022\014\n\010GOST3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlue"
+          + "Record\022\026\n\thost_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_a"
+          + "ddresses\030\002 \003(\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y"
+          + "\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED\020\000\022\032\n\026D"
+          + "S_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_RECORDS_PU"
+          + "BLISHED\020\002B\016\n\014dns_provider\"\343\003\n\017ContactSet"
+          + "tings\022C\n\007privacy\030\001 \001(\0162-.google.cloud.do"
+          + "mains.v1alpha2.ContactPrivacyB\003\340A\002\022W\n\022re"
+          + "gistrant_contact\030\002 \001(\01326.google.cloud.do"
+          + "mains.v1alpha2.ContactSettings.ContactB\003"
+          + "\340A\002\022R\n\radmin_contact\030\003 \001(\01326.google.clou"
+          + "d.domains.v1alpha2.ContactSettings.Conta"
+          + "ctB\003\340A\002\022V\n\021technical_contact\030\004 \001(\01326.goo"
+          + "gle.cloud.domains.v1alpha2.ContactSettin"
+          + "gs.ContactB\003\340A\002\032\205\001\n\007Contact\0227\n\016postal_ad"
+          + "dress\030\001 \001(\0132\032.google.type.PostalAddressB"
+          + "\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002\022\031\n\014phone_number"
+          + "\030\003 \001(\tB\003\340A\002\022\022\n\nfax_number\030\004 \001(\t\"g\n\024Searc"
+          + "hDomainsRequest\022\022\n\005query\030\001 \001(\tB\003\340A\002\022;\n\010l"
+          + "ocation\030\002 \001(\tB)\340A\002\372A#\n!locations.googlea"
+          + "pis.com/Location\"g\n\025SearchDomainsRespons"
+          + "e\022N\n\023register_parameters\030\001 \003(\01321.google."
+          + "cloud.domains.v1alpha2.RegisterParameter"
+          + "s\"z\n!RetrieveRegisterParametersRequest\022\030"
+          + "\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001"
+          + "(\tB)\340A\002\372A#\n!locations.googleapis.com/Loc"
+          + "ation\"t\n\"RetrieveRegisterParametersRespo"
+          + "nse\022N\n\023register_parameters\030\001 \001(\01321.googl"
+          + "e.cloud.domains.v1alpha2.RegisterParamet"
+          + "ers\"\354\002\n\025RegisterDomainRequest\0229\n\006parent\030"
+          + "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/"
+          + "Location\022F\n\014registration\030\002 \001(\0132+.google."
+          + "cloud.domains.v1alpha2.RegistrationB\003\340A\002"
+          + "\022C\n\016domain_notices\030\003 \003(\0162+.google.cloud."
+          + "domains.v1alpha2.DomainNotice\022E\n\017contact"
+          + "_notices\030\004 \003(\0162,.google.cloud.domains.v1"
+          + "alpha2.ContactNotice\022-\n\014yearly_price\030\005 \001"
+          + "(\0132\022.google.type.MoneyB\003\340A\002\022\025\n\rvalidate_"
+          + "only\030\006 \001(\010\"z\n!RetrieveTransferParameters"
+          + "Request\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010loc"
+          + "ation\030\002 \001(\tB)\340A\002\372A#\n!locations.googleapi"
+          + "s.com/Location\"t\n\"RetrieveTransferParame"
+          + "tersResponse\022N\n\023transfer_parameters\030\001 \001("
+          + "\01321.google.cloud.domains.v1alpha2.Transf"
+          + "erParameters\"\365\002\n\025TransferDomainRequest\0229"
+          + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.google"
+          + "apis.com/Location\022F\n\014registration\030\002 \001(\0132"
+          + "+.google.cloud.domains.v1alpha2.Registra"
+          + "tionB\003\340A\002\022E\n\017contact_notices\030\003 \003(\0162,.goo"
+          + "gle.cloud.domains.v1alpha2.ContactNotice"
+          + "\022-\n\014yearly_price\030\004 \001(\0132\022.google.type.Mon"
+          + "eyB\003\340A\002\022L\n\022authorization_code\030\005 \001(\01320.go"
+          + "ogle.cloud.domains.v1alpha2.Authorizatio"
+          + "nCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030ListReg"
+          + "istrationsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A"
+          + "#\n!locations.googleapis.com/Location\022\021\n\t"
+          + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f"
+          + "ilter\030\004 \001(\t\"x\n\031ListRegistrationsResponse"
+          + "\022B\n\rregistrations\030\001 \003(\0132+.google.cloud.d"
+          + "omains.v1alpha2.Registration\022\027\n\017next_pag"
+          + "e_token\030\002 \001(\t\"S\n\026GetRegistrationRequest\022"
+          + "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapi"
+          + "s.com/Registration\"\224\001\n\031UpdateRegistratio"
+          + "nRequest\022A\n\014registration\030\001 \001(\0132+.google."
+          + "cloud.domains.v1alpha2.Registration\0224\n\013u"
+          + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field"
+          + "MaskB\003\340A\002\"\355\001\n\"ConfigureManagementSetting"
+          + "sRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#"
+          + "domains.googleapis.com/Registration\022N\n\023m"
+          + "anagement_settings\030\002 \001(\01321.google.cloud."
+          + "domains.v1alpha2.ManagementSettings\0224\n\013u"
+          + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field"
+          + "MaskB\003\340A\002\"\357\001\n\033ConfigureDnsSettingsReques"
+          + "t\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains"
+          + ".googleapis.com/Registration\022@\n\014dns_sett"
+          + "ings\030\002 \001(\0132*.google.cloud.domains.v1alph"
+          + "a2.DnsSettings\0224\n\013update_mask\030\003 \001(\0132\032.go"
+          + "ogle.protobuf.FieldMaskB\003\340A\002\022\025\n\rvalidate"
+          + "_only\030\004 \001(\010\"\302\002\n\037ConfigureContactSettings"
+          + "Request\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#d"
+          + "omains.googleapis.com/Registration\022H\n\020co"
+          + "ntact_settings\030\002 \001(\0132..google.cloud.doma"
+          + "ins.v1alpha2.ContactSettings\0224\n\013update_m"
+          + "ask\030\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340"
+          + "A\002\022E\n\017contact_notices\030\004 \003(\0162,.google.clo"
+          + "ud.domains.v1alpha2.ContactNotice\022\025\n\rval"
+          + "idate_only\030\005 \001(\010\"V\n\031ExportRegistrationRe"
+          + "quest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.goo"
+          + "gleapis.com/Registration\"V\n\031DeleteRegist"
+          + "rationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#dom"
+          + "ains.googleapis.com/Registration\"e\n Retr"
+          + "ieveAuthorizationCodeRequest\022A\n\014registra"
+          + "tion\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.c"
+          + "om/Registration\"b\n\035ResetAuthorizationCod"
+          + "eRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#"
+          + "domains.googleapis.com/Registration\"\244\003\n\022"
+          + "RegisterParameters\022\023\n\013domain_name\030\001 \001(\t\022"
+          + "T\n\014availability\030\002 \001(\0162>.google.cloud.dom"
+          + "ains.v1alpha2.RegisterParameters.Availab"
+          + "ility\022H\n\021supported_privacy\030\003 \003(\0162-.googl"
+          + "e.cloud.domains.v1alpha2.ContactPrivacy\022"
+          + "C\n\016domain_notices\030\004 \003(\0162+.google.cloud.d"
+          + "omains.v1alpha2.DomainNotice\022(\n\014yearly_p"
+          + "rice\030\005 \001(\0132\022.google.type.Money\"j\n\014Availa"
+          + "bility\022\034\n\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\t"
+          + "AVAILABLE\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPOR"
+          + "TED\020\003\022\013\n\007UNKNOWN\020\004\"\235\002\n\022TransferParameter"
+          + "s\022\023\n\013domain_name\030\001 \001(\t\022\031\n\021current_regist"
+          + "rar\030\002 \001(\t\022\024\n\014name_servers\030\003 \003(\t\022M\n\023trans"
+          + "fer_lock_state\030\004 \001(\01620.google.cloud.doma"
+          + "ins.v1alpha2.TransferLockState\022H\n\021suppor"
+          + "ted_privacy\030\005 \003(\0162-.google.cloud.domains"
+          + ".v1alpha2.ContactPrivacy\022(\n\014yearly_price"
+          + "\030\006 \001(\0132\022.google.type.Money\"!\n\021Authorizat"
+          + "ionCode\022\014\n\004code\030\001 \001(\t\"\274\001\n\021OperationMetad"
+          + "ata\022/\n\013create_time\030\001 \001(\0132\032.google.protob"
+          + "uf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google."
+          + "protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004ve"
+          + "rb\030\004 \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\023\n\013api_v"
+          + "ersion\030\006 \001(\t*\177\n\016ContactPrivacy\022\037\n\033CONTAC"
+          + "T_PRIVACY_UNSPECIFIED\020\000\022\027\n\023PUBLIC_CONTAC"
+          + "T_DATA\020\001\022\030\n\024PRIVATE_CONTACT_DATA\020\002\022\031\n\025RE"
+          + "DACTED_CONTACT_DATA\020\003*A\n\014DomainNotice\022\035\n"
+          + "\031DOMAIN_NOTICE_UNSPECIFIED\020\000\022\022\n\016HSTS_PRE"
+          + "LOADED\020\001*X\n\rContactNotice\022\036\n\032CONTACT_NOT"
+          + "ICE_UNSPECIFIED\020\000\022\'\n#PUBLIC_CONTACT_DATA"
+          + "_ACKNOWLEDGEMENT\020\001*R\n\021TransferLockState\022"
+          + "#\n\037TRANSFER_LOCK_STATE_UNSPECIFIED\020\000\022\014\n\010"
+          + "UNLOCKED\020\001\022\n\n\006LOCKED\020\0022\357\036\n\007Domains\022\334\001\n\rS"
+          + "earchDomains\0223.google.cloud.domains.v1al"
+          + "pha2.SearchDomainsRequest\0324.google.cloud"
+          + ".domains.v1alpha2.SearchDomainsResponse\""
+          + "`\202\323\344\223\002I\022G/v1alpha2/{location=projects/*/"
+          + "locations/*}/registrations:searchDomains"
+          + "\332A\016location,query\022\226\002\n\032RetrieveRegisterPa"
+          + "rameters\022@.google.cloud.domains.v1alpha2"
+          + ".RetrieveRegisterParametersRequest\032A.goo"
+          + "gle.cloud.domains.v1alpha2.RetrieveRegis"
+          + "terParametersResponse\"s\202\323\344\223\002V\022T/v1alpha2"
+          + "/{location=projects/*/locations/*}/regis"
+          + "trations:retrieveRegisterParameters\332A\024lo"
+          + "cation,domain_name\022\372\001\n\016RegisterDomain\0224."
+          + "google.cloud.domains.v1alpha2.RegisterDo"
+          + "mainRequest\032\035.google.longrunning.Operati"
+          + "on\"\222\001\202\323\344\223\002E\"@/v1alpha2/{parent=projects/"
+          + "*/locations/*}/registrations:register:\001*"
+          + "\332A parent,registration,yearly_price\312A!\n\014"
+          + "Registration\022\021OperationMetadata\022\226\002\n\032Retr"
+          + "ieveTransferParameters\022@.google.cloud.do"
+          + "mains.v1alpha2.RetrieveTransferParameter"
+          + "sRequest\032A.google.cloud.domains.v1alpha2"
+          + ".RetrieveTransferParametersResponse\"s\202\323\344"
+          + "\223\002V\022T/v1alpha2/{location=projects/*/loca"
+          + "tions/*}/registrations:retrieveTransferP"
+          + "arameters\332A\024location,domain_name\022\215\002\n\016Tra"
+          + "nsferDomain\0224.google.cloud.domains.v1alp"
+          + "ha2.TransferDomainRequest\032\035.google.longr"
+          + "unning.Operation\"\245\001\202\323\344\223\002E\"@/v1alpha2/{pa"
+          + "rent=projects/*/locations/*}/registratio"
+          + "ns:transfer:\001*\332A3parent,registration,yea"
+          + "rly_price,authorization_code\312A!\n\014Registr"
+          + "ation\022\021OperationMetadata\022\320\001\n\021ListRegistr"
+          + "ations\0227.google.cloud.domains.v1alpha2.L"
+          + "istRegistrationsRequest\0328.google.cloud.d"
+          + "omains.v1alpha2.ListRegistrationsRespons"
+          + "e\"H\202\323\344\223\0029\0227/v1alpha2/{parent=projects/*/"
+          + "locations/*}/registrations\332A\006parent\022\275\001\n\017"
+          + "GetRegistration\0225.google.cloud.domains.v"
+          + "1alpha2.GetRegistrationRequest\032+.google."
+          + "cloud.domains.v1alpha2.Registration\"F\202\323\344"
+          + "\223\0029\0227/v1alpha2/{name=projects/*/location"
+          + "s/*/registrations/*}\332A\004name\022\211\002\n\022UpdateRe"
+          + "gistration\0228.google.cloud.domains.v1alph"
+          + "a2.UpdateRegistrationRequest\032\035.google.lo"
+          + "ngrunning.Operation\"\231\001\202\323\344\223\002T2D/v1alpha2/"
+          + "{registration.name=projects/*/locations/"
+          + "*/registrations/*}:\014registration\332A\030regis"
+          + "tration,update_mask\312A!\n\014Registration\022\021Op"
+          + "erationMetadata\022\273\002\n\033ConfigureManagementS"
+          + "ettings\022A.google.cloud.domains.v1alpha2."
+          + "ConfigureManagementSettingsRequest\032\035.goo"
+          + "gle.longrunning.Operation\"\271\001\202\323\344\223\002`\"[/v1a"
+          + "lpha2/{registration=projects/*/locations"
+          + "/*/registrations/*}:configureManagementS"
+          + "ettings:\001*\332A,registration,management_set"
+          + "tings,update_mask\312A!\n\014Registration\022\021Oper"
+          + "ationMetadata\022\237\002\n\024ConfigureDnsSettings\022:"
+          + ".google.cloud.domains.v1alpha2.Configure"
+          + "DnsSettingsRequest\032\035.google.longrunning."
+          + "Operation\"\253\001\202\323\344\223\002Y\"T/v1alpha2/{registrat"
+          + "ion=projects/*/locations/*/registrations"
+          + "/*}:configureDnsSettings:\001*\332A%registrati"
+          + "on,dns_settings,update_mask\312A!\n\014Registra"
+          + "tion\022\021OperationMetadata\022\257\002\n\030ConfigureCon"
+          + "tactSettings\022>.google.cloud.domains.v1al"
+          + "pha2.ConfigureContactSettingsRequest\032\035.g"
+          + "oogle.longrunning.Operation\"\263\001\202\323\344\223\002]\"X/v"
+          + "1alpha2/{registration=projects/*/locatio"
+          + "ns/*/registrations/*}:configureContactSe"
+          + "ttings:\001*\332A)registration,contact_setting"
+          + "s,update_mask\312A!\n\014Registration\022\021Operatio"
+          + "nMetadata\022\343\001\n\022ExportRegistration\0228.googl"
+          + "e.cloud.domains.v1alpha2.ExportRegistrat"
+          + "ionRequest\032\035.google.longrunning.Operatio"
+          + "n\"t\202\323\344\223\002C\">/v1alpha2/{name=projects/*/lo"
+          + "cations/*/registrations/*}:export:\001*\332A\004n"
+          + "ame\312A!\n\014Registration\022\021OperationMetadata\022"
+          + "\342\001\n\022DeleteRegistration\0228.google.cloud.do"
+          + "mains.v1alpha2.DeleteRegistrationRequest"
+          + "\032\035.google.longrunning.Operation\"s\202\323\344\223\0029*"
+          + "7/v1alpha2/{name=projects/*/locations/*/"
+          + "registrations/*}\332A\004name\312A*\n\025google.proto"
+          + "buf.Empty\022\021OperationMetadata\022\200\002\n\031Retriev"
+          + "eAuthorizationCode\022?.google.cloud.domain"
+          + "s.v1alpha2.RetrieveAuthorizationCodeRequ"
+          + "est\0320.google.cloud.domains.v1alpha2.Auth"
+          + "orizationCode\"p\202\323\344\223\002[\022Y/v1alpha2/{regist"
+          + "ration=projects/*/locations/*/registrati"
+          + "ons/*}:retrieveAuthorizationCode\332A\014regis"
+          + "tration\022\372\001\n\026ResetAuthorizationCode\022<.goo"
+          + "gle.cloud.domains.v1alpha2.ResetAuthoriz"
+          + "ationCodeRequest\0320.google.cloud.domains."
+          + "v1alpha2.AuthorizationCode\"p\202\323\344\223\002[\"V/v1a"
+          + "lpha2/{registration=projects/*/locations"
+          + "/*/registrations/*}:resetAuthorizationCo"
+          + "de:\001*\332A\014registration\032J\312A\026domains.googlea"
+          + "pis.com\322A.https://www.googleapis.com/aut"
+          + "h/cloud-platformBy\n!com.google.cloud.dom"
+          + "ains.v1alpha2B\014DomainsProtoP\001ZDgoogle.go"
+          + "lang.org/genproto/googleapis/cloud/domai"
+          + "ns/v1alpha2;domainsb\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.longrunning.OperationsProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.type.MoneyProto.getDescriptor(),
+              com.google.type.PostalAddressProto.getDescriptor(),
+            });
+    internal_static_google_cloud_domains_v1alpha2_Registration_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_Registration_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "DomainName",
+              "CreateTime",
+              "ExpireTime",
+              "State",
+              "Issues",
+              "Labels",
+              "ManagementSettings",
+              "DnsSettings",
+              "ContactSettings",
+              "PendingContactSettings",
+              "SupportedPrivacy",
+            });
+    internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor =
+        internal_static_google_cloud_domains_v1alpha2_Registration_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor,
+            new java.lang.String[] {
+              "RenewalMethod", "TransferLockState",
+            });
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor,
+            new java.lang.String[] {
+              "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider",
+            });
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor =
+        internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_DnsSettings_CustomDns_descriptor,
+            new java.lang.String[] {
+              "NameServers", "DsRecords",
+            });
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor =
+        internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor
+            .getNestedTypes()
+            .get(1);
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_DnsSettings_GoogleDomainsDns_descriptor,
+            new java.lang.String[] {
+              "NameServers", "DsState", "DsRecords",
+            });
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor =
+        internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor
+            .getNestedTypes()
+            .get(2);
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_DnsSettings_DsRecord_descriptor,
+            new java.lang.String[] {
+              "KeyTag", "Algorithm", "DigestType", "Digest",
+            });
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor =
+        internal_static_google_cloud_domains_v1alpha2_DnsSettings_descriptor
+            .getNestedTypes()
+            .get(3);
+    internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_DnsSettings_GlueRecord_descriptor,
+            new java.lang.String[] {
+              "HostName", "Ipv4Addresses", "Ipv6Addresses",
+            });
+    internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_domains_v1alpha2_ContactSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor,
+            new java.lang.String[] {
+              "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact",
+            });
+    internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor =
+        internal_static_google_cloud_domains_v1alpha2_ContactSettings_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_ContactSettings_Contact_descriptor,
+            new java.lang.String[] {
+              "PostalAddress", "Email", "PhoneNumber", "FaxNumber",
+            });
+    internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor,
+            new java.lang.String[] {
+              "Query", "Location",
+            });
+    internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor,
+            new java.lang.String[] {
+              "RegisterParameters",
+            });
+    internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor,
+            new java.lang.String[] {
+              "DomainName", "Location",
+            });
+    internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor,
+            new java.lang.String[] {
+              "RegisterParameters",
+            });
+    internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor,
+            new java.lang.String[] {
+              "Parent",
+              "Registration",
+              "DomainNotices",
+              "ContactNotices",
+              "YearlyPrice",
+              "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor,
+            new java.lang.String[] {
+              "DomainName", "Location",
+            });
+    internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor,
+            new java.lang.String[] {
+              "TransferParameters",
+            });
+    internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor,
+            new java.lang.String[] {
+              "Parent",
+              "Registration",
+              "ContactNotices",
+              "YearlyPrice",
+              "AuthorizationCode",
+              "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter",
+            });
+    internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor,
+            new java.lang.String[] {
+              "Registrations", "NextPageToken",
+            });
+    internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "UpdateMask",
+            });
+    internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_ConfigureManagementSettingsRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "ManagementSettings", "UpdateMask",
+            });
+    internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_ConfigureDnsSettingsRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "DnsSettings", "UpdateMask", "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_ConfigureContactSettingsRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_DeleteRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor =
+        getDescriptor().getMessageTypes().get(21);
+    internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor,
+            new java.lang.String[] {
+              "Registration",
+            });
+    internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor =
+        getDescriptor().getMessageTypes().get(22);
+    internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor,
+            new java.lang.String[] {
+              "Registration",
+            });
+    internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor =
+        getDescriptor().getMessageTypes().get(23);
+    internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor,
+            new java.lang.String[] {
+              "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice",
+            });
+    internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor =
+        getDescriptor().getMessageTypes().get(24);
+    internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor,
+            new java.lang.String[] {
+              "DomainName",
+              "CurrentRegistrar",
+              "NameServers",
+              "TransferLockState",
+              "SupportedPrivacy",
+              "YearlyPrice",
+            });
+    internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor =
+        getDescriptor().getMessageTypes().get(25);
+    internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_AuthorizationCode_descriptor,
+            new java.lang.String[] {
+              "Code",
+            });
+    internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(26);
+    internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor,
+            new java.lang.String[] {
+              "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.MoneyProto.getDescriptor();
+    com.google.type.PostalAddressProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java
similarity index 65%
rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java
rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java
index abc6b068..e01a10c7 100644
--- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java
+++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1alpha2/domains.proto
 
 package com.google.cloud.domains.v1alpha2;
 
 /**
+ *
+ *
  * 
  * Request for the `ExportRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ExportRegistrationRequest} */ -public final class ExportRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ExportRegistrationRequest) ExportRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportRegistrationRequest.newBuilder() to construct. private ExportRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExportRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ExportRegistrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ExportRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.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 @@ -110,30 +135,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 `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.domains.v1alpha2.ExportRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest other = (com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) obj; + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest other = + (com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ExportRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ExportRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ExportRegistrationRequest) com.google.cloud.domains.v1alpha2.ExportRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.class, + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ExportRegistrationRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.domains.v1alpha2.ExportRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ExportRegistrationRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ExportRegistrationRequest result = new com.google.cloud.domains.v1alpha2.ExportRegistrationRequest(this); + com.google.cloud.domains.v1alpha2.ExportRegistrationRequest result = + new com.google.cloud.domains.v1alpha2.ExportRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.domains.v1alpha2.ExportRegistrationRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ExportRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ExportRegistrationRequest other) { - if (other == com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.ExportRegistrationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.ExportRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ExportRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ExportRegistrationRequest) private static final com.google.cloud.domains.v1alpha2.ExportRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ExportRegistrationRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.domains.v1alpha2.ExportRegistrationRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1alpha2.ExportRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..8ef26cf2 --- /dev/null +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ExportRegistrationRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1alpha2/domains.proto + +package com.google.cloud.domains.v1alpha2; + +public interface ExportRegistrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ExportRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * 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/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java similarity index 65% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java index 13b32ccb..a83e095e 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `GetRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.GetRegistrationRequest} */ -public final class GetRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.GetRegistrationRequest) GetRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRegistrationRequest.newBuilder() to construct. private GetRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRegistrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, com.google.cloud.domains.v1alpha2.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, + com.google.cloud.domains.v1alpha2.GetRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.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 @@ -110,30 +135,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 `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.domains.v1alpha2.GetRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.GetRegistrationRequest other = (com.google.cloud.domains.v1alpha2.GetRegistrationRequest) obj; + com.google.cloud.domains.v1alpha2.GetRegistrationRequest other = + (com.google.cloud.domains.v1alpha2.GetRegistrationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.GetRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.GetRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `GetRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.GetRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.GetRegistrationRequest) com.google.cloud.domains.v1alpha2.GetRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, com.google.cloud.domains.v1alpha2.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.GetRegistrationRequest.class, + com.google.cloud.domains.v1alpha2.GetRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.GetRegistrationRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_GetRegistrationRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.domains.v1alpha2.GetRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.GetRegistrationRequest buildPartial() { - com.google.cloud.domains.v1alpha2.GetRegistrationRequest result = new com.google.cloud.domains.v1alpha2.GetRegistrationRequest(this); + com.google.cloud.domains.v1alpha2.GetRegistrationRequest result = + new com.google.cloud.domains.v1alpha2.GetRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.domains.v1alpha2.GetRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.GetRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.GetRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.GetRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.GetRegistrationRequest other) { - if (other == com.google.cloud.domains.v1alpha2.GetRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.GetRegistrationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.GetRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.GetRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.GetRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.GetRegistrationRequest) private static final com.google.cloud.domains.v1alpha2.GetRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.GetRegistrationRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.domains.v1alpha2.GetRegistrationRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.GetRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..d5ace1cb --- /dev/null +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/GetRegistrationRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1alpha2/domains.proto + +package com.google.cloud.domains.v1alpha2; + +public interface GetRegistrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.GetRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * 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/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java similarity index 73% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java index db38b330..89778b0c 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ListRegistrationsRequest} */ -public final class ListRegistrationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRegistrationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ListRegistrationsRequest) ListRegistrationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRegistrationsRequest.newBuilder() to construct. private ListRegistrationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRegistrationsRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListRegistrationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRegistrationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRegistrationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListRegistrationsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListRegistrationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 @@ -129,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 { @@ -163,11 +192,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -178,12 +210,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -192,30 +227,30 @@ 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; } } /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * 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 { @@ -226,6 +261,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -243,6 +280,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -251,14 +289,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -276,16 +315,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -294,6 +332,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,8 +344,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -332,8 +370,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_); @@ -349,21 +386,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.domains.v1alpha2.ListRegistrationsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest other = (com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest other = + (com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -389,117 +423,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ListRegistrationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ListRegistrationsRequest) com.google.cloud.domains.v1alpha2.ListRegistrationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.class, + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.newBuilder() @@ -507,16 +551,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +575,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsRequest_descriptor; } @java.lang.Override @@ -553,7 +596,8 @@ public com.google.cloud.domains.v1alpha2.ListRegistrationsRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ListRegistrationsRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ListRegistrationsRequest result = new com.google.cloud.domains.v1alpha2.ListRegistrationsRequest(this); + com.google.cloud.domains.v1alpha2.ListRegistrationsRequest result = + new com.google.cloud.domains.v1alpha2.ListRegistrationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -566,38 +610,39 @@ public com.google.cloud.domains.v1alpha2.ListRegistrationsRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ListRegistrationsRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) other); } else { super.mergeFrom(other); return this; @@ -605,7 +650,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ListRegistrationsRequest other) { - if (other == com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.ListRegistrationsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -640,7 +686,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.ListRegistrationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -652,19 +699,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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; @@ -673,21 +724,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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 { @@ -695,69 +749,85 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -765,30 +835,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -796,19 +872,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * 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; @@ -817,21 +895,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -839,57 +918,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -897,6 +983,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -914,13 +1002,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -929,6 +1017,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -946,15 +1036,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -962,6 +1051,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -979,20 +1070,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1010,15 +1103,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1036,23 +1132,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1062,12 +1158,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ListRegistrationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ListRegistrationsRequest) private static final com.google.cloud.domains.v1alpha2.ListRegistrationsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ListRegistrationsRequest(); } @@ -1076,16 +1172,16 @@ public static com.google.cloud.domains.v1alpha2.ListRegistrationsRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1100,6 +1196,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.ListRegistrationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java index 364e755a..b1a289ff 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsRequestOrBuilder.java @@ -1,67 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ListRegistrationsRequestOrBuilder extends +public interface ListRegistrationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ListRegistrationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 project and location from which to list `Registration`s, specified in
    * the format `projects/*/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(); /** + * + * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -79,10 +114,13 @@ public interface ListRegistrationsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -100,8 +138,8 @@ public interface ListRegistrationsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java similarity index 74% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java index 0b4a3ca4..051cfdbc 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Response for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ListRegistrationsResponse} */ -public final class ListRegistrationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRegistrationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ListRegistrationsResponse) ListRegistrationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRegistrationsResponse.newBuilder() to construct. private ListRegistrationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRegistrationsResponse() { registrations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRegistrationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRegistrationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRegistrationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListRegistrationsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registrations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registrations_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + registrations_.add( + input.readMessage( + com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry)); + break; } - registrations_.add( - input.readMessage(com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListRegistrationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registrations_ = java.util.Collections.unmodifiableList(registrations_); @@ -94,22 +114,27 @@ private ListRegistrationsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.Builder.class); } public static final int REGISTRATIONS_FIELD_NUMBER = 1; private java.util.List registrations_; /** + * + * *
    * A list of `Registration`s.
    * 
@@ -121,6 +146,8 @@ public java.util.List getRegistr return registrations_; } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -128,11 +155,13 @@ public java.util.List getRegistr * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegistrationsOrBuilderList() { return registrations_; } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -144,6 +173,8 @@ public int getRegistrationsCount() { return registrations_.size(); } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -155,6 +186,8 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistrations(int index return registrations_.get(index); } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -170,12 +203,15 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsO public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +220,30 @@ 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; } } /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * 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 { @@ -216,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < registrations_.size(); i++) { output.writeMessage(1, registrations_.get(i)); } @@ -245,8 +281,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registrations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, registrations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, registrations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +294,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.domains.v1alpha2.ListRegistrationsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse other = (com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) obj; + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse other = + (com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) obj; - if (!getRegistrationsList() - .equals(other.getRegistrationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRegistrationsList().equals(other.getRegistrationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +327,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ListRegistrationsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ListRegistrationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ListRegistrationsResponse) com.google.cloud.domains.v1alpha2.ListRegistrationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.class, + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.newBuilder() @@ -411,17 +455,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRegistrationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ListRegistrationsResponse_descriptor; } @java.lang.Override @@ -458,7 +502,8 @@ public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse buildPartial() { - com.google.cloud.domains.v1alpha2.ListRegistrationsResponse result = new com.google.cloud.domains.v1alpha2.ListRegistrationsResponse(this); + com.google.cloud.domains.v1alpha2.ListRegistrationsResponse result = + new com.google.cloud.domains.v1alpha2.ListRegistrationsResponse(this); int from_bitField0_ = bitField0_; if (registrationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ListRegistrationsResponse)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ListRegistrationsResponse other) { - if (other == com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.ListRegistrationsResponse.getDefaultInstance()) + return this; if (registrationsBuilder_ == null) { if (!other.registrations_.isEmpty()) { if (registrations_.isEmpty()) { @@ -536,9 +583,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ListRegistrationsResp registrationsBuilder_ = null; registrations_ = other.registrations_; bitField0_ = (bitField0_ & ~0x00000001); - registrationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRegistrationsFieldBuilder() : null; + registrationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRegistrationsFieldBuilder() + : null; } else { registrationsBuilder_.addAllMessages(other.registrations_); } @@ -567,7 +615,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.ListRegistrationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +625,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List registrations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRegistrationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registrations_ = new java.util.ArrayList(registrations_); + registrations_ = + new java.util.ArrayList(registrations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> registrationsBuilder_; + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + registrationsBuilder_; /** + * + * *
      * A list of `Registration`s.
      * 
@@ -605,6 +662,8 @@ public java.util.List getRegistr } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -619,6 +678,8 @@ public int getRegistrationsCount() { } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -633,6 +694,8 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistrations(int index } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -654,6 +717,8 @@ public Builder setRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -672,6 +737,8 @@ public Builder setRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -692,6 +759,8 @@ public Builder addRegistrations(com.google.cloud.domains.v1alpha2.Registration v return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -713,6 +782,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -731,6 +802,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -749,6 +822,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -759,8 +834,7 @@ public Builder addAllRegistrations( java.lang.Iterable values) { if (registrationsBuilder_ == null) { ensureRegistrationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, registrations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registrations_); onChanged(); } else { registrationsBuilder_.addAllMessages(values); @@ -768,6 +842,8 @@ public Builder addAllRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -785,6 +861,8 @@ public Builder clearRegistrations() { return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -802,6 +880,8 @@ public Builder removeRegistrations(int index) { return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -813,6 +893,8 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationsBu return getRegistrationsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -822,19 +904,22 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationsBu public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsOrBuilder( int index) { if (registrationsBuilder_ == null) { - return registrations_.get(index); } else { + return registrations_.get(index); + } else { return registrationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ - public java.util.List - getRegistrationsOrBuilderList() { + public java.util.List + getRegistrationsOrBuilderList() { if (registrationsBuilder_ != null) { return registrationsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +927,8 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsO } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -849,10 +936,12 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsO * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ public com.google.cloud.domains.v1alpha2.Registration.Builder addRegistrationsBuilder() { - return getRegistrationsFieldBuilder().addBuilder( - com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance()); + return getRegistrationsFieldBuilder() + .addBuilder(com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance()); } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -861,26 +950,34 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder addRegistrationsBu */ public com.google.cloud.domains.v1alpha2.Registration.Builder addRegistrationsBuilder( int index) { - return getRegistrationsFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance()); + return getRegistrationsFieldBuilder() + .addBuilder(index, com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance()); } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ - public java.util.List - getRegistrationsBuilderList() { + public java.util.List + getRegistrationsBuilderList() { return getRegistrationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> getRegistrationsFieldBuilder() { if (registrationsBuilder_ == null) { - registrationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( + registrationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( registrations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +989,21 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder addRegistrationsBu private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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; @@ -913,21 +1012,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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 { @@ -935,64 +1035,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1109,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ListRegistrationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ListRegistrationsResponse) private static final com.google.cloud.domains.v1alpha2.ListRegistrationsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ListRegistrationsResponse(); } @@ -1016,16 +1123,16 @@ public static com.google.cloud.domains.v1alpha2.ListRegistrationsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1147,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1alpha2.ListRegistrationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java index 5e96dce6..6b3a825e 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ListRegistrationsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ListRegistrationsResponseOrBuilder extends +public interface ListRegistrationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ListRegistrationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ - java.util.List - getRegistrationsList(); + java.util.List getRegistrationsList(); /** + * + * *
    * A list of `Registration`s.
    * 
@@ -25,6 +44,8 @@ public interface ListRegistrationsResponseOrBuilder extends */ com.google.cloud.domains.v1alpha2.Registration getRegistrations(int index); /** + * + * *
    * A list of `Registration`s.
    * 
@@ -33,43 +54,51 @@ public interface ListRegistrationsResponseOrBuilder extends */ int getRegistrationsCount(); /** + * + * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ - java.util.List + java.util.List getRegistrationsOrBuilderList(); /** + * + * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1alpha2.Registration registrations = 1; */ - com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsOrBuilder( - int index); + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsOrBuilder(int index); /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * 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/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/LocationName.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/LocationName.java similarity index 100% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/LocationName.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/LocationName.java diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java index 765bf7e1..b5986850 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettings.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Defines renewal, billing, and transfer settings for a `Registration`.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ManagementSettings} */ -public final class ManagementSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ManagementSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ManagementSettings) ManagementSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ManagementSettings.newBuilder() to construct. private ManagementSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ManagementSettings() { renewalMethod_ = 0; transferLockState_ = 0; @@ -26,16 +44,15 @@ private ManagementSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ManagementSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ManagementSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ManagementSettings( case 0: done = true; break; - case 24: { - int rawValue = input.readEnum(); + case 24: + { + int rawValue = input.readEnum(); - renewalMethod_ = rawValue; - break; - } - case 32: { - int rawValue = input.readEnum(); + renewalMethod_ = rawValue; + break; + } + case 32: + { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + transferLockState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ManagementSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ManagementSettings.class, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder.class); + com.google.cloud.domains.v1alpha2.ManagementSettings.class, + com.google.cloud.domains.v1alpha2.ManagementSettings.Builder.class); } /** + * + * *
    * Defines how the `Registration` is renewed.
    * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod} */ - public enum RenewalMethod - implements com.google.protobuf.ProtocolMessageEnum { + public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The renewal method is undefined.
      * 
@@ -118,6 +142,8 @@ public enum RenewalMethod */ RENEWAL_METHOD_UNSPECIFIED(0), /** + * + * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -128,6 +154,8 @@ public enum RenewalMethod
      */
     AUTOMATIC_RENEWAL(1),
     /**
+     *
+     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -143,6 +171,8 @@ public enum RenewalMethod
     ;
 
     /**
+     *
+     *
      * 
      * The renewal method is undefined.
      * 
@@ -151,6 +181,8 @@ public enum RenewalMethod */ public static final int RENEWAL_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -161,6 +193,8 @@ public enum RenewalMethod
      */
     public static final int AUTOMATIC_RENEWAL_VALUE = 1;
     /**
+     *
+     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -173,7 +207,6 @@ public enum RenewalMethod
      */
     public static final int MANUAL_RENEWAL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -198,49 +231,51 @@ public static RenewalMethod valueOf(int value) {
      */
     public static RenewalMethod forNumber(int value) {
       switch (value) {
-        case 0: return RENEWAL_METHOD_UNSPECIFIED;
-        case 1: return AUTOMATIC_RENEWAL;
-        case 2: return MANUAL_RENEWAL;
-        default: return null;
+        case 0:
+          return RENEWAL_METHOD_UNSPECIFIED;
+        case 1:
+          return AUTOMATIC_RENEWAL;
+        case 2:
+          return MANUAL_RENEWAL;
+        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<
-        RenewalMethod> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RenewalMethod findValueByNumber(int number) {
-              return RenewalMethod.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 RenewalMethod findValueByNumber(int number) {
+            return RenewalMethod.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.domains.v1alpha2.ManagementSettings.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.ManagementSettings.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final RenewalMethod[] VALUES = values();
 
-    public static RenewalMethod valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RenewalMethod 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;
@@ -260,58 +295,85 @@ private RenewalMethod(int value) {
   public static final int RENEWAL_METHOD_FIELD_NUMBER = 3;
   private int renewalMethod_;
   /**
+   *
+   *
    * 
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override public int getRenewalMethodValue() { + @java.lang.Override + public int getRenewalMethodValue() { return renewalMethod_; } /** + * + * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renewalMethod. */ - @java.lang.Override public com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod getRenewalMethod() { + @java.lang.Override + public com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod result = + com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null + ? com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.UNRECOGNIZED + : result; } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ - @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { + @java.lang.Override + public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.TransferLockState result = com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); - return result == null ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.TransferLockState result = + com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); + return result == null + ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,12 +385,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (renewalMethod_ != com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (renewalMethod_ + != com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod + .RENEWAL_METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(3, renewalMethod_); } - if (transferLockState_ != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + if (transferLockState_ + != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, transferLockState_); } unknownFields.writeTo(output); @@ -340,13 +406,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (renewalMethod_ != com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, renewalMethod_); + if (renewalMethod_ + != com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod + .RENEWAL_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, renewalMethod_); } - if (transferLockState_ != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, transferLockState_); + if (transferLockState_ + != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -356,12 +425,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.domains.v1alpha2.ManagementSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ManagementSettings other = (com.google.cloud.domains.v1alpha2.ManagementSettings) obj; + com.google.cloud.domains.v1alpha2.ManagementSettings other = + (com.google.cloud.domains.v1alpha2.ManagementSettings) obj; if (renewalMethod_ != other.renewalMethod_) return false; if (transferLockState_ != other.transferLockState_) return false; @@ -386,117 +456,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ManagementSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ManagementSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ManagementSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines renewal, billing, and transfer settings for a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ManagementSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ManagementSettings) com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ManagementSettings.class, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder.class); + com.google.cloud.domains.v1alpha2.ManagementSettings.class, + com.google.cloud.domains.v1alpha2.ManagementSettings.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ManagementSettings.newBuilder() @@ -504,16 +583,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -525,9 +603,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ManagementSettings_descriptor; } @java.lang.Override @@ -546,7 +624,8 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ManagementSettings buildPartial() { - com.google.cloud.domains.v1alpha2.ManagementSettings result = new com.google.cloud.domains.v1alpha2.ManagementSettings(this); + com.google.cloud.domains.v1alpha2.ManagementSettings result = + new com.google.cloud.domains.v1alpha2.ManagementSettings(this); result.renewalMethod_ = renewalMethod_; result.transferLockState_ = transferLockState_; onBuilt(); @@ -557,38 +636,39 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ManagementSettings) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ManagementSettings)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ManagementSettings) other); } else { super.mergeFrom(other); return this; @@ -596,7 +676,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ManagementSettings other) { - if (other == com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance()) + return this; if (other.renewalMethod_ != 0) { setRenewalMethodValue(other.getRenewalMethodValue()); } @@ -622,7 +703,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.ManagementSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.ManagementSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,73 +716,104 @@ public Builder mergeFrom( private int renewalMethod_ = 0; /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override public int getRenewalMethodValue() { + @java.lang.Override + public int getRenewalMethodValue() { return renewalMethod_; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for renewalMethod to set. * @return This builder for chaining. */ public Builder setRenewalMethodValue(int value) { - + renewalMethod_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renewalMethod. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod result = + com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.valueOf( + renewalMethod_); + return result == null + ? com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The renewalMethod to set. * @return This builder for chaining. */ - public Builder setRenewalMethod(com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod value) { + public Builder setRenewalMethod( + com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod value) { if (value == null) { throw new NullPointerException(); } - + renewalMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRenewalMethod() { - + renewalMethod_ = 0; onChanged(); return this; @@ -708,51 +821,67 @@ public Builder clearRenewalMethod() { private int transferLockState_ = 0; /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.TransferLockState result = com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); - return result == null ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.TransferLockState result = + com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); + return result == null + ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED + : result; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -760,28 +889,31 @@ public Builder setTransferLockState(com.google.cloud.domains.v1alpha2.TransferLo if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -791,12 +923,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ManagementSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ManagementSettings) private static final com.google.cloud.domains.v1alpha2.ManagementSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ManagementSettings(); } @@ -805,16 +937,16 @@ public static com.google.cloud.domains.v1alpha2.ManagementSettings getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagementSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ManagementSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagementSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ManagementSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,6 +961,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.ManagementSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java similarity index 56% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java index 25bd6e6c..46e5a416 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ManagementSettingsOrBuilder.java @@ -1,46 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface ManagementSettingsOrBuilder extends +public interface ManagementSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ManagementSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renewalMethod. */ int getRenewalMethodValue(); /** + * + * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renewalMethod. */ com.google.cloud.domains.v1alpha2.ManagementSettings.RenewalMethod getRenewalMethod(); /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState(); diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java similarity index 71% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java index df84a4e1..aacead34 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Represents the metadata of the long-running operation. Output only.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.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.domains.v1alpha2.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,16 +46,15 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,63 +73,71 @@ private OperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + target_ = s; + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + verb_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - statusDetail_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + statusDetail_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,34 +145,39 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.OperationMetadata.class, com.google.cloud.domains.v1alpha2.OperationMetadata.Builder.class); + com.google.cloud.domains.v1alpha2.OperationMetadata.class, + com.google.cloud.domains.v1alpha2.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -155,11 +185,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -167,6 +200,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -181,11 +216,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -193,11 +231,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -205,6 +246,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -219,11 +262,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ @java.lang.Override @@ -232,29 +278,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; } } /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @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 { @@ -265,11 +311,14 @@ public java.lang.String getTarget() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ @java.lang.Override @@ -278,29 +327,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; } } /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @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 { @@ -311,11 +360,14 @@ public java.lang.String getVerb() { public static final int STATUS_DETAIL_FIELD_NUMBER = 5; private volatile java.lang.Object statusDetail_; /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ @java.lang.Override @@ -324,29 +376,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -357,11 +409,14 @@ public java.lang.String getStatusDetail() { public static final int API_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object apiVersion_; /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @return The apiVersion. */ @java.lang.Override @@ -370,29 +425,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; } } /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @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 { @@ -401,6 +456,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -412,8 +468,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -442,12 +497,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_); @@ -469,31 +522,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.domains.v1alpha2.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.OperationMetadata other = (com.google.cloud.domains.v1alpha2.OperationMetadata) obj; + com.google.cloud.domains.v1alpha2.OperationMetadata other = + (com.google.cloud.domains.v1alpha2.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 (!getStatusDetail() - .equals(other.getStatusDetail())) 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 (!getStatusDetail().equals(other.getStatusDetail())) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -527,117 +575,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.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.domains.v1alpha2.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.domains.v1alpha2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.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.domains.v1alpha2.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.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.domains.v1alpha2.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.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.domains.v1alpha2.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.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.domains.v1alpha2.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.domains.v1alpha2.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.domains.v1alpha2.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. Output only.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.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.domains.v1alpha2.OperationMetadata) com.google.cloud.domains.v1alpha2.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.OperationMetadata.class, com.google.cloud.domains.v1alpha2.OperationMetadata.Builder.class); + com.google.cloud.domains.v1alpha2.OperationMetadata.class, + com.google.cloud.domains.v1alpha2.OperationMetadata.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.OperationMetadata.newBuilder() @@ -645,16 +702,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -682,9 +738,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_OperationMetadata_descriptor; } @java.lang.Override @@ -703,7 +759,8 @@ public com.google.cloud.domains.v1alpha2.OperationMetadata build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.OperationMetadata buildPartial() { - com.google.cloud.domains.v1alpha2.OperationMetadata result = new com.google.cloud.domains.v1alpha2.OperationMetadata(this); + com.google.cloud.domains.v1alpha2.OperationMetadata result = + new com.google.cloud.domains.v1alpha2.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -726,38 +783,39 @@ public com.google.cloud.domains.v1alpha2.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.OperationMetadata) { - return mergeFrom((com.google.cloud.domains.v1alpha2.OperationMetadata)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -765,7 +823,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.OperationMetadata other) { - if (other == com.google.cloud.domains.v1alpha2.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -807,7 +866,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -819,34 +879,47 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time the operation was created.
      * 
@@ -867,14 +940,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -885,6 +959,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -895,7 +971,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -907,6 +983,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -925,6 +1003,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -932,11 +1012,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation was created.
      * 
@@ -947,11 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time the operation was created.
      * 
@@ -959,14 +1044,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -974,24 +1062,33 @@ 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_; /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1002,6 +1099,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1022,14 +1121,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1040,6 +1140,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1050,7 +1152,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1062,6 +1164,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1080,6 +1184,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1087,11 +1193,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1102,11 +1210,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1114,14 +1223,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1129,18 +1241,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @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; @@ -1149,20 +1263,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @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 { @@ -1170,54 +1285,61 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { + public Builder setTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1225,18 +1347,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @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; @@ -1245,20 +1369,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @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 { @@ -1266,54 +1391,61 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { + public Builder setVerb(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { + public Builder setVerbBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1321,18 +1453,20 @@ public Builder setVerbBytes( private java.lang.Object statusDetail_ = ""; /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1341,20 +1475,21 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1362,54 +1497,61 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail( - java.lang.String value) { + public Builder setStatusDetail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return This builder for chaining. */ public Builder clearStatusDetail() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes( - com.google.protobuf.ByteString value) { + public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; @@ -1417,18 +1559,20 @@ public Builder setStatusDetailBytes( private java.lang.Object apiVersion_ = ""; /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @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; @@ -1437,20 +1581,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @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 { @@ -1458,61 +1603,68 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { + public Builder setApiVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1522,12 +1674,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.OperationMetadata) private static final com.google.cloud.domains.v1alpha2.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.OperationMetadata(); } @@ -1536,16 +1688,16 @@ public static com.google.cloud.domains.v1alpha2.OperationMetadata getDefaultInst 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1560,6 +1712,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java similarity index 74% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java index 3a0e23b9..a608c30e 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/OperationMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
@@ -35,24 +59,32 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
@@ -62,82 +94,102 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString - getStatusDetailBytes(); + com.google.protobuf.ByteString getStatusDetailBytes(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java similarity index 75% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java index d302b6a8..a566a92f 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `RegisterDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RegisterDomainRequest} */ -public final class RegisterDomainRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RegisterDomainRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RegisterDomainRequest) RegisterDomainRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RegisterDomainRequest.newBuilder() to construct. private RegisterDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RegisterDomainRequest() { parent_ = ""; domainNotices_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private RegisterDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RegisterDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RegisterDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,96 +73,105 @@ private RegisterDomainRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = input.readMessage(com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = + input.readMessage( + com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - domainNotices_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } domainNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 32: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + domainNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - contactNotices_.add(rawValue); - break; - } - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } contactNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 42: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + contactNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 42: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } - break; - } - case 48: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 48: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -153,8 +179,7 @@ private RegisterDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = java.util.Collections.unmodifiableList(domainNotices_); @@ -166,28 +191,36 @@ private RegisterDomainRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, com.google.cloud.domains.v1alpha2.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, + com.google.cloud.domains.v1alpha2.RegisterDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -196,30 +229,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -230,11 +265,16 @@ public java.lang.String getParent() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.Registration registration_; /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ @java.lang.Override @@ -242,23 +282,34 @@ public boolean hasRegistration() { return registration_ != null; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.Registration getRegistration() { - return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() + : registration_; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -268,36 +319,47 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr public static final int DOMAIN_NOTICES_FIELD_NUMBER = 3; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice> domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice> + domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>() { public com.google.cloud.domains.v1alpha2.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DomainNotice result = com.google.cloud.domains.v1alpha2.DomainNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1alpha2.DomainNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.DomainNotice result = + com.google.cloud.domains.v1alpha2.DomainNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1alpha2.DomainNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @return The count of domainNotices. */ @java.lang.Override @@ -305,12 +367,15 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -319,26 +384,31 @@ public com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return domainNotices_; } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -346,21 +416,28 @@ public com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } + private int domainNoticesMemoizedSerializedSize; public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> + contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>() { public com.google.cloud.domains.v1alpha2.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactNotice result = com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.ContactNotice result = + com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -368,14 +445,18 @@ public com.google.cloud.domains.v1alpha2.ContactNotice convert(java.lang.Integer
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -383,6 +464,7 @@ public java.util.List getContac
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ @java.lang.Override @@ -390,6 +472,8 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -397,6 +481,7 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -405,6 +490,8 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -412,14 +499,16 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return contactNotices_; } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -427,6 +516,7 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -434,11 +524,14 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind public int getContactNoticesValue(int index) { return contactNotices_.get(index); } + private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -446,6 +539,7 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -453,6 +547,8 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -460,6 +556,7 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ @java.lang.Override @@ -467,6 +564,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -483,6 +582,8 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
+   *
+   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -490,6 +591,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -498,6 +600,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -509,8 +612,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -551,40 +653,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + domainNoticesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -594,29 +695,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.domains.v1alpha2.RegisterDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RegisterDomainRequest other = (com.google.cloud.domains.v1alpha2.RegisterDomainRequest) obj; + com.google.cloud.domains.v1alpha2.RegisterDomainRequest other = + (com.google.cloud.domains.v1alpha2.RegisterDomainRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; } if (!domainNotices_.equals(other.domainNotices_)) return false; if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -647,125 +745,134 @@ public int hashCode() { hash = (53 * hash) + getYearlyPrice().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RegisterDomainRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.RegisterDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RegisterDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RegisterDomainRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RegisterDomainRequest) com.google.cloud.domains.v1alpha2.RegisterDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, com.google.cloud.domains.v1alpha2.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RegisterDomainRequest.class, + com.google.cloud.domains.v1alpha2.RegisterDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.RegisterDomainRequest.newBuilder() @@ -773,16 +880,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -810,9 +916,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RegisterDomainRequest_descriptor; } @java.lang.Override @@ -831,7 +937,8 @@ public com.google.cloud.domains.v1alpha2.RegisterDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterDomainRequest buildPartial() { - com.google.cloud.domains.v1alpha2.RegisterDomainRequest result = new com.google.cloud.domains.v1alpha2.RegisterDomainRequest(this); + com.google.cloud.domains.v1alpha2.RegisterDomainRequest result = + new com.google.cloud.domains.v1alpha2.RegisterDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -863,38 +970,39 @@ public com.google.cloud.domains.v1alpha2.RegisterDomainRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RegisterDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.RegisterDomainRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.RegisterDomainRequest) other); } else { super.mergeFrom(other); return this; @@ -902,7 +1010,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RegisterDomainRequest other) { - if (other == com.google.cloud.domains.v1alpha2.RegisterDomainRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.RegisterDomainRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -955,7 +1064,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.RegisterDomainRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.RegisterDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -964,23 +1074,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -989,21 +1104,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -1011,57 +1129,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1069,39 +1200,58 @@ public Builder setParentBytes( private com.google.cloud.domains.v1alpha2.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> registrationBuilder_; + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + registrationBuilder_; /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ public com.google.cloud.domains.v1alpha2.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() + : registration_; } else { return registrationBuilder_.getMessage(); } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration value) { if (registrationBuilder_ == null) { @@ -1117,11 +1267,15 @@ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration va return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration( com.google.cloud.domains.v1alpha2.Registration.Builder builderForValue) { @@ -1135,17 +1289,23 @@ public Builder setRegistration( return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_) + .mergeFrom(value) + .buildPartial(); } else { registration_ = value; } @@ -1157,11 +1317,15 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1175,55 +1339,71 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null ? - com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() + : registration_; } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( - getRegistration(), - getParentForChildren(), - isClean()); + registrationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( + getRegistration(), getParentForChildren(), isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List domainNotices_ = - java.util.Collections.emptyList(); + private java.util.List domainNotices_ = java.util.Collections.emptyList(); + private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1231,37 +1411,47 @@ private void ensureDomainNoticesIsMutable() { } } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1269,12 +1459,15 @@ public com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. @@ -1290,12 +1483,15 @@ public Builder setDomainNotices( return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1309,12 +1505,15 @@ public Builder addDomainNotices(com.google.cloud.domains.v1alpha2.DomainNotice v return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1328,12 +1527,15 @@ public Builder addAllDomainNotices( return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1343,25 +1545,30 @@ public Builder clearDomainNotices() { return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1369,30 +1576,35 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue( - int index, int value) { + public Builder setDomainNoticesValue(int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1403,17 +1615,19 @@ public Builder addDomainNoticesValue(int value) { return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue( - java.lang.Iterable values) { + public Builder addAllDomainNoticesValue(java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1422,8 +1636,8 @@ public Builder addAllDomainNoticesValue( return this; } - private java.util.List contactNotices_ = - java.util.Collections.emptyList(); + private java.util.List contactNotices_ = java.util.Collections.emptyList(); + private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1431,6 +1645,8 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1438,13 +1654,17 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1452,12 +1672,15 @@ public java.util.List getContac
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1465,6 +1688,7 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1472,6 +1696,8 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1479,6 +1705,7 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1494,6 +1721,8 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1501,6 +1730,7 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1514,6 +1744,8 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1521,6 +1753,7 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1534,6 +1767,8 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1541,6 +1776,7 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1550,6 +1786,8 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1557,13 +1795,15 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1571,6 +1811,7 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1578,6 +1819,8 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1585,18 +1828,20 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue( - int index, int value) { + public Builder setContactNoticesValue(int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1604,6 +1849,7 @@ public Builder setContactNoticesValue(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1614,6 +1860,8 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1621,11 +1869,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue( - java.lang.Iterable values) { + public Builder addAllContactNoticesValue(java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1636,8 +1884,11 @@ public Builder addAllContactNoticesValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1645,12 +1896,15 @@ public Builder addAllContactNoticesValue(
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1658,6 +1912,7 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1668,6 +1923,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1690,6 +1947,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1698,8 +1957,7 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(
-        com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1710,6 +1968,8 @@ public Builder setYearlyPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1722,7 +1982,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1734,6 +1994,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1754,6 +2016,8 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1763,11 +2027,13 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-      
+
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1780,11 +2046,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ?
-            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1794,21 +2061,24 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(),
-                getParentForChildren(),
-                isClean());
+        yearlyPriceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Money,
+                com.google.type.Money.Builder,
+                com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(), getParentForChildren(), isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
     }
 
-    private boolean validateOnly_ ;
+    private boolean validateOnly_;
     /**
+     *
+     *
      * 
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -1816,6 +2086,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -1823,6 +2094,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -1830,16 +2103,19 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -1847,17 +2123,18 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1867,12 +2144,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RegisterDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RegisterDomainRequest) private static final com.google.cloud.domains.v1alpha2.RegisterDomainRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RegisterDomainRequest(); } @@ -1881,16 +2158,16 @@ public static com.google.cloud.domains.v1alpha2.RegisterDomainRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1905,6 +2182,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.RegisterDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java index 8b012ad1..057d612d 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterDomainRequestOrBuilder.java @@ -1,116 +1,171 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RegisterDomainRequestOrBuilder extends +public interface RegisterDomainRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RegisterDomainRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ boolean hasRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ com.google.cloud.domains.v1alpha2.Registration getRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List - getDomainNoticesValueList(); + java.util.List getDomainNoticesValueList(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -118,10 +173,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -129,10 +187,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ int getContactNoticesCount(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -140,11 +201,14 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int index); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -152,11 +216,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List - getContactNoticesValueList(); + java.util.List getContactNoticesValueList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -164,12 +230,15 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -177,10 +246,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -188,10 +260,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -203,6 +278,8 @@ public interface RegisterDomainRequestOrBuilder extends
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
+   *
+   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -210,6 +287,7 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java similarity index 76% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java index 1a16db85..484df57c 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParameters.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Parameters required to register a new domain.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RegisterParameters} */ -public final class RegisterParameters extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RegisterParameters extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RegisterParameters) RegisterParametersOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RegisterParameters.newBuilder() to construct. private RegisterParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RegisterParameters() { domainName_ = ""; availability_ = 0; @@ -28,16 +46,15 @@ private RegisterParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RegisterParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RegisterParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,84 +74,91 @@ private RegisterParameters( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + domainName_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - availability_ = rawValue; - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + availability_ = rawValue; + break; } - supportedPrivacy_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } supportedPrivacy_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 32: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + supportedPrivacy_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - domainNotices_.add(rawValue); - break; - } - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } domainNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 42: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + domainNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 42: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,8 +166,7 @@ private RegisterParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = java.util.Collections.unmodifiableList(supportedPrivacy_); @@ -155,29 +178,35 @@ private RegisterParameters( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RegisterParameters.class, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder.class); + com.google.cloud.domains.v1alpha2.RegisterParameters.class, + com.google.cloud.domains.v1alpha2.RegisterParameters.Builder.class); } /** + * + * *
    * Possible availability states of a domain name.
    * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.RegisterParameters.Availability} */ - public enum Availability - implements com.google.protobuf.ProtocolMessageEnum { + public enum Availability implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The availability is unspecified.
      * 
@@ -186,6 +215,8 @@ public enum Availability */ AVAILABILITY_UNSPECIFIED(0), /** + * + * *
      * The domain is available for registration.
      * 
@@ -194,6 +225,8 @@ public enum Availability */ AVAILABLE(1), /** + * + * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -203,6 +236,8 @@ public enum Availability
      */
     UNAVAILABLE(2),
     /**
+     *
+     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -212,6 +247,8 @@ public enum Availability
      */
     UNSUPPORTED(3),
     /**
+     *
+     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -224,6 +261,8 @@ public enum Availability
     ;
 
     /**
+     *
+     *
      * 
      * The availability is unspecified.
      * 
@@ -232,6 +271,8 @@ public enum Availability */ public static final int AVAILABILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is available for registration.
      * 
@@ -240,6 +281,8 @@ public enum Availability */ public static final int AVAILABLE_VALUE = 1; /** + * + * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -249,6 +292,8 @@ public enum Availability
      */
     public static final int UNAVAILABLE_VALUE = 2;
     /**
+     *
+     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -258,6 +303,8 @@ public enum Availability
      */
     public static final int UNSUPPORTED_VALUE = 3;
     /**
+     *
+     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -267,7 +314,6 @@ public enum Availability
      */
     public static final int UNKNOWN_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -292,51 +338,55 @@ public static Availability valueOf(int value) {
      */
     public static Availability forNumber(int value) {
       switch (value) {
-        case 0: return AVAILABILITY_UNSPECIFIED;
-        case 1: return AVAILABLE;
-        case 2: return UNAVAILABLE;
-        case 3: return UNSUPPORTED;
-        case 4: return UNKNOWN;
-        default: return null;
+        case 0:
+          return AVAILABILITY_UNSPECIFIED;
+        case 1:
+          return AVAILABLE;
+        case 2:
+          return UNAVAILABLE;
+        case 3:
+          return UNSUPPORTED;
+        case 4:
+          return UNKNOWN;
+        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<
-        Availability> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Availability findValueByNumber(int number) {
-              return Availability.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 Availability findValueByNumber(int number) {
+            return Availability.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.domains.v1alpha2.RegisterParameters.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.RegisterParameters.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Availability[] VALUES = values();
 
-    public static Availability valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Availability 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;
@@ -356,11 +406,14 @@ private Availability(int value) {
   public static final int DOMAIN_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object domainName_;
   /**
+   *
+   *
    * 
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ @java.lang.Override @@ -369,29 +422,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -402,6 +455,8 @@ public java.lang.String getDomainName() { public static final int AVAILABILITY_FIELD_NUMBER = 2; private int availability_; /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -409,12 +464,16 @@ public java.lang.String getDomainName() {
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; + * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override public int getAvailabilityValue() { + @java.lang.Override + public int getAvailabilityValue() { return availability_; } /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -422,45 +481,63 @@ public java.lang.String getDomainName() {
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; + * * @return The availability. */ - @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterParameters.Availability getAvailability() { + @java.lang.Override + public com.google.cloud.domains.v1alpha2.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.RegisterParameters.Availability result = com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.valueOf(availability_); - return result == null ? com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.RegisterParameters.Availability result = + com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.valueOf(availability_); + return result == null + ? com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.UNRECOGNIZED + : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 3; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> + supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>() { - public com.google.cloud.domains.v1alpha2.ContactPrivacy convert(java.lang.Integer from) { + public com.google.cloud.domains.v1alpha2.ContactPrivacy convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactPrivacy result = com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); - return result == null ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.ContactPrivacy result = + com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); + return result == null + ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED + : result; } }; /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @return A list containing the supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyList() { + public java.util.List + getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -468,11 +545,14 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -481,24 +561,29 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return supportedPrivacy_; } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -506,39 +591,51 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } + private int supportedPrivacyMemoizedSerializedSize; public static final int DOMAIN_NOTICES_FIELD_NUMBER = 4; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice> domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice> + domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>() { public com.google.cloud.domains.v1alpha2.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.DomainNotice result = com.google.cloud.domains.v1alpha2.DomainNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1alpha2.DomainNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.DomainNotice result = + com.google.cloud.domains.v1alpha2.DomainNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1alpha2.DomainNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @return The count of domainNotices. */ @java.lang.Override @@ -546,11 +643,14 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -559,24 +659,29 @@ public com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return domainNotices_; } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -584,16 +689,20 @@ public com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } + private int domainNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -601,11 +710,14 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return The yearlyPrice. */ @java.lang.Override @@ -613,6 +725,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Price to register or renew the domain for one year.
    * 
@@ -625,6 +739,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -636,13 +751,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } - if (availability_ != com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { + if (availability_ + != com.google.cloud.domains.v1alpha2.RegisterParameters.Availability + .AVAILABILITY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, availability_); } if (getSupportedPrivacyList().size() > 0) { @@ -674,37 +791,40 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domainName_); } - if (availability_ != com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, availability_); + if (availability_ + != com.google.cloud.domains.v1alpha2.RegisterParameters.Availability + .AVAILABILITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, availability_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedPrivacyMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + domainNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -714,22 +834,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.domains.v1alpha2.RegisterParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RegisterParameters other = (com.google.cloud.domains.v1alpha2.RegisterParameters) obj; + com.google.cloud.domains.v1alpha2.RegisterParameters other = + (com.google.cloud.domains.v1alpha2.RegisterParameters) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; if (availability_ != other.availability_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!domainNotices_.equals(other.domainNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -764,117 +883,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RegisterParameters parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RegisterParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RegisterParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters required to register a new domain.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RegisterParameters} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RegisterParameters) com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RegisterParameters.class, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder.class); + com.google.cloud.domains.v1alpha2.RegisterParameters.class, + com.google.cloud.domains.v1alpha2.RegisterParameters.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.RegisterParameters.newBuilder() @@ -882,16 +1010,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -913,9 +1040,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RegisterParameters_descriptor; } @java.lang.Override @@ -934,7 +1061,8 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterParameters buildPartial() { - com.google.cloud.domains.v1alpha2.RegisterParameters result = new com.google.cloud.domains.v1alpha2.RegisterParameters(this); + com.google.cloud.domains.v1alpha2.RegisterParameters result = + new com.google.cloud.domains.v1alpha2.RegisterParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.availability_ = availability_; @@ -961,38 +1089,39 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RegisterParameters) { - return mergeFrom((com.google.cloud.domains.v1alpha2.RegisterParameters)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.RegisterParameters) other); } else { super.mergeFrom(other); return this; @@ -1000,7 +1129,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RegisterParameters other) { - if (other == com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()) + return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -1050,7 +1180,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.RegisterParameters) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.RegisterParameters) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1059,22 +1190,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object domainName_ = ""; /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -1083,20 +1217,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -1104,54 +1239,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -1159,6 +1301,8 @@ public Builder setDomainNameBytes( private int availability_ = 0; /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1166,12 +1310,16 @@ public Builder setDomainNameBytes(
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; + * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override public int getAvailabilityValue() { + @java.lang.Override + public int getAvailabilityValue() { return availability_; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1179,16 +1327,19 @@ public Builder setDomainNameBytes(
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; + * * @param value The enum numeric value on the wire for availability to set. * @return This builder for chaining. */ public Builder setAvailabilityValue(int value) { - + availability_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1196,15 +1347,21 @@ public Builder setAvailabilityValue(int value) {
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; + * * @return The availability. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.RegisterParameters.Availability result = com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.valueOf(availability_); - return result == null ? com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.RegisterParameters.Availability result = + com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.valueOf(availability_); + return result == null + ? com.google.cloud.domains.v1alpha2.RegisterParameters.Availability.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1212,19 +1369,23 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters.Availability getAvai
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; + * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability(com.google.cloud.domains.v1alpha2.RegisterParameters.Availability value) { + public Builder setAvailability( + com.google.cloud.domains.v1alpha2.RegisterParameters.Availability value) { if (value == null) { throw new NullPointerException(); } - + availability_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1232,17 +1393,18 @@ public Builder setAvailability(com.google.cloud.domains.v1alpha2.RegisterParamet
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; + * * @return This builder for chaining. */ public Builder clearAvailability() { - + availability_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = - java.util.Collections.emptyList(); + private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); + private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1250,34 +1412,45 @@ private void ensureSupportedPrivacyIsMutable() { } } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @return A list containing the supportedPrivacy. */ - public java.util.List getSupportedPrivacyList() { + public java.util.List + getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1285,11 +1458,14 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1305,11 +1481,14 @@ public Builder setSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1323,11 +1502,14 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1alpha2.ContactPriv return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1341,11 +1523,14 @@ public Builder addAllSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1355,23 +1540,28 @@ public Builder clearSupportedPrivacy() { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1379,28 +1569,33 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue( - int index, int value) { + public Builder setSupportedPrivacyValue(int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1411,16 +1606,18 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue( - java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1429,8 +1626,8 @@ public Builder addAllSupportedPrivacyValue( return this; } - private java.util.List domainNotices_ = - java.util.Collections.emptyList(); + private java.util.List domainNotices_ = java.util.Collections.emptyList(); + private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1438,34 +1635,44 @@ private void ensureDomainNoticesIsMutable() { } } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1473,11 +1680,14 @@ public com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. @@ -1493,11 +1703,14 @@ public Builder setDomainNotices( return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1511,11 +1724,14 @@ public Builder addDomainNotices(com.google.cloud.domains.v1alpha2.DomainNotice v return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1529,11 +1745,14 @@ public Builder addAllDomainNotices( return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1543,23 +1762,28 @@ public Builder clearDomainNotices() { return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1567,28 +1791,33 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue( - int index, int value) { + public Builder setDomainNoticesValue(int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1599,16 +1828,18 @@ public Builder addDomainNoticesValue(int value) { return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue( - java.lang.Iterable values) { + public Builder addAllDomainNoticesValue(java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1619,24 +1850,31 @@ public Builder addAllDomainNoticesValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1647,6 +1885,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1667,14 +1907,15 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; */ - public Builder setYearlyPrice( - com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1685,6 +1926,8 @@ public Builder setYearlyPrice( return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1695,7 +1938,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1707,6 +1950,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1725,6 +1970,8 @@ public Builder clearYearlyPrice() { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1732,11 +1979,13 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 5; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1747,11 +1996,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? - com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1759,21 +2009,22 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - getYearlyPrice(), - getParentForChildren(), - isClean()); + yearlyPriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + getYearlyPrice(), getParentForChildren(), isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1783,12 +2034,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RegisterParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RegisterParameters) private static final com.google.cloud.domains.v1alpha2.RegisterParameters DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RegisterParameters(); } @@ -1797,16 +2048,16 @@ public static com.google.cloud.domains.v1alpha2.RegisterParameters getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1821,6 +2072,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.RegisterParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java similarity index 83% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java index c699f9e5..86c0be57 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegisterParametersOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RegisterParametersOrBuilder extends +public interface RegisterParametersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RegisterParameters) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -35,10 +58,13 @@ public interface RegisterParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; + * * @return The enum numeric value on the wire for availability. */ int getAvailabilityValue(); /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -46,127 +72,164 @@ public interface RegisterParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters.Availability availability = 2; + * * @return The availability. */ com.google.cloud.domains.v1alpha2.RegisterParameters.Availability getAvailability(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int index); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List - getSupportedPrivacyValueList(); + java.util.List getSupportedPrivacyValueList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1alpha2.DomainNotice getDomainNotices(int index); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List - getDomainNoticesValueList(); + java.util.List getDomainNoticesValueList(); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Price to register or renew the domain for one year.
    * 
diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java index 405f9830..303512b6 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/Registration.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * The `Registration` resource facilitates managing and configuring domain name
  * registrations.
@@ -22,15 +39,16 @@
  *
  * Protobuf type {@code google.cloud.domains.v1alpha2.Registration}
  */
-public final class Registration extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Registration extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.Registration)
     RegistrationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Registration.newBuilder() to construct.
   private Registration(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Registration() {
     name_ = "";
     domainName_ = "";
@@ -41,16 +59,15 @@ private Registration() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Registration();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Registration(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,168 +87,194 @@ private Registration(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            domainName_ = s;
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (expireTime_ != null) {
-              subBuilder = expireTime_.toBuilder();
+              domainName_ = s;
+              break;
             }
-            expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(expireTime_);
-              expireTime_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (expireTime_ != null) {
+                subBuilder = expireTime_.toBuilder();
+              }
+              expireTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(expireTime_);
+                expireTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            state_ = rawValue;
-            break;
-          }
-          case 64: {
-            int rawValue = input.readEnum();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              issues_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              state_ = rawValue;
+              break;
             }
-            issues_.add(rawValue);
-            break;
-          }
-          case 66: {
-            int length = input.readRawVarint32();
-            int oldLimit = input.pushLimit(length);
-            while(input.getBytesUntilLimit() > 0) {
+          case 64:
+            {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                 issues_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000001;
               }
               issues_.add(rawValue);
+              break;
             }
-            input.popLimit(oldLimit);
-            break;
-          }
-          case 74: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000002;
-            }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 82: {
-            com.google.cloud.domains.v1alpha2.ManagementSettings.Builder subBuilder = null;
-            if (managementSettings_ != null) {
-              subBuilder = managementSettings_.toBuilder();
+          case 66:
+            {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while (input.getBytesUntilLimit() > 0) {
+                int rawValue = input.readEnum();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  issues_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                issues_.add(rawValue);
+              }
+              input.popLimit(oldLimit);
+              break;
             }
-            managementSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.ManagementSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(managementSettings_);
-              managementSettings_ = subBuilder.buildPartial();
+          case 74:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000002;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
+          case 82:
+            {
+              com.google.cloud.domains.v1alpha2.ManagementSettings.Builder subBuilder = null;
+              if (managementSettings_ != null) {
+                subBuilder = managementSettings_.toBuilder();
+              }
+              managementSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1alpha2.ManagementSettings.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(managementSettings_);
+                managementSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 90: {
-            com.google.cloud.domains.v1alpha2.DnsSettings.Builder subBuilder = null;
-            if (dnsSettings_ != null) {
-              subBuilder = dnsSettings_.toBuilder();
-            }
-            dnsSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.DnsSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(dnsSettings_);
-              dnsSettings_ = subBuilder.buildPartial();
+              break;
             }
+          case 90:
+            {
+              com.google.cloud.domains.v1alpha2.DnsSettings.Builder subBuilder = null;
+              if (dnsSettings_ != null) {
+                subBuilder = dnsSettings_.toBuilder();
+              }
+              dnsSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1alpha2.DnsSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(dnsSettings_);
+                dnsSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 98: {
-            com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null;
-            if (contactSettings_ != null) {
-              subBuilder = contactSettings_.toBuilder();
-            }
-            contactSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(contactSettings_);
-              contactSettings_ = subBuilder.buildPartial();
+              break;
             }
+          case 98:
+            {
+              com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null;
+              if (contactSettings_ != null) {
+                subBuilder = contactSettings_.toBuilder();
+              }
+              contactSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1alpha2.ContactSettings.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(contactSettings_);
+                contactSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 106: {
-            com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null;
-            if (pendingContactSettings_ != null) {
-              subBuilder = pendingContactSettings_.toBuilder();
-            }
-            pendingContactSettings_ = input.readMessage(com.google.cloud.domains.v1alpha2.ContactSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(pendingContactSettings_);
-              pendingContactSettings_ = subBuilder.buildPartial();
+              break;
             }
+          case 106:
+            {
+              com.google.cloud.domains.v1alpha2.ContactSettings.Builder subBuilder = null;
+              if (pendingContactSettings_ != null) {
+                subBuilder = pendingContactSettings_.toBuilder();
+              }
+              pendingContactSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1alpha2.ContactSettings.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(pendingContactSettings_);
+                pendingContactSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 112: {
-            int rawValue = input.readEnum();
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              supportedPrivacy_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000004;
+              break;
             }
-            supportedPrivacy_.add(rawValue);
-            break;
-          }
-          case 114: {
-            int length = input.readRawVarint32();
-            int oldLimit = input.pushLimit(length);
-            while(input.getBytesUntilLimit() > 0) {
+          case 112:
+            {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                 supportedPrivacy_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000004;
               }
               supportedPrivacy_.add(rawValue);
+              break;
             }
-            input.popLimit(oldLimit);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 114:
+            {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while (input.getBytesUntilLimit() > 0) {
+                int rawValue = input.readEnum();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  supportedPrivacy_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                supportedPrivacy_.add(rawValue);
+              }
+              input.popLimit(oldLimit);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -239,8 +282,7 @@ private Registration(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         issues_ = java.util.Collections.unmodifiableList(issues_);
@@ -252,41 +294,46 @@ private Registration(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.domains.v1alpha2.DomainsProto
+        .internal_static_google_cloud_domains_v1alpha2_Registration_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 9:
         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.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable
+    return com.google.cloud.domains.v1alpha2.DomainsProto
+        .internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1alpha2.Registration.class, com.google.cloud.domains.v1alpha2.Registration.Builder.class);
+            com.google.cloud.domains.v1alpha2.Registration.class,
+            com.google.cloud.domains.v1alpha2.Registration.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.Registration.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is undefined.
      * 
@@ -295,6 +342,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The domain is being registered.
      * 
@@ -303,6 +352,8 @@ public enum State */ REGISTRATION_PENDING(1), /** + * + * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -312,6 +363,8 @@ public enum State
      */
     REGISTRATION_FAILED(2),
     /**
+     *
+     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -320,6 +373,8 @@ public enum State */ TRANSFER_PENDING(3), /** + * + * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -330,6 +385,8 @@ public enum State
      */
     TRANSFER_FAILED(4),
     /**
+     *
+     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -339,6 +396,8 @@ public enum State
      */
     ACTIVE(6),
     /**
+     *
+     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -348,6 +407,8 @@ public enum State
      */
     SUSPENDED(7),
     /**
+     *
+     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -363,6 +424,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is undefined.
      * 
@@ -371,6 +434,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is being registered.
      * 
@@ -379,6 +444,8 @@ public enum State */ public static final int REGISTRATION_PENDING_VALUE = 1; /** + * + * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -388,6 +455,8 @@ public enum State
      */
     public static final int REGISTRATION_FAILED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -396,6 +465,8 @@ public enum State */ public static final int TRANSFER_PENDING_VALUE = 3; /** + * + * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -406,6 +477,8 @@ public enum State
      */
     public static final int TRANSFER_FAILED_VALUE = 4;
     /**
+     *
+     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -415,6 +488,8 @@ public enum State
      */
     public static final int ACTIVE_VALUE = 6;
     /**
+     *
+     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -424,6 +499,8 @@ public enum State
      */
     public static final int SUSPENDED_VALUE = 7;
     /**
+     *
+     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -436,7 +513,6 @@ public enum State
      */
     public static final int EXPORTED_VALUE = 8;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -461,54 +537,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return REGISTRATION_PENDING;
-        case 2: return REGISTRATION_FAILED;
-        case 3: return TRANSFER_PENDING;
-        case 4: return TRANSFER_FAILED;
-        case 6: return ACTIVE;
-        case 7: return SUSPENDED;
-        case 8: return EXPORTED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return REGISTRATION_PENDING;
+        case 2:
+          return REGISTRATION_FAILED;
+        case 3:
+          return TRANSFER_PENDING;
+        case 4:
+          return TRANSFER_FAILED;
+        case 6:
+          return ACTIVE;
+        case 7:
+          return SUSPENDED;
+        case 8:
+          return EXPORTED;
+        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.domains.v1alpha2.Registration.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;
@@ -526,15 +607,18 @@ private State(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Possible issues with a `Registration` that require attention.
    * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.Registration.Issue} */ - public enum Issue - implements com.google.protobuf.ProtocolMessageEnum { + public enum Issue implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The issue is undefined.
      * 
@@ -543,6 +627,8 @@ public enum Issue */ ISSUE_UNSPECIFIED(0), /** + * + * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -551,6 +637,8 @@ public enum Issue */ CONTACT_SUPPORT(1), /** + * + * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -569,6 +657,8 @@ public enum Issue
     ;
 
     /**
+     *
+     *
      * 
      * The issue is undefined.
      * 
@@ -577,6 +667,8 @@ public enum Issue */ public static final int ISSUE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -585,6 +677,8 @@ public enum Issue */ public static final int CONTACT_SUPPORT_VALUE = 1; /** + * + * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -600,7 +694,6 @@ public enum Issue
      */
     public static final int UNVERIFIED_EMAIL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -625,49 +718,49 @@ public static Issue valueOf(int value) {
      */
     public static Issue forNumber(int value) {
       switch (value) {
-        case 0: return ISSUE_UNSPECIFIED;
-        case 1: return CONTACT_SUPPORT;
-        case 2: return UNVERIFIED_EMAIL;
-        default: return null;
+        case 0:
+          return ISSUE_UNSPECIFIED;
+        case 1:
+          return CONTACT_SUPPORT;
+        case 2:
+          return UNVERIFIED_EMAIL;
+        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<
-        Issue> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Issue findValueByNumber(int number) {
-              return Issue.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 Issue findValueByNumber(int number) {
+            return Issue.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.domains.v1alpha2.Registration.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Issue[] VALUES = values();
 
-    public static Issue valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Issue 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;
@@ -687,12 +780,15 @@ private Issue(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -701,30 +797,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 `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * 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 { @@ -735,11 +831,16 @@ public java.lang.String getName() { public static final int DOMAIN_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object domainName_; /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domainName. */ @java.lang.Override @@ -748,29 +849,31 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -781,11 +884,15 @@ public java.lang.String getDomainName() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -793,11 +900,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -805,11 +916,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -819,11 +933,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -831,11 +949,15 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -843,11 +965,14 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -857,61 +982,92 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 7; private int state_; /** + * + * *
    * Output only. The state of the `Registration`
    * 
* - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.Registration.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 state of the `Registration`
    * 
* - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.domains.v1alpha2.Registration.State getState() { + @java.lang.Override + public com.google.cloud.domains.v1alpha2.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.Registration.State result = com.google.cloud.domains.v1alpha2.Registration.State.valueOf(state_); - return result == null ? com.google.cloud.domains.v1alpha2.Registration.State.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.Registration.State result = + com.google.cloud.domains.v1alpha2.Registration.State.valueOf(state_); + return result == null + ? com.google.cloud.domains.v1alpha2.Registration.State.UNRECOGNIZED + : result; } public static final int ISSUES_FIELD_NUMBER = 8; private java.util.List issues_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue> issues_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue> + issues_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue>() { - public com.google.cloud.domains.v1alpha2.Registration.Issue convert(java.lang.Integer from) { + public com.google.cloud.domains.v1alpha2.Registration.Issue convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.Registration.Issue result = com.google.cloud.domains.v1alpha2.Registration.Issue.valueOf(from); - return result == null ? com.google.cloud.domains.v1alpha2.Registration.Issue.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.Registration.Issue result = + com.google.cloud.domains.v1alpha2.Registration.Issue.valueOf(from); + return result == null + ? com.google.cloud.domains.v1alpha2.Registration.Issue.UNRECOGNIZED + : result; } }; /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the issues. */ @java.lang.Override public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue>(issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue>( + issues_, issues_converter_); } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of issues. */ @java.lang.Override @@ -919,11 +1075,16 @@ public int getIssuesCount() { return issues_.size(); } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The issues at the given index. */ @@ -932,24 +1093,33 @@ public com.google.cloud.domains.v1alpha2.Registration.Issue getIssues(int index) return issues_converter_.convert(issues_.get(index)); } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for issues. */ @java.lang.Override - public java.util.List - getIssuesValueList() { + public java.util.List getIssuesValueList() { return issues_; } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -957,27 +1127,27 @@ public com.google.cloud.domains.v1alpha2.Registration.Issue getIssues(int index) public int getIssuesValue(int index) { return issues_.get(index); } + private int issuesMemoizedSerializedSize; public static final int LABELS_FIELD_NUMBER = 9; + 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.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_Registration_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -986,28 +1156,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - @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(); } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1015,11 +1187,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1027,16 +1200,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1044,12 +1217,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 9; */ @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(); } @@ -1059,6 +1231,8 @@ public java.lang.String getLabelsOrThrow( public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 10; private com.google.cloud.domains.v1alpha2.ManagementSettings managementSettings_; /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1067,6 +1241,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -1074,6 +1249,8 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1082,13 +1259,18 @@ public boolean hasManagementSettings() {
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; + * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings() { - return managementSettings_ == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() + : managementSettings_; } /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1099,13 +1281,16 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSetting
    * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() {
+  public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder
+      getManagementSettingsOrBuilder() {
     return getManagementSettings();
   }
 
   public static final int DNS_SETTINGS_FIELD_NUMBER = 11;
   private com.google.cloud.domains.v1alpha2.DnsSettings dnsSettings_;
   /**
+   *
+   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1113,6 +1298,7 @@ public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManageme
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; + * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -1120,6 +1306,8 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1127,13 +1315,18 @@ public boolean hasDnsSettings() {
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; + * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings() { - return dnsSettings_ == null ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() + : dnsSettings_; } /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1150,13 +1343,18 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
   public static final int CONTACT_SETTINGS_FIELD_NUMBER = 12;
   private com.google.cloud.domains.v1alpha2.ContactSettings contactSettings_;
   /**
+   *
+   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -1164,27 +1362,38 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings() { - return contactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() + : contactSettings_; } /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSettingsOrBuilder() { @@ -1194,6 +1403,8 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSett public static final int PENDING_CONTACT_SETTINGS_FIELD_NUMBER = 13; private com.google.cloud.domains.v1alpha2.ContactSettings pendingContactSettings_; /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1204,7 +1415,10 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSett
    * email they receive.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the pendingContactSettings field is set. */ @java.lang.Override @@ -1212,6 +1426,8 @@ public boolean hasPendingContactSettings() { return pendingContactSettings_ != null; } /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1222,14 +1438,21 @@ public boolean hasPendingContactSettings() {
    * email they receive.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pendingContactSettings. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.ContactSettings getPendingContactSettings() { - return pendingContactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : pendingContactSettings_; + return pendingContactSettings_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() + : pendingContactSettings_; } /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1240,46 +1463,66 @@ public com.google.cloud.domains.v1alpha2.ContactSettings getPendingContactSettin
    * email they receive.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder + getPendingContactSettingsOrBuilder() { return getPendingContactSettings(); } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 14; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> + supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>() { - public com.google.cloud.domains.v1alpha2.ContactPrivacy convert(java.lang.Integer from) { + public com.google.cloud.domains.v1alpha2.ContactPrivacy convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactPrivacy result = com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); - return result == null ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.ContactPrivacy result = + com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); + return result == null + ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED + : result; } }; /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyList() { + public java.util.List + getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -1287,12 +1530,17 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1301,26 +1549,35 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return supportedPrivacy_; } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1328,9 +1585,11 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } + private int supportedPrivacyMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1342,8 +1601,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -1357,7 +1615,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (expireTime_ != null) { output.writeMessage(6, getExpireTime()); } - if (state_ != com.google.cloud.domains.v1alpha2.Registration.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.domains.v1alpha2.Registration.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } if (getIssuesList().size() > 0) { @@ -1367,12 +1626,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < issues_.size(); i++) { output.writeEnumNoTag(issues_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 9); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 9); if (managementSettings_ != null) { output.writeMessage(10, getManagementSettings()); } @@ -1408,66 +1663,62 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domainName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpireTime()); } - if (state_ != com.google.cloud.domains.v1alpha2.Registration.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + if (state_ + != com.google.cloud.domains.v1alpha2.Registration.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } { int dataSize = 0; for (int i = 0; i < issues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(issues_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(issues_.get(i)); } size += dataSize; - if (!getIssuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }issuesMemoizedSerializedSize = dataSize; - } - 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(9, labels__); + if (!getIssuesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + issuesMemoizedSerializedSize = dataSize; + } + 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(9, labels__); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getManagementSettings()); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDnsSettings()); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getContactSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getContactSettings()); } if (pendingContactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getPendingContactSettings()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(13, getPendingContactSettings()); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedPrivacyMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1477,50 +1728,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1alpha2.Registration)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.Registration other = (com.google.cloud.domains.v1alpha2.Registration) obj; + com.google.cloud.domains.v1alpha2.Registration other = + (com.google.cloud.domains.v1alpha2.Registration) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDomainName() - .equals(other.getDomainName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDomainName().equals(other.getDomainName())) 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 (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } if (state_ != other.state_) return false; if (!issues_.equals(other.issues_)) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings() - .equals(other.getManagementSettings())) return false; + if (!getManagementSettings().equals(other.getManagementSettings())) return false; } if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings() - .equals(other.getDnsSettings())) return false; + if (!getDnsSettings().equals(other.getDnsSettings())) return false; } if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings() - .equals(other.getContactSettings())) return false; + if (!getContactSettings().equals(other.getContactSettings())) return false; } if (hasPendingContactSettings() != other.hasPendingContactSettings()) return false; if (hasPendingContactSettings()) { - if (!getPendingContactSettings() - .equals(other.getPendingContactSettings())) return false; + if (!getPendingContactSettings().equals(other.getPendingContactSettings())) return false; } if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1581,97 +1824,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1alpha2.Registration parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1alpha2.Registration parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.Registration parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.Registration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.Registration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.Registration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.Registration parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.Registration parseFrom(java.io.InputStream input) 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.domains.v1alpha2.Registration parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.Registration parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.Registration parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.Registration parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.Registration parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.Registration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.Registration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The `Registration` resource facilitates managing and configuring domain name
    * registrations.
@@ -1690,43 +1940,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.domains.v1alpha2.Registration}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.Registration)
       com.google.cloud.domains.v1alpha2.RegistrationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_Registration_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 9:
           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 9:
           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.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_Registration_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1alpha2.Registration.class, com.google.cloud.domains.v1alpha2.Registration.Builder.class);
+              com.google.cloud.domains.v1alpha2.Registration.class,
+              com.google.cloud.domains.v1alpha2.Registration.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1alpha2.Registration.newBuilder()
@@ -1734,16 +1984,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1798,9 +2047,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_Registration_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.domains.v1alpha2.DomainsProto
+          .internal_static_google_cloud_domains_v1alpha2_Registration_descriptor;
     }
 
     @java.lang.Override
@@ -1819,7 +2068,8 @@ public com.google.cloud.domains.v1alpha2.Registration build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1alpha2.Registration buildPartial() {
-      com.google.cloud.domains.v1alpha2.Registration result = new com.google.cloud.domains.v1alpha2.Registration(this);
+      com.google.cloud.domains.v1alpha2.Registration result =
+          new com.google.cloud.domains.v1alpha2.Registration(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.domainName_ = domainName_;
@@ -1874,38 +2124,39 @@ public com.google.cloud.domains.v1alpha2.Registration buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1alpha2.Registration) {
-        return mergeFrom((com.google.cloud.domains.v1alpha2.Registration)other);
+        return mergeFrom((com.google.cloud.domains.v1alpha2.Registration) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1941,8 +2192,7 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.Registration other) {
         }
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (other.hasManagementSettings()) {
         mergeManagementSettings(other.getManagementSettings());
       }
@@ -1993,23 +2243,26 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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; @@ -2018,21 +2271,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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 { @@ -2040,57 +2294,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2098,18 +2359,22 @@ public Builder setNameBytes( private java.lang.Object domainName_ = ""; /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -2118,20 +2383,23 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -2139,54 +2407,67 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -2194,39 +2475,58 @@ public Builder setDomainNameBytes( 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 creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2242,14 +2542,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2260,17 +2563,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2282,11 +2589,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2300,48 +2611,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2349,39 +2676,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -2397,14 +2743,17 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -2415,17 +2764,21 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -2437,11 +2790,15 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -2455,48 +2812,64 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -2504,51 +2877,75 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.Registration.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 state of the `Registration`
      * 
* - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.Registration.State result = com.google.cloud.domains.v1alpha2.Registration.State.valueOf(state_); - return result == null ? com.google.cloud.domains.v1alpha2.Registration.State.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.Registration.State result = + com.google.cloud.domains.v1alpha2.Registration.State.valueOf(state_); + return result == null + ? com.google.cloud.domains.v1alpha2.Registration.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2556,28 +2953,33 @@ public Builder setState(com.google.cloud.domains.v1alpha2.Registration.State val if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private java.util.List issues_ = - java.util.Collections.emptyList(); + private java.util.List issues_ = java.util.Collections.emptyList(); + private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); @@ -2585,34 +2987,50 @@ private void ensureIssuesIsMutable() { } } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the issues. */ public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue>(issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.Registration.Issue>( + issues_, issues_converter_); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of issues. */ public int getIssuesCount() { return issues_.size(); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The issues at the given index. */ @@ -2620,11 +3038,16 @@ public com.google.cloud.domains.v1alpha2.Registration.Issue getIssues(int index) return issues_converter_.convert(issues_.get(index)); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The issues to set. * @return This builder for chaining. @@ -2640,11 +3063,16 @@ public Builder setIssues( return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The issues to add. * @return This builder for chaining. */ @@ -2658,11 +3086,16 @@ public Builder addIssues(com.google.cloud.domains.v1alpha2.Registration.Issue va return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The issues to add. * @return This builder for chaining. */ @@ -2676,11 +3109,16 @@ public Builder addAllIssues( return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearIssues() { @@ -2690,23 +3128,32 @@ public Builder clearIssues() { return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for issues. */ - public java.util.List - getIssuesValueList() { + public java.util.List getIssuesValueList() { return java.util.Collections.unmodifiableList(issues_); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -2714,28 +3161,37 @@ public int getIssuesValue(int index) { return issues_.get(index); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. * @return This builder for chaining. */ - public Builder setIssuesValue( - int index, int value) { + public Builder setIssuesValue(int index, int value) { ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for issues to add. * @return This builder for chaining. */ @@ -2746,16 +3202,20 @@ public Builder addIssuesValue(int value) { return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for issues to add. * @return This builder for chaining. */ - public Builder addAllIssuesValue( - java.lang.Iterable values) { + public Builder addAllIssuesValue(java.lang.Iterable values) { ensureIssuesIsMutable(); for (int value : values) { issues_.add(value); @@ -2764,22 +3224,21 @@ public Builder addAllIssuesValue( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2791,28 +3250,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - @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(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2820,11 +3281,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2832,16 +3294,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2849,12 +3312,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 9; */ @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(); } @@ -2862,71 +3324,73 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private com.google.cloud.domains.v1alpha2.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> managementSettingsBuilder_; + com.google.cloud.domains.v1alpha2.ManagementSettings, + com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, + com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> + managementSettingsBuilder_; /** + * + * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2935,12 +3399,15 @@ public Builder putAllLabels(
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** + * + * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2949,16 +3416,21 @@ public boolean hasManagementSettings() {
      * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; + * * @return The managementSettings. */ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() + : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2968,7 +3440,8 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSetting
      *
      * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
      */
-    public Builder setManagementSettings(com.google.cloud.domains.v1alpha2.ManagementSettings value) {
+    public Builder setManagementSettings(
+        com.google.cloud.domains.v1alpha2.ManagementSettings value) {
       if (managementSettingsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2982,6 +3455,8 @@ public Builder setManagementSettings(com.google.cloud.domains.v1alpha2.Managemen
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3003,6 +3478,8 @@ public Builder setManagementSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3012,11 +3489,14 @@ public Builder setManagementSettings(
      *
      * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
      */
-    public Builder mergeManagementSettings(com.google.cloud.domains.v1alpha2.ManagementSettings value) {
+    public Builder mergeManagementSettings(
+        com.google.cloud.domains.v1alpha2.ManagementSettings value) {
       if (managementSettingsBuilder_ == null) {
         if (managementSettings_ != null) {
           managementSettings_ =
-            com.google.cloud.domains.v1alpha2.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial();
+              com.google.cloud.domains.v1alpha2.ManagementSettings.newBuilder(managementSettings_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           managementSettings_ = value;
         }
@@ -3028,6 +3508,8 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1alpha2.Managem
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3049,6 +3531,8 @@ public Builder clearManagementSettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3058,12 +3542,15 @@ public Builder clearManagementSettings() {
      *
      * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
      */
-    public com.google.cloud.domains.v1alpha2.ManagementSettings.Builder getManagementSettingsBuilder() {
-      
+    public com.google.cloud.domains.v1alpha2.ManagementSettings.Builder
+        getManagementSettingsBuilder() {
+
       onChanged();
       return getManagementSettingsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3073,15 +3560,19 @@ public com.google.cloud.domains.v1alpha2.ManagementSettings.Builder getManagemen
      *
      * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
      */
-    public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() {
+    public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder
+        getManagementSettingsOrBuilder() {
       if (managementSettingsBuilder_ != null) {
         return managementSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return managementSettings_ == null ?
-            com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance() : managementSettings_;
+        return managementSettings_ == null
+            ? com.google.cloud.domains.v1alpha2.ManagementSettings.getDefaultInstance()
+            : managementSettings_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3092,14 +3583,17 @@ public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManageme
      * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder> 
+            com.google.cloud.domains.v1alpha2.ManagementSettings,
+            com.google.cloud.domains.v1alpha2.ManagementSettings.Builder,
+            com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder>
         getManagementSettingsFieldBuilder() {
       if (managementSettingsBuilder_ == null) {
-        managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1alpha2.ManagementSettings, com.google.cloud.domains.v1alpha2.ManagementSettings.Builder, com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder>(
-                getManagementSettings(),
-                getParentForChildren(),
-                isClean());
+        managementSettingsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.domains.v1alpha2.ManagementSettings,
+                com.google.cloud.domains.v1alpha2.ManagementSettings.Builder,
+                com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder>(
+                getManagementSettings(), getParentForChildren(), isClean());
         managementSettings_ = null;
       }
       return managementSettingsBuilder_;
@@ -3107,8 +3601,13 @@ public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManageme
 
     private com.google.cloud.domains.v1alpha2.DnsSettings dnsSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> dnsSettingsBuilder_;
+            com.google.cloud.domains.v1alpha2.DnsSettings,
+            com.google.cloud.domains.v1alpha2.DnsSettings.Builder,
+            com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>
+        dnsSettingsBuilder_;
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3116,12 +3615,15 @@ public com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManageme
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; + * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** + * + * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3129,16 +3631,21 @@ public boolean hasDnsSettings() {
      * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; + * * @return The dnsSettings. */ public com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() + : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3161,6 +3668,8 @@ public Builder setDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3181,6 +3690,8 @@ public Builder setDnsSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3193,7 +3704,9 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings va
       if (dnsSettingsBuilder_ == null) {
         if (dnsSettings_ != null) {
           dnsSettings_ =
-            com.google.cloud.domains.v1alpha2.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial();
+              com.google.cloud.domains.v1alpha2.DnsSettings.newBuilder(dnsSettings_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dnsSettings_ = value;
         }
@@ -3205,6 +3718,8 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings va
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3225,6 +3740,8 @@ public Builder clearDnsSettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3234,11 +3751,13 @@ public Builder clearDnsSettings() {
      * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11;
      */
     public com.google.cloud.domains.v1alpha2.DnsSettings.Builder getDnsSettingsBuilder() {
-      
+
       onChanged();
       return getDnsSettingsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3251,11 +3770,14 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
       if (dnsSettingsBuilder_ != null) {
         return dnsSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return dnsSettings_ == null ?
-            com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance() : dnsSettings_;
+        return dnsSettings_ == null
+            ? com.google.cloud.domains.v1alpha2.DnsSettings.getDefaultInstance()
+            : dnsSettings_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3265,14 +3787,17 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
      * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder> 
+            com.google.cloud.domains.v1alpha2.DnsSettings,
+            com.google.cloud.domains.v1alpha2.DnsSettings.Builder,
+            com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>
         getDnsSettingsFieldBuilder() {
       if (dnsSettingsBuilder_ == null) {
-        dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1alpha2.DnsSettings, com.google.cloud.domains.v1alpha2.DnsSettings.Builder, com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>(
-                getDnsSettings(),
-                getParentForChildren(),
-                isClean());
+        dnsSettingsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.domains.v1alpha2.DnsSettings,
+                com.google.cloud.domains.v1alpha2.DnsSettings.Builder,
+                com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder>(
+                getDnsSettings(), getParentForChildren(), isClean());
         dnsSettings_ = null;
       }
       return dnsSettingsBuilder_;
@@ -3280,45 +3805,64 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
 
     private com.google.cloud.domains.v1alpha2.ContactSettings contactSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> contactSettingsBuilder_;
+            com.google.cloud.domains.v1alpha2.ContactSettings,
+            com.google.cloud.domains.v1alpha2.ContactSettings.Builder,
+            com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>
+        contactSettingsBuilder_;
     /**
+     *
+     *
      * 
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contactSettings. */ public com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() + : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setContactSettings(com.google.cloud.domains.v1alpha2.ContactSettings value) { if (contactSettingsBuilder_ == null) { @@ -3334,13 +3878,17 @@ public Builder setContactSettings(com.google.cloud.domains.v1alpha2.ContactSetti return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setContactSettings( com.google.cloud.domains.v1alpha2.ContactSettings.Builder builderForValue) { @@ -3354,19 +3902,25 @@ public Builder setContactSettings( return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeContactSettings(com.google.cloud.domains.v1alpha2.ContactSettings value) { if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(contactSettings_) + .mergeFrom(value) + .buildPartial(); } else { contactSettings_ = value; } @@ -3378,13 +3932,17 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1alpha2.ContactSet return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearContactSettings() { if (contactSettingsBuilder_ == null) { @@ -3398,54 +3956,71 @@ public Builder clearContactSettings() { return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder + getContactSettingsOrBuilder() { if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null ? - com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() + : contactSettings_; } } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings, + com.google.cloud.domains.v1alpha2.ContactSettings.Builder, + com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( - getContactSettings(), - getParentForChildren(), - isClean()); + contactSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings, + com.google.cloud.domains.v1alpha2.ContactSettings.Builder, + com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( + getContactSettings(), getParentForChildren(), isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -3453,8 +4028,13 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSett private com.google.cloud.domains.v1alpha2.ContactSettings pendingContactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> pendingContactSettingsBuilder_; + com.google.cloud.domains.v1alpha2.ContactSettings, + com.google.cloud.domains.v1alpha2.ContactSettings.Builder, + com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> + pendingContactSettingsBuilder_; /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3465,13 +4045,18 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSett
      * email they receive.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the pendingContactSettings field is set. */ public boolean hasPendingContactSettings() { return pendingContactSettingsBuilder_ != null || pendingContactSettings_ != null; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3482,17 +4067,24 @@ public boolean hasPendingContactSettings() {
      * email they receive.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pendingContactSettings. */ public com.google.cloud.domains.v1alpha2.ContactSettings getPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { - return pendingContactSettings_ == null ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : pendingContactSettings_; + return pendingContactSettings_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() + : pendingContactSettings_; } else { return pendingContactSettingsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3503,9 +4095,12 @@ public com.google.cloud.domains.v1alpha2.ContactSettings getPendingContactSettin
      * email they receive.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPendingContactSettings(com.google.cloud.domains.v1alpha2.ContactSettings value) { + public Builder setPendingContactSettings( + com.google.cloud.domains.v1alpha2.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3519,6 +4114,8 @@ public Builder setPendingContactSettings(com.google.cloud.domains.v1alpha2.Conta return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3529,7 +4126,9 @@ public Builder setPendingContactSettings(com.google.cloud.domains.v1alpha2.Conta
      * email they receive.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPendingContactSettings( com.google.cloud.domains.v1alpha2.ContactSettings.Builder builderForValue) { @@ -3543,6 +4142,8 @@ public Builder setPendingContactSettings( return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3553,13 +4154,18 @@ public Builder setPendingContactSettings(
      * email they receive.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergePendingContactSettings(com.google.cloud.domains.v1alpha2.ContactSettings value) { + public Builder mergePendingContactSettings( + com.google.cloud.domains.v1alpha2.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { if (pendingContactSettings_ != null) { pendingContactSettings_ = - com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(pendingContactSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.ContactSettings.newBuilder(pendingContactSettings_) + .mergeFrom(value) + .buildPartial(); } else { pendingContactSettings_ = value; } @@ -3571,6 +4177,8 @@ public Builder mergePendingContactSettings(com.google.cloud.domains.v1alpha2.Con return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3581,7 +4189,9 @@ public Builder mergePendingContactSettings(com.google.cloud.domains.v1alpha2.Con
      * email they receive.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { @@ -3595,6 +4205,8 @@ public Builder clearPendingContactSettings() { return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3605,14 +4217,19 @@ public Builder clearPendingContactSettings() {
      * email they receive.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getPendingContactSettingsBuilder() { - + public com.google.cloud.domains.v1alpha2.ContactSettings.Builder + getPendingContactSettingsBuilder() { + onChanged(); return getPendingContactSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3623,17 +4240,23 @@ public com.google.cloud.domains.v1alpha2.ContactSettings.Builder getPendingConta
      * email they receive.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { + public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder + getPendingContactSettingsOrBuilder() { if (pendingContactSettingsBuilder_ != null) { return pendingContactSettingsBuilder_.getMessageOrBuilder(); } else { - return pendingContactSettings_ == null ? - com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() : pendingContactSettings_; + return pendingContactSettings_ == null + ? com.google.cloud.domains.v1alpha2.ContactSettings.getDefaultInstance() + : pendingContactSettings_; } } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3644,24 +4267,29 @@ public com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getPendingCont
      * email they receive.
      * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> + com.google.cloud.domains.v1alpha2.ContactSettings, + com.google.cloud.domains.v1alpha2.ContactSettings.Builder, + com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder> getPendingContactSettingsFieldBuilder() { if (pendingContactSettingsBuilder_ == null) { - pendingContactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.ContactSettings, com.google.cloud.domains.v1alpha2.ContactSettings.Builder, com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( - getPendingContactSettings(), - getParentForChildren(), - isClean()); + pendingContactSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.ContactSettings, + com.google.cloud.domains.v1alpha2.ContactSettings.Builder, + com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder>( + getPendingContactSettings(), getParentForChildren(), isClean()); pendingContactSettings_ = null; } return pendingContactSettingsBuilder_; } - private java.util.List supportedPrivacy_ = - java.util.Collections.emptyList(); + private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); + private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -3669,37 +4297,54 @@ private void ensureSupportedPrivacyIsMutable() { } } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the supportedPrivacy. */ - public java.util.List getSupportedPrivacyList() { + public java.util.List + getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -3707,12 +4352,17 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -3728,12 +4378,17 @@ public Builder setSupportedPrivacy( return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -3747,12 +4402,17 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1alpha2.ContactPriv return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -3766,12 +4426,17 @@ public Builder addAllSupportedPrivacy( return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -3781,25 +4446,34 @@ public Builder clearSupportedPrivacy() { return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -3807,30 +4481,39 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue( - int index, int value) { + public Builder setSupportedPrivacyValue(int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -3841,17 +4524,21 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue( - java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -3859,9 +4546,9 @@ public Builder addAllSupportedPrivacyValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3871,12 +4558,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.Registration) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.Registration) private static final com.google.cloud.domains.v1alpha2.Registration DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.Registration(); } @@ -3885,16 +4572,16 @@ public static com.google.cloud.domains.v1alpha2.Registration getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Registration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Registration(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Registration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Registration(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3909,6 +4596,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.Registration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationName.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationName.java similarity index 100% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationName.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationName.java diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java similarity index 71% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java index 420a623b..fe6f06bc 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RegistrationOrBuilder.java @@ -1,177 +1,265 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RegistrationOrBuilder extends +public interface RegistrationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.Registration) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** + * + * *
    * Output only. The state of the `Registration`
    * 
* - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the `Registration`
    * 
* - * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.domains.v1alpha2.Registration.State getState(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the issues. */ java.util.List getIssuesList(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of issues. */ int getIssuesCount(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The issues at the given index. */ com.google.cloud.domains.v1alpha2.Registration.Issue getIssues(int index); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for issues. */ - java.util.List - getIssuesValueList(); + java.util.List getIssuesValueList(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ int getIssuesValue(int index); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -180,30 +268,31 @@ public interface RegistrationOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - 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(); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -212,22 +301,24 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -236,10 +327,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -248,10 +342,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; + * * @return The managementSettings. */ com.google.cloud.domains.v1alpha2.ManagementSettings getManagementSettings(); /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -264,6 +361,8 @@ java.lang.String getLabelsOrThrow(
   com.google.cloud.domains.v1alpha2.ManagementSettingsOrBuilder getManagementSettingsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -271,10 +370,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; + * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -282,10 +384,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 11; + * * @return The dnsSettings. */ com.google.cloud.domains.v1alpha2.DnsSettings getDnsSettings(); /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -297,39 +402,55 @@ java.lang.String getLabelsOrThrow(
   com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contactSettings. */ com.google.cloud.domains.v1alpha2.ContactSettings getContactSettings(); /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -340,11 +461,16 @@ java.lang.String getLabelsOrThrow(
    * email they receive.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the pendingContactSettings field is set. */ boolean hasPendingContactSettings(); /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -355,11 +481,16 @@ java.lang.String getLabelsOrThrow(
    * email they receive.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pendingContactSettings. */ com.google.cloud.domains.v1alpha2.ContactSettings getPendingContactSettings(); /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -370,59 +501,85 @@ java.lang.String getLabelsOrThrow(
    * email they receive.
    * 
* - * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1alpha2.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.domains.v1alpha2.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int index); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List - getSupportedPrivacyValueList(); + java.util.List getSupportedPrivacyValueList(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java similarity index 63% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java index 512ba272..c2b60926 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `ResetAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest} */ -public final class ResetAuthorizationCodeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResetAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) ResetAuthorizationCodeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResetAuthorizationCodeRequest.newBuilder() to construct. private ResetAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResetAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResetAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResetAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResetAuthorizationCodeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + registration_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResetAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getRegistration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -178,15 +205,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.domains.v1alpha2.ResetAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest other = (com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest other = + (com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ResetAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.class, + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.getDefaultInstance(); } @@ -364,7 +401,8 @@ public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest result = new com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest(this); + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest result = + new com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -374,46 +412,50 @@ public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest other) { - if (other == com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest other) { + if (other + == com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -437,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +493,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -470,21 +518,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -492,64 +543,77 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -559,30 +623,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) - private static final com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest(); } - public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResetAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +660,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..f869f012 --- /dev/null +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/ResetAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1alpha2/domains.proto + +package com.google.cloud.domains.v1alpha2; + +public interface ResetAuthorizationCodeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The registration. + */ + java.lang.String getRegistration(); + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for registration. + */ + com.google.protobuf.ByteString getRegistrationBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java similarity index 61% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java index 45f13252..cdf89f5b 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `RetrieveAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest} */ -public final class RetrieveAuthorizationCodeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) RetrieveAuthorizationCodeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveAuthorizationCodeRequest.newBuilder() to construct. - private RetrieveAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveAuthorizationCodeRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetrieveAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private RetrieveAuthorizationCodeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + registration_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +92,42 @@ private RetrieveAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -110,30 +136,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -142,6 +170,7 @@ public java.lang.String getRegistration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -178,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.domains.v1alpha2.RetrieveAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest other = (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest other = + (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +234,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest 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.domains.v1alpha2.RetrieveAuthorizationCodeRequest + 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.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.class, + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.Builder.class); } - // Construct using com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.newBuilder() + // Construct using + // com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,14 +382,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest + getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest + .getDefaultInstance(); } @java.lang.Override @@ -364,7 +405,8 @@ public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest build( @java.lang.Override public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest result = new com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest(this); + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest result = + new com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -374,46 +416,51 @@ public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest)other); + return mergeFrom( + (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest other) { - if (other == com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest other) { + if (other + == com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest + .getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -437,7 +484,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +498,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -470,21 +523,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -492,64 +548,77 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -559,30 +628,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) - private static final com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest(); } - public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +665,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..f6c35c6f --- /dev/null +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1alpha2/domains.proto + +package com.google.cloud.domains.v1alpha2; + +public interface RetrieveAuthorizationCodeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The registration. + */ + java.lang.String getRegistration(); + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for registration. + */ + com.google.protobuf.ByteString getRegistrationBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java similarity index 63% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java index c0487534..89558c7e 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest} */ -public final class RetrieveRegisterParametersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveRegisterParametersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) RetrieveRegisterParametersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersRequest.newBuilder() to construct. - private RetrieveRegisterParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetrieveRegisterParametersRequest() { domainName_ = ""; location_ = ""; @@ -26,16 +45,15 @@ private RetrieveRegisterParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveRegisterParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveRegisterParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +72,27 @@ private RetrieveRegisterParametersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,39 @@ private RetrieveRegisterParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ @java.lang.Override @@ -116,29 +141,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -149,11 +174,16 @@ public java.lang.String getDomainName() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -162,29 +192,31 @@ 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; } } /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -193,6 +225,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -235,17 +267,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.domains.v1alpha2.RetrieveRegisterParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest other = (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) obj; + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest other = + (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,134 +298,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest 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.domains.v1alpha2.RetrieveRegisterParametersRequest + 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.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.class, + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.Builder.class); } - // Construct using com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.newBuilder() + // Construct using + // com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,14 +448,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest + getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest + .getDefaultInstance(); } @java.lang.Override @@ -427,7 +471,8 @@ public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest build @java.lang.Override public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest buildPartial() { - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest result = new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest(this); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest result = + new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -438,46 +483,51 @@ public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest)other); + return mergeFrom( + (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest other) { - if (other == com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest other) { + if (other + == com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest + .getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -505,7 +555,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +569,20 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -537,20 +591,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -558,54 +613,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -613,18 +675,22 @@ public Builder setDomainNameBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -633,20 +699,23 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -654,61 +723,74 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,30 +800,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) - private static final com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest(); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,9 +837,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java index 67c4ce9c..7db3f746 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersRequestOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RetrieveRegisterParametersRequestOrBuilder extends +public interface RetrieveRegisterParametersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveRegisterParametersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java similarity index 64% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java index e350b49d..aa5a181a 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponse.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Response for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse} */ -public final class RetrieveRegisterParametersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveRegisterParametersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) RetrieveRegisterParametersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersResponse.newBuilder() to construct. - private RetrieveRegisterParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveRegisterParametersResponse() { - } + + private RetrieveRegisterParametersResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveRegisterParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveRegisterParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +69,30 @@ private RetrieveRegisterParametersResponse( case 0: done = true; break; - case 10: { - com.google.cloud.domains.v1alpha2.RegisterParameters.Builder subBuilder = null; - if (registerParameters_ != null) { - subBuilder = registerParameters_.toBuilder(); + case 10: + { + com.google.cloud.domains.v1alpha2.RegisterParameters.Builder subBuilder = null; + if (registerParameters_ != null) { + subBuilder = registerParameters_.toBuilder(); + } + registerParameters_ = + input.readMessage( + com.google.cloud.domains.v1alpha2.RegisterParameters.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registerParameters_); + registerParameters_ = subBuilder.buildPartial(); + } + + break; } - registerParameters_ = input.readMessage(com.google.cloud.domains.v1alpha2.RegisterParameters.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registerParameters_); - registerParameters_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +100,39 @@ private RetrieveRegisterParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1alpha2.RegisterParameters registerParameters_; /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * * @return Whether the registerParameters field is set. */ @java.lang.Override @@ -114,18 +140,25 @@ public boolean hasRegisterParameters() { return registerParameters_ != null; } /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * * @return The registerParameters. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters() { - return registerParameters_ == null ? com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() : registerParameters_; + return registerParameters_ == null + ? com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() + : registerParameters_; } /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
@@ -133,11 +166,13 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameter * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegisterParametersOrBuilder() { + public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder + getRegisterParametersOrBuilder() { return getRegisterParameters(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (registerParameters_ != null) { output.writeMessage(1, getRegisterParameters()); } @@ -164,8 +198,7 @@ public int getSerializedSize() { size = 0; if (registerParameters_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRegisterParameters()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegisterParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse other = (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) obj; + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse other = + (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) obj; if (hasRegisterParameters() != other.hasRegisterParameters()) return false; if (hasRegisterParameters()) { - if (!getRegisterParameters() - .equals(other.getRegisterParameters())) return false; + if (!getRegisterParameters().equals(other.getRegisterParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,134 +241,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse 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.domains.v1alpha2.RetrieveRegisterParametersResponse + 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.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.class, + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.Builder.class); } - // Construct using com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.newBuilder() + // Construct using + // com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,14 +393,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse + getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse + .getDefaultInstance(); } @java.lang.Override @@ -370,7 +416,8 @@ public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse buil @java.lang.Override public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse buildPartial() { - com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse result = new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse(this); + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse result = + new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse(this); if (registerParametersBuilder_ == null) { result.registerParameters_ = registerParameters_; } else { @@ -384,46 +431,51 @@ public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) { - return mergeFrom((com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse)other); + return mergeFrom( + (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse other) { - if (other == com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse other) { + if (other + == com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse + .getDefaultInstance()) return this; if (other.hasRegisterParameters()) { mergeRegisterParameters(other.getRegisterParameters()); } @@ -446,7 +498,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,41 +512,55 @@ public Builder mergeFrom( private com.google.cloud.domains.v1alpha2.RegisterParameters registerParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> registerParametersBuilder_; + com.google.cloud.domains.v1alpha2.RegisterParameters, + com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, + com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> + registerParametersBuilder_; /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * * @return Whether the registerParameters field is set. */ public boolean hasRegisterParameters() { return registerParametersBuilder_ != null || registerParameters_ != null; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * * @return The registerParameters. */ public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters() { if (registerParametersBuilder_ == null) { - return registerParameters_ == null ? com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() : registerParameters_; + return registerParameters_ == null + ? com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() + : registerParameters_; } else { return registerParametersBuilder_.getMessage(); } } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public Builder setRegisterParameters(com.google.cloud.domains.v1alpha2.RegisterParameters value) { + public Builder setRegisterParameters( + com.google.cloud.domains.v1alpha2.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -506,6 +574,8 @@ public Builder setRegisterParameters(com.google.cloud.domains.v1alpha2.RegisterP return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -524,17 +594,22 @@ public Builder setRegisterParameters( return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public Builder mergeRegisterParameters(com.google.cloud.domains.v1alpha2.RegisterParameters value) { + public Builder mergeRegisterParameters( + com.google.cloud.domains.v1alpha2.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (registerParameters_ != null) { registerParameters_ = - com.google.cloud.domains.v1alpha2.RegisterParameters.newBuilder(registerParameters_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.RegisterParameters.newBuilder(registerParameters_) + .mergeFrom(value) + .buildPartial(); } else { registerParameters_ = value; } @@ -546,6 +621,8 @@ public Builder mergeRegisterParameters(com.google.cloud.domains.v1alpha2.Registe return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -564,33 +641,42 @@ public Builder clearRegisterParameters() { return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder getRegisterParametersBuilder() { - + public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder + getRegisterParametersBuilder() { + onChanged(); return getRegisterParametersFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegisterParametersOrBuilder() { + public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder + getRegisterParametersOrBuilder() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilder(); } else { - return registerParameters_ == null ? - com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() : registerParameters_; + return registerParameters_ == null + ? com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance() + : registerParameters_; } } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -598,21 +684,24 @@ public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegister * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> + com.google.cloud.domains.v1alpha2.RegisterParameters, + com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, + com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder>( - getRegisterParameters(), - getParentForChildren(), - isClean()); + registerParametersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.RegisterParameters, + com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, + com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder>( + getRegisterParameters(), getParentForChildren(), isClean()); registerParameters_ = null; } return registerParametersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -622,30 +711,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) - private static final com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse(); } - public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,9 +748,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java index ecceec31..fafced7b 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveRegisterParametersResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RetrieveRegisterParametersResponseOrBuilder extends +public interface RetrieveRegisterParametersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * * @return Whether the registerParameters field is set. */ boolean hasRegisterParameters(); /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * * @return The registerParameters. */ com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters(); /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java similarity index 63% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java index 2041e487..17385585 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest} */ -public final class RetrieveTransferParametersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveTransferParametersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) RetrieveTransferParametersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersRequest.newBuilder() to construct. - private RetrieveTransferParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetrieveTransferParametersRequest() { domainName_ = ""; location_ = ""; @@ -26,16 +45,15 @@ private RetrieveTransferParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveTransferParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveTransferParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +72,27 @@ private RetrieveTransferParametersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,39 @@ private RetrieveTransferParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ @java.lang.Override @@ -116,29 +141,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -149,11 +174,16 @@ public java.lang.String getDomainName() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -162,29 +192,31 @@ 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; } } /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -193,6 +225,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -235,17 +267,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.domains.v1alpha2.RetrieveTransferParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest other = (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) obj; + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest other = + (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,134 +298,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest 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.domains.v1alpha2.RetrieveTransferParametersRequest + 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.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.class, + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.Builder.class); } - // Construct using com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.newBuilder() + // Construct using + // com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,14 +448,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest + getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest + .getDefaultInstance(); } @java.lang.Override @@ -427,7 +471,8 @@ public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest build @java.lang.Override public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest buildPartial() { - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest result = new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest(this); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest result = + new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -438,46 +483,51 @@ public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest)other); + return mergeFrom( + (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest other) { - if (other == com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest other) { + if (other + == com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest + .getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -505,7 +555,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +569,20 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -537,20 +591,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -558,54 +613,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -613,18 +675,22 @@ public Builder setDomainNameBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -633,20 +699,23 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -654,61 +723,74 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,30 +800,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) - private static final com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest(); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,9 +837,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java index 42b367c8..c5fe266b 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersRequestOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RetrieveTransferParametersRequestOrBuilder extends +public interface RetrieveTransferParametersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveTransferParametersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java similarity index 64% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java index 1311f00a..932870b1 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponse.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Response for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse} */ -public final class RetrieveTransferParametersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveTransferParametersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) RetrieveTransferParametersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersResponse.newBuilder() to construct. - private RetrieveTransferParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveTransferParametersResponse() { - } + + private RetrieveTransferParametersResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveTransferParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveTransferParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +69,30 @@ private RetrieveTransferParametersResponse( case 0: done = true; break; - case 10: { - com.google.cloud.domains.v1alpha2.TransferParameters.Builder subBuilder = null; - if (transferParameters_ != null) { - subBuilder = transferParameters_.toBuilder(); + case 10: + { + com.google.cloud.domains.v1alpha2.TransferParameters.Builder subBuilder = null; + if (transferParameters_ != null) { + subBuilder = transferParameters_.toBuilder(); + } + transferParameters_ = + input.readMessage( + com.google.cloud.domains.v1alpha2.TransferParameters.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferParameters_); + transferParameters_ = subBuilder.buildPartial(); + } + + break; } - transferParameters_ = input.readMessage(com.google.cloud.domains.v1alpha2.TransferParameters.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferParameters_); - transferParameters_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +100,39 @@ private RetrieveTransferParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.Builder.class); } public static final int TRANSFER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1alpha2.TransferParameters transferParameters_; /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; + * * @return Whether the transferParameters field is set. */ @java.lang.Override @@ -114,18 +140,25 @@ public boolean hasTransferParameters() { return transferParameters_ != null; } /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; + * * @return The transferParameters. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferParameters getTransferParameters() { - return transferParameters_ == null ? com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() : transferParameters_; + return transferParameters_ == null + ? com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() + : transferParameters_; } /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
@@ -133,11 +166,13 @@ public com.google.cloud.domains.v1alpha2.TransferParameters getTransferParameter * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder getTransferParametersOrBuilder() { + public com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder + getTransferParametersOrBuilder() { return getTransferParameters(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (transferParameters_ != null) { output.writeMessage(1, getTransferParameters()); } @@ -164,8 +198,7 @@ public int getSerializedSize() { size = 0; if (transferParameters_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTransferParameters()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse other = (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) obj; + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse other = + (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) obj; if (hasTransferParameters() != other.hasTransferParameters()) return false; if (hasTransferParameters()) { - if (!getTransferParameters() - .equals(other.getTransferParameters())) return false; + if (!getTransferParameters().equals(other.getTransferParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,134 +241,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse 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.domains.v1alpha2.RetrieveTransferParametersResponse + 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.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.class, + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.Builder.class); } - // Construct using com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.newBuilder() + // Construct using + // com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,14 +393,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse getDefaultInstanceForType() { - return com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.getDefaultInstance(); + public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse + getDefaultInstanceForType() { + return com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse + .getDefaultInstance(); } @java.lang.Override @@ -370,7 +416,8 @@ public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse buil @java.lang.Override public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse buildPartial() { - com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse result = new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse(this); + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse result = + new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse(this); if (transferParametersBuilder_ == null) { result.transferParameters_ = transferParameters_; } else { @@ -384,46 +431,51 @@ public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) { - return mergeFrom((com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse)other); + return mergeFrom( + (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse other) { - if (other == com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse other) { + if (other + == com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse + .getDefaultInstance()) return this; if (other.hasTransferParameters()) { mergeTransferParameters(other.getTransferParameters()); } @@ -446,7 +498,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,41 +512,55 @@ public Builder mergeFrom( private com.google.cloud.domains.v1alpha2.TransferParameters transferParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.TransferParameters, com.google.cloud.domains.v1alpha2.TransferParameters.Builder, com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder> transferParametersBuilder_; + com.google.cloud.domains.v1alpha2.TransferParameters, + com.google.cloud.domains.v1alpha2.TransferParameters.Builder, + com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder> + transferParametersBuilder_; /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; + * * @return Whether the transferParameters field is set. */ public boolean hasTransferParameters() { return transferParametersBuilder_ != null || transferParameters_ != null; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; + * * @return The transferParameters. */ public com.google.cloud.domains.v1alpha2.TransferParameters getTransferParameters() { if (transferParametersBuilder_ == null) { - return transferParameters_ == null ? com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() : transferParameters_; + return transferParameters_ == null + ? com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() + : transferParameters_; } else { return transferParametersBuilder_.getMessage(); } } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ - public Builder setTransferParameters(com.google.cloud.domains.v1alpha2.TransferParameters value) { + public Builder setTransferParameters( + com.google.cloud.domains.v1alpha2.TransferParameters value) { if (transferParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -506,6 +574,8 @@ public Builder setTransferParameters(com.google.cloud.domains.v1alpha2.TransferP return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -524,17 +594,22 @@ public Builder setTransferParameters( return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ - public Builder mergeTransferParameters(com.google.cloud.domains.v1alpha2.TransferParameters value) { + public Builder mergeTransferParameters( + com.google.cloud.domains.v1alpha2.TransferParameters value) { if (transferParametersBuilder_ == null) { if (transferParameters_ != null) { transferParameters_ = - com.google.cloud.domains.v1alpha2.TransferParameters.newBuilder(transferParameters_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.TransferParameters.newBuilder(transferParameters_) + .mergeFrom(value) + .buildPartial(); } else { transferParameters_ = value; } @@ -546,6 +621,8 @@ public Builder mergeTransferParameters(com.google.cloud.domains.v1alpha2.Transfe return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -564,33 +641,42 @@ public Builder clearTransferParameters() { return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.TransferParameters.Builder getTransferParametersBuilder() { - + public com.google.cloud.domains.v1alpha2.TransferParameters.Builder + getTransferParametersBuilder() { + onChanged(); return getTransferParametersFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ - public com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder getTransferParametersOrBuilder() { + public com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder + getTransferParametersOrBuilder() { if (transferParametersBuilder_ != null) { return transferParametersBuilder_.getMessageOrBuilder(); } else { - return transferParameters_ == null ? - com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() : transferParameters_; + return transferParameters_ == null + ? com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance() + : transferParameters_; } } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -598,21 +684,24 @@ public com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder getTransfer * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.TransferParameters, com.google.cloud.domains.v1alpha2.TransferParameters.Builder, com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder> + com.google.cloud.domains.v1alpha2.TransferParameters, + com.google.cloud.domains.v1alpha2.TransferParameters.Builder, + com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder> getTransferParametersFieldBuilder() { if (transferParametersBuilder_ == null) { - transferParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.TransferParameters, com.google.cloud.domains.v1alpha2.TransferParameters.Builder, com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder>( - getTransferParameters(), - getParentForChildren(), - isClean()); + transferParametersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.TransferParameters, + com.google.cloud.domains.v1alpha2.TransferParameters.Builder, + com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder>( + getTransferParameters(), getParentForChildren(), isClean()); transferParameters_ = null; } return transferParametersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -622,30 +711,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) - private static final com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse(); } - public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse getDefaultInstance() { + public static com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,9 +748,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse getDefaultInstanceForType() { + public com.google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java index 50be16b9..b80b8f3c 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/RetrieveTransferParametersResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface RetrieveTransferParametersResponseOrBuilder extends +public interface RetrieveTransferParametersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; + * * @return Whether the transferParameters field is set. */ boolean hasTransferParameters(); /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1alpha2.TransferParameters transfer_parameters = 1; + * * @return The transferParameters. */ com.google.cloud.domains.v1alpha2.TransferParameters getTransferParameters(); /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java index a383eb35..5018f3a6 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.SearchDomainsRequest} */ -public final class SearchDomainsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchDomainsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.SearchDomainsRequest) SearchDomainsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchDomainsRequest.newBuilder() to construct. private SearchDomainsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchDomainsRequest() { query_ = ""; location_ = ""; @@ -26,16 +44,15 @@ private SearchDomainsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchDomainsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchDomainsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private SearchDomainsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private SearchDomainsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, com.google.cloud.domains.v1alpha2.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, + com.google.cloud.domains.v1alpha2.SearchDomainsRequest.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -149,11 +173,16 @@ public java.lang.String getQuery() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -162,29 +191,31 @@ 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; } } /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -235,17 +266,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.domains.v1alpha2.SearchDomainsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.SearchDomainsRequest other = (com.google.cloud.domains.v1alpha2.SearchDomainsRequest) obj; + com.google.cloud.domains.v1alpha2.SearchDomainsRequest other = + (com.google.cloud.domains.v1alpha2.SearchDomainsRequest) obj; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.SearchDomainsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.SearchDomainsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.SearchDomainsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.SearchDomainsRequest) com.google.cloud.domains.v1alpha2.SearchDomainsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, com.google.cloud.domains.v1alpha2.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1alpha2.SearchDomainsRequest.class, + com.google.cloud.domains.v1alpha2.SearchDomainsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.SearchDomainsRequest.newBuilder() @@ -385,16 +425,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_SearchDomainsRequest_descriptor; } @java.lang.Override @@ -427,7 +466,8 @@ public com.google.cloud.domains.v1alpha2.SearchDomainsRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.SearchDomainsRequest buildPartial() { - com.google.cloud.domains.v1alpha2.SearchDomainsRequest result = new com.google.cloud.domains.v1alpha2.SearchDomainsRequest(this); + com.google.cloud.domains.v1alpha2.SearchDomainsRequest result = + new com.google.cloud.domains.v1alpha2.SearchDomainsRequest(this); result.query_ = query_; result.location_ = location_; onBuilt(); @@ -438,38 +478,39 @@ public com.google.cloud.domains.v1alpha2.SearchDomainsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.SearchDomainsRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.SearchDomainsRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.SearchDomainsRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +518,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.SearchDomainsRequest other) { - if (other == com.google.cloud.domains.v1alpha2.SearchDomainsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.SearchDomainsRequest.getDefaultInstance()) + return this; if (!other.getQuery().isEmpty()) { query_ = other.query_; onChanged(); @@ -505,7 +547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.SearchDomainsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.SearchDomainsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +560,20 @@ public Builder mergeFrom( private java.lang.Object query_ = ""; /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -537,20 +582,21 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -558,54 +604,61 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -613,18 +666,22 @@ public Builder setQueryBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -633,20 +690,23 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -654,61 +714,74 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.SearchDomainsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.SearchDomainsRequest) private static final com.google.cloud.domains.v1alpha2.SearchDomainsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.SearchDomainsRequest(); } @@ -732,16 +805,16 @@ public static com.google.cloud.domains.v1alpha2.SearchDomainsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +829,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.SearchDomainsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java index 1a07283a..1c8fdb6f 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsRequestOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface SearchDomainsRequestOrBuilder extends +public interface SearchDomainsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.SearchDomainsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java similarity index 70% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java index 663c1058..59468899 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Response for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.SearchDomainsResponse} */ -public final class SearchDomainsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchDomainsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.SearchDomainsResponse) SearchDomainsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchDomainsResponse.newBuilder() to construct. private SearchDomainsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchDomainsResponse() { registerParameters_ = 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 SearchDomainsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchDomainsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,26 @@ private SearchDomainsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registerParameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registerParameters_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + registerParameters_.add( + input.readMessage( + com.google.cloud.domains.v1alpha2.RegisterParameters.parser(), + extensionRegistry)); + break; } - registerParameters_.add( - input.readMessage(com.google.cloud.domains.v1alpha2.RegisterParameters.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +98,7 @@ private SearchDomainsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registerParameters_ = java.util.Collections.unmodifiableList(registerParameters_); @@ -87,80 +107,100 @@ private SearchDomainsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, com.google.cloud.domains.v1alpha2.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, + com.google.cloud.domains.v1alpha2.SearchDomainsResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private java.util.List registerParameters_; /** + * + * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ @java.lang.Override - public java.util.List getRegisterParametersList() { + public java.util.List + getRegisterParametersList() { return registerParameters_; } /** + * + * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getRegisterParametersOrBuilderList() { return registerParameters_; } /** + * + * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ @java.lang.Override public int getRegisterParametersCount() { return registerParameters_.size(); } /** + * + * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ @java.lang.Override public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters(int index) { return registerParameters_.get(index); } /** + * + * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ @java.lang.Override - public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegisterParametersOrBuilder( - int index) { + public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder + getRegisterParametersOrBuilder(int index) { return registerParameters_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +212,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < registerParameters_.size(); i++) { output.writeMessage(1, registerParameters_.get(i)); } @@ -187,8 +226,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registerParameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, registerParameters_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, registerParameters_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +237,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1alpha2.SearchDomainsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.SearchDomainsResponse other = (com.google.cloud.domains.v1alpha2.SearchDomainsResponse) obj; + com.google.cloud.domains.v1alpha2.SearchDomainsResponse other = + (com.google.cloud.domains.v1alpha2.SearchDomainsResponse) obj; - if (!getRegisterParametersList() - .equals(other.getRegisterParametersList())) return false; + if (!getRegisterParametersList().equals(other.getRegisterParametersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,117 +267,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.SearchDomainsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.SearchDomainsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.SearchDomainsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.SearchDomainsResponse) com.google.cloud.domains.v1alpha2.SearchDomainsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, com.google.cloud.domains.v1alpha2.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1alpha2.SearchDomainsResponse.class, + com.google.cloud.domains.v1alpha2.SearchDomainsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.SearchDomainsResponse.newBuilder() @@ -346,17 +395,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRegisterParametersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_SearchDomainsResponse_descriptor; } @java.lang.Override @@ -391,7 +440,8 @@ public com.google.cloud.domains.v1alpha2.SearchDomainsResponse build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.SearchDomainsResponse buildPartial() { - com.google.cloud.domains.v1alpha2.SearchDomainsResponse result = new com.google.cloud.domains.v1alpha2.SearchDomainsResponse(this); + com.google.cloud.domains.v1alpha2.SearchDomainsResponse result = + new com.google.cloud.domains.v1alpha2.SearchDomainsResponse(this); int from_bitField0_ = bitField0_; if (registerParametersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +460,39 @@ public com.google.cloud.domains.v1alpha2.SearchDomainsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.SearchDomainsResponse) { - return mergeFrom((com.google.cloud.domains.v1alpha2.SearchDomainsResponse)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.SearchDomainsResponse) other); } else { super.mergeFrom(other); return this; @@ -449,7 +500,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.SearchDomainsResponse other) { - if (other == com.google.cloud.domains.v1alpha2.SearchDomainsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.SearchDomainsResponse.getDefaultInstance()) + return this; if (registerParametersBuilder_ == null) { if (!other.registerParameters_.isEmpty()) { if (registerParameters_.isEmpty()) { @@ -468,9 +520,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1alpha2.SearchDomainsResponse registerParametersBuilder_ = null; registerParameters_ = other.registerParameters_; bitField0_ = (bitField0_ & ~0x00000001); - registerParametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRegisterParametersFieldBuilder() : null; + registerParametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRegisterParametersFieldBuilder() + : null; } else { registerParametersBuilder_.addAllMessages(other.registerParameters_); } @@ -495,7 +548,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.SearchDomainsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.SearchDomainsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,28 +558,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List registerParameters_ = - java.util.Collections.emptyList(); + private java.util.List + registerParameters_ = java.util.Collections.emptyList(); + private void ensureRegisterParametersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registerParameters_ = new java.util.ArrayList(registerParameters_); + registerParameters_ = + new java.util.ArrayList( + registerParameters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> registerParametersBuilder_; + com.google.cloud.domains.v1alpha2.RegisterParameters, + com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, + com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> + registerParametersBuilder_; /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ - public java.util.List getRegisterParametersList() { + public java.util.List + getRegisterParametersList() { if (registerParametersBuilder_ == null) { return java.util.Collections.unmodifiableList(registerParameters_); } else { @@ -533,11 +598,14 @@ public java.util.List getR } } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ public int getRegisterParametersCount() { if (registerParametersBuilder_ == null) { @@ -547,11 +615,14 @@ public int getRegisterParametersCount() { } } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters(int index) { if (registerParametersBuilder_ == null) { @@ -561,11 +632,14 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameter } } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ public Builder setRegisterParameters( int index, com.google.cloud.domains.v1alpha2.RegisterParameters value) { @@ -582,11 +656,14 @@ public Builder setRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ public Builder setRegisterParameters( int index, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder builderForValue) { @@ -600,13 +677,17 @@ public Builder setRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ - public Builder addRegisterParameters(com.google.cloud.domains.v1alpha2.RegisterParameters value) { + public Builder addRegisterParameters( + com.google.cloud.domains.v1alpha2.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,11 +701,14 @@ public Builder addRegisterParameters(com.google.cloud.domains.v1alpha2.RegisterP return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ public Builder addRegisterParameters( int index, com.google.cloud.domains.v1alpha2.RegisterParameters value) { @@ -641,11 +725,14 @@ public Builder addRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ public Builder addRegisterParameters( com.google.cloud.domains.v1alpha2.RegisterParameters.Builder builderForValue) { @@ -659,11 +746,14 @@ public Builder addRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ public Builder addRegisterParameters( int index, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder builderForValue) { @@ -677,18 +767,20 @@ public Builder addRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ public Builder addAllRegisterParameters( java.lang.Iterable values) { if (registerParametersBuilder_ == null) { ensureRegisterParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, registerParameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registerParameters_); onChanged(); } else { registerParametersBuilder_.addAllMessages(values); @@ -696,11 +788,14 @@ public Builder addAllRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ public Builder clearRegisterParameters() { if (registerParametersBuilder_ == null) { @@ -713,11 +808,14 @@ public Builder clearRegisterParameters() { return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ public Builder removeRegisterParameters(int index) { if (registerParametersBuilder_ == null) { @@ -730,39 +828,49 @@ public Builder removeRegisterParameters(int index) { return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ - public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder getRegisterParametersBuilder( - int index) { + public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder + getRegisterParametersBuilder(int index) { return getRegisterParametersFieldBuilder().getBuilder(index); } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ - public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegisterParametersOrBuilder( - int index) { + public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder + getRegisterParametersOrBuilder(int index) { if (registerParametersBuilder_ == null) { - return registerParameters_.get(index); } else { + return registerParameters_.get(index); + } else { return registerParametersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ - public java.util.List - getRegisterParametersOrBuilderList() { + public java.util.List + getRegisterParametersOrBuilderList() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilderList(); } else { @@ -770,45 +878,62 @@ public com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegister } } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ - public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder addRegisterParametersBuilder() { - return getRegisterParametersFieldBuilder().addBuilder( - com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()); + public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder + addRegisterParametersBuilder() { + return getRegisterParametersFieldBuilder() + .addBuilder(com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()); } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ - public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder addRegisterParametersBuilder( - int index) { - return getRegisterParametersFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()); + public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder + addRegisterParametersBuilder(int index) { + return getRegisterParametersFieldBuilder() + .addBuilder( + index, com.google.cloud.domains.v1alpha2.RegisterParameters.getDefaultInstance()); } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ - public java.util.List - getRegisterParametersBuilderList() { + public java.util.List + getRegisterParametersBuilderList() { return getRegisterParametersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> + com.google.cloud.domains.v1alpha2.RegisterParameters, + com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, + com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1alpha2.RegisterParameters, com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder>( + registerParametersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1alpha2.RegisterParameters, + com.google.cloud.domains.v1alpha2.RegisterParameters.Builder, + com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder>( registerParameters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -817,9 +942,9 @@ public com.google.cloud.domains.v1alpha2.RegisterParameters.Builder addRegisterP } return registerParametersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.SearchDomainsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.SearchDomainsResponse) private static final com.google.cloud.domains.v1alpha2.SearchDomainsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.SearchDomainsResponse(); } @@ -843,16 +968,16 @@ public static com.google.cloud.domains.v1alpha2.SearchDomainsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +992,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.SearchDomainsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java index 994a23aa..4654c018 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/SearchDomainsResponseOrBuilder.java @@ -1,52 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface SearchDomainsResponseOrBuilder extends +public interface SearchDomainsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.SearchDomainsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ - java.util.List - getRegisterParametersList(); + java.util.List getRegisterParametersList(); /** + * + * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ com.google.cloud.domains.v1alpha2.RegisterParameters getRegisterParameters(int index); /** + * + * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ int getRegisterParametersCount(); /** + * + * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ - java.util.List + java.util.List getRegisterParametersOrBuilderList(); /** + * + * *
    * Results of the domain name search.
    * 
* - * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1alpha2.RegisterParameters register_parameters = 1; + * */ com.google.cloud.domains.v1alpha2.RegisterParametersOrBuilder getRegisterParametersOrBuilder( int index); diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java similarity index 74% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java index a4a12b5e..00bc42d2 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `TransferDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.TransferDomainRequest} */ -public final class TransferDomainRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferDomainRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.TransferDomainRequest) TransferDomainRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferDomainRequest.newBuilder() to construct. private TransferDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferDomainRequest() { parent_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private TransferDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,86 +72,97 @@ private TransferDomainRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = input.readMessage(com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = + input.readMessage( + com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - contactNotices_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 34: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + contactNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 34: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } + + break; } + case 42: + { + com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder subBuilder = null; + if (authorizationCode_ != null) { + subBuilder = authorizationCode_.toBuilder(); + } + authorizationCode_ = + input.readMessage( + com.google.cloud.domains.v1alpha2.AuthorizationCode.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authorizationCode_); + authorizationCode_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder subBuilder = null; - if (authorizationCode_ != null) { - subBuilder = authorizationCode_.toBuilder(); + break; } - authorizationCode_ = input.readMessage(com.google.cloud.domains.v1alpha2.AuthorizationCode.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authorizationCode_); - authorizationCode_ = subBuilder.buildPartial(); + case 48: + { + validateOnly_ = input.readBool(); + break; } - - break; - } - case 48: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,8 +170,7 @@ private TransferDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -152,28 +179,36 @@ private TransferDomainRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, com.google.cloud.domains.v1alpha2.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, + com.google.cloud.domains.v1alpha2.TransferDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -182,30 +217,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -216,6 +253,8 @@ public java.lang.String getParent() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1alpha2.Registration registration_; /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -225,7 +264,10 @@ public java.lang.String getParent() {
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ @java.lang.Override @@ -233,6 +275,8 @@ public boolean hasRegistration() { return registration_ != null; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -242,14 +286,21 @@ public boolean hasRegistration() {
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.Registration getRegistration() { - return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() + : registration_; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -259,7 +310,9 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistration() {
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -269,16 +322,22 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr public static final int CONTACT_NOTICES_FIELD_NUMBER = 3; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice> + contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>() { public com.google.cloud.domains.v1alpha2.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactNotice result = com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.ContactNotice result = + com.google.cloud.domains.v1alpha2.ContactNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1alpha2.ContactNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -286,14 +345,18 @@ public com.google.cloud.domains.v1alpha2.ContactNotice convert(java.lang.Integer
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -301,6 +364,7 @@ public java.util.List getContac
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @return The count of contactNotices. */ @java.lang.Override @@ -308,6 +372,8 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -315,6 +381,7 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -323,6 +390,8 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -330,14 +399,16 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return contactNotices_; } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -345,6 +416,7 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -352,11 +424,14 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind public int getContactNoticesValue(int index) { return contactNotices_.get(index); } + private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 4; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -364,6 +439,7 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -371,6 +447,8 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -378,6 +456,7 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ @java.lang.Override @@ -385,6 +464,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -401,12 +482,15 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 5;
   private com.google.cloud.domains.v1alpha2.AuthorizationCode authorizationCode_;
   /**
+   *
+   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; + * * @return Whether the authorizationCode field is set. */ @java.lang.Override @@ -414,19 +498,26 @@ public boolean hasAuthorizationCode() { return authorizationCode_ != null; } /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; + * * @return The authorizationCode. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.AuthorizationCode getAuthorizationCode() { - return authorizationCode_ == null ? com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance() : authorizationCode_; + return authorizationCode_ == null + ? com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance() + : authorizationCode_; } /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -435,18 +526,22 @@ public com.google.cloud.domains.v1alpha2.AuthorizationCode getAuthorizationCode(
    * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder() {
+  public com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder
+      getAuthorizationCodeOrBuilder() {
     return getAuthorizationCode();
   }
 
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
+   *
+   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -455,6 +550,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,8 +562,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -504,32 +599,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getYearlyPrice()); } if (authorizationCode_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAuthorizationCode()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAuthorizationCode()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -539,33 +631,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.domains.v1alpha2.TransferDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.TransferDomainRequest other = (com.google.cloud.domains.v1alpha2.TransferDomainRequest) obj; + com.google.cloud.domains.v1alpha2.TransferDomainRequest other = + (com.google.cloud.domains.v1alpha2.TransferDomainRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } if (hasAuthorizationCode() != other.hasAuthorizationCode()) return false; if (hasAuthorizationCode()) { - if (!getAuthorizationCode() - .equals(other.getAuthorizationCode())) return false; + if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -596,125 +684,134 @@ public int hashCode() { hash = (53 * hash) + getAuthorizationCode().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.TransferDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.TransferDomainRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.TransferDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `TransferDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.TransferDomainRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.TransferDomainRequest) com.google.cloud.domains.v1alpha2.TransferDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, com.google.cloud.domains.v1alpha2.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1alpha2.TransferDomainRequest.class, + com.google.cloud.domains.v1alpha2.TransferDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.TransferDomainRequest.newBuilder() @@ -722,16 +819,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -763,9 +859,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_TransferDomainRequest_descriptor; } @java.lang.Override @@ -784,7 +880,8 @@ public com.google.cloud.domains.v1alpha2.TransferDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferDomainRequest buildPartial() { - com.google.cloud.domains.v1alpha2.TransferDomainRequest result = new com.google.cloud.domains.v1alpha2.TransferDomainRequest(this); + com.google.cloud.domains.v1alpha2.TransferDomainRequest result = + new com.google.cloud.domains.v1alpha2.TransferDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -816,38 +913,39 @@ public com.google.cloud.domains.v1alpha2.TransferDomainRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.TransferDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.TransferDomainRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.TransferDomainRequest) other); } else { super.mergeFrom(other); return this; @@ -855,7 +953,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.TransferDomainRequest other) { - if (other == com.google.cloud.domains.v1alpha2.TransferDomainRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.TransferDomainRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -901,7 +1000,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.TransferDomainRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.TransferDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -910,23 +1010,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -935,21 +1040,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -957,57 +1065,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1015,8 +1136,13 @@ public Builder setParentBytes( private com.google.cloud.domains.v1alpha2.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> registrationBuilder_; + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + registrationBuilder_; /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1026,13 +1152,18 @@ public Builder setParentBytes(
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1042,17 +1173,24 @@ public boolean hasRegistration() {
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ public com.google.cloud.domains.v1alpha2.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() + : registration_; } else { return registrationBuilder_.getMessage(); } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1062,7 +1200,9 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistration() {
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration value) { if (registrationBuilder_ == null) { @@ -1078,6 +1218,8 @@ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration va return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1087,7 +1229,9 @@ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration va
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration( com.google.cloud.domains.v1alpha2.Registration.Builder builderForValue) { @@ -1101,6 +1245,8 @@ public Builder setRegistration( return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1110,13 +1256,17 @@ public Builder setRegistration(
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_) + .mergeFrom(value) + .buildPartial(); } else { registration_ = value; } @@ -1128,6 +1278,8 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1137,7 +1289,9 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1151,6 +1305,8 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1160,14 +1316,18 @@ public Builder clearRegistration() {
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1177,17 +1337,22 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationBui
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null ? - com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() + : registration_; } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1197,24 +1362,29 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( - getRegistration(), - getParentForChildren(), - isClean()); + registrationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( + getRegistration(), getParentForChildren(), isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List contactNotices_ = - java.util.Collections.emptyList(); + private java.util.List contactNotices_ = java.util.Collections.emptyList(); + private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1222,6 +1392,8 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1229,13 +1401,17 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1243,12 +1419,15 @@ public java.util.List getContac
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1256,6 +1435,7 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1263,6 +1443,8 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1270,6 +1452,7 @@ public com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int ind
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1285,6 +1468,8 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1292,6 +1477,7 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1305,6 +1491,8 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1312,6 +1500,7 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1325,6 +1514,8 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1332,6 +1523,7 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1341,6 +1533,8 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1348,13 +1542,15 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1362,6 +1558,7 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1369,6 +1566,8 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1376,18 +1575,20 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue( - int index, int value) { + public Builder setContactNoticesValue(int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1395,6 +1596,7 @@ public Builder setContactNoticesValue(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1405,6 +1607,8 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1412,11 +1616,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue( - java.lang.Iterable values) { + public Builder addAllContactNoticesValue(java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1427,8 +1631,11 @@ public Builder addAllContactNoticesValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1436,12 +1643,15 @@ public Builder addAllContactNoticesValue(
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1449,6 +1659,7 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1459,6 +1670,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1481,6 +1694,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1489,8 +1704,7 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(
-        com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1501,6 +1715,8 @@ public Builder setYearlyPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1513,7 +1729,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1525,6 +1741,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1545,6 +1763,8 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1554,11 +1774,13 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-      
+
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1571,11 +1793,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ?
-            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1585,14 +1808,15 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(),
-                getParentForChildren(),
-                isClean());
+        yearlyPriceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Money,
+                com.google.type.Money.Builder,
+                com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(), getParentForChildren(), isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
@@ -1600,36 +1824,49 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
 
     private com.google.cloud.domains.v1alpha2.AuthorizationCode authorizationCode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1alpha2.AuthorizationCode, com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder, com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder> authorizationCodeBuilder_;
+            com.google.cloud.domains.v1alpha2.AuthorizationCode,
+            com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder,
+            com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder>
+        authorizationCodeBuilder_;
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; + * * @return Whether the authorizationCode field is set. */ public boolean hasAuthorizationCode() { return authorizationCodeBuilder_ != null || authorizationCode_ != null; } /** + * + * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; + * * @return The authorizationCode. */ public com.google.cloud.domains.v1alpha2.AuthorizationCode getAuthorizationCode() { if (authorizationCodeBuilder_ == null) { - return authorizationCode_ == null ? com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance() : authorizationCode_; + return authorizationCode_ == null + ? com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance() + : authorizationCode_; } else { return authorizationCodeBuilder_.getMessage(); } } /** + * + * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1651,6 +1888,8 @@ public Builder setAuthorizationCode(com.google.cloud.domains.v1alpha2.Authorizat
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1670,6 +1909,8 @@ public Builder setAuthorizationCode(
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1677,11 +1918,14 @@ public Builder setAuthorizationCode(
      *
      * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
      */
-    public Builder mergeAuthorizationCode(com.google.cloud.domains.v1alpha2.AuthorizationCode value) {
+    public Builder mergeAuthorizationCode(
+        com.google.cloud.domains.v1alpha2.AuthorizationCode value) {
       if (authorizationCodeBuilder_ == null) {
         if (authorizationCode_ != null) {
           authorizationCode_ =
-            com.google.cloud.domains.v1alpha2.AuthorizationCode.newBuilder(authorizationCode_).mergeFrom(value).buildPartial();
+              com.google.cloud.domains.v1alpha2.AuthorizationCode.newBuilder(authorizationCode_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationCode_ = value;
         }
@@ -1693,6 +1937,8 @@ public Builder mergeAuthorizationCode(com.google.cloud.domains.v1alpha2.Authoriz
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1712,6 +1958,8 @@ public Builder clearAuthorizationCode() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1719,12 +1967,15 @@ public Builder clearAuthorizationCode() {
      *
      * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
      */
-    public com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder getAuthorizationCodeBuilder() {
-      
+    public com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder
+        getAuthorizationCodeBuilder() {
+
       onChanged();
       return getAuthorizationCodeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1732,15 +1983,19 @@ public com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder getAuthorizat
      *
      * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
      */
-    public com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder() {
+    public com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder
+        getAuthorizationCodeOrBuilder() {
       if (authorizationCodeBuilder_ != null) {
         return authorizationCodeBuilder_.getMessageOrBuilder();
       } else {
-        return authorizationCode_ == null ?
-            com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance() : authorizationCode_;
+        return authorizationCode_ == null
+            ? com.google.cloud.domains.v1alpha2.AuthorizationCode.getDefaultInstance()
+            : authorizationCode_;
       }
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1749,26 +2004,32 @@ public com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder getAuthoriza
      * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1alpha2.AuthorizationCode, com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder, com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder> 
+            com.google.cloud.domains.v1alpha2.AuthorizationCode,
+            com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder,
+            com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder>
         getAuthorizationCodeFieldBuilder() {
       if (authorizationCodeBuilder_ == null) {
-        authorizationCodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1alpha2.AuthorizationCode, com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder, com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder>(
-                getAuthorizationCode(),
-                getParentForChildren(),
-                isClean());
+        authorizationCodeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.domains.v1alpha2.AuthorizationCode,
+                com.google.cloud.domains.v1alpha2.AuthorizationCode.Builder,
+                com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder>(
+                getAuthorizationCode(), getParentForChildren(), isClean());
         authorizationCode_ = null;
       }
       return authorizationCodeBuilder_;
     }
 
-    private boolean validateOnly_ ;
+    private boolean validateOnly_;
     /**
+     *
+     *
      * 
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -1776,37 +2037,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1816,12 +2083,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.TransferDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.TransferDomainRequest) private static final com.google.cloud.domains.v1alpha2.TransferDomainRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.TransferDomainRequest(); } @@ -1830,16 +2097,16 @@ public static com.google.cloud.domains.v1alpha2.TransferDomainRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1854,6 +2121,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.TransferDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java index 0bce06e0..ba973d8a 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferDomainRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface TransferDomainRequestOrBuilder extends +public interface TransferDomainRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.TransferDomainRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -39,11 +66,16 @@ public interface TransferDomainRequestOrBuilder extends
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ boolean hasRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -53,11 +85,16 @@ public interface TransferDomainRequestOrBuilder extends
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ com.google.cloud.domains.v1alpha2.Registration getRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -67,11 +104,15 @@ public interface TransferDomainRequestOrBuilder extends
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -79,10 +120,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -90,10 +134,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @return The count of contactNotices. */ int getContactNoticesCount(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -101,11 +148,14 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1alpha2.ContactNotice getContactNotices(int index); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -113,11 +163,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List - getContactNoticesValueList(); + java.util.List getContactNoticesValueList(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -125,12 +177,15 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -138,10 +193,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -149,10 +207,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -164,26 +225,34 @@ public interface TransferDomainRequestOrBuilder extends
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
+   *
+   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; + * * @return Whether the authorizationCode field is set. */ boolean hasAuthorizationCode(); /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5; + * * @return The authorizationCode. */ com.google.cloud.domains.v1alpha2.AuthorizationCode getAuthorizationCode(); /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -194,11 +263,14 @@ public interface TransferDomainRequestOrBuilder extends
   com.google.cloud.domains.v1alpha2.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java similarity index 69% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java index 063bfe04..c23537c7 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferLockState.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Possible states of a `Registration`'s transfer lock.
  * 
* * Protobuf enum {@code google.cloud.domains.v1alpha2.TransferLockState} */ -public enum TransferLockState - implements com.google.protobuf.ProtocolMessageEnum { +public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The state is unspecified.
    * 
@@ -21,6 +39,8 @@ public enum TransferLockState */ TRANSFER_LOCK_STATE_UNSPECIFIED(0), /** + * + * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -29,6 +49,8 @@ public enum TransferLockState */ UNLOCKED(1), /** + * + * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -40,6 +62,8 @@ public enum TransferLockState ; /** + * + * *
    * The state is unspecified.
    * 
@@ -48,6 +72,8 @@ public enum TransferLockState */ public static final int TRANSFER_LOCK_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -56,6 +82,8 @@ public enum TransferLockState */ public static final int UNLOCKED_VALUE = 1; /** + * + * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -64,7 +92,6 @@ public enum TransferLockState */ public static final int LOCKED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,39 +116,42 @@ public static TransferLockState valueOf(int value) { */ public static TransferLockState forNumber(int value) { switch (value) { - case 0: return TRANSFER_LOCK_STATE_UNSPECIFIED; - case 1: return UNLOCKED; - case 2: return LOCKED; - default: return null; + case 0: + return TRANSFER_LOCK_STATE_UNSPECIFIED; + case 1: + return UNLOCKED; + case 2: + return LOCKED; + 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< - TransferLockState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransferLockState findValueByNumber(int number) { - return TransferLockState.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 TransferLockState findValueByNumber(int number) { + return TransferLockState.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.domains.v1alpha2.DomainsProto.getDescriptor().getEnumTypes().get(3); } @@ -130,8 +160,7 @@ public TransferLockState findValueByNumber(int number) { public static TransferLockState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -147,4 +176,3 @@ private TransferLockState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1alpha2.TransferLockState) } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java similarity index 75% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java index f6317fc2..64f7d848 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParameters.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Parameters required to transfer a domain from another registrar.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.TransferParameters} */ -public final class TransferParameters extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferParameters extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.TransferParameters) TransferParametersOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferParameters.newBuilder() to construct. private TransferParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferParameters() { domainName_ = ""; currentRegistrar_ = ""; @@ -29,16 +47,15 @@ private TransferParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,76 +75,83 @@ private TransferParameters( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - currentRegistrar_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + currentRegistrar_ = s; + break; } - nameServers_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + nameServers_.add(s); + break; + } + case 32: + { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; - } - case 40: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + transferLockState_ = rawValue; + break; } - supportedPrivacy_.add(rawValue); - break; - } - case 42: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 40: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } supportedPrivacy_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 50: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 42: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + supportedPrivacy_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 50: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -135,8 +159,7 @@ private TransferParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -148,27 +171,33 @@ private TransferParameters( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.TransferParameters.class, com.google.cloud.domains.v1alpha2.TransferParameters.Builder.class); + com.google.cloud.domains.v1alpha2.TransferParameters.class, + com.google.cloud.domains.v1alpha2.TransferParameters.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ @java.lang.Override @@ -177,29 +206,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -210,11 +239,14 @@ public java.lang.String getDomainName() { public static final int CURRENT_REGISTRAR_FIELD_NUMBER = 2; private volatile java.lang.Object currentRegistrar_; /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The currentRegistrar. */ @java.lang.Override @@ -223,29 +255,29 @@ public java.lang.String getCurrentRegistrar() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; } } /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The bytes for currentRegistrar. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -256,34 +288,42 @@ public java.lang.String getCurrentRegistrar() { public static final int NAME_SERVERS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList nameServers_; /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_; } /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -291,22 +331,26 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -314,12 +358,16 @@ public java.lang.String getNameServers(int index) {
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -327,45 +375,63 @@ public java.lang.String getNameServers(int index) {
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ - @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { + @java.lang.Override + public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.TransferLockState result = com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); - return result == null ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.TransferLockState result = + com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); + return result == null + ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED + : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 5; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy> + supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>() { - public com.google.cloud.domains.v1alpha2.ContactPrivacy convert(java.lang.Integer from) { + public com.google.cloud.domains.v1alpha2.ContactPrivacy convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.ContactPrivacy result = com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); - return result == null ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.ContactPrivacy result = + com.google.cloud.domains.v1alpha2.ContactPrivacy.valueOf(from); + return result == null + ? com.google.cloud.domains.v1alpha2.ContactPrivacy.UNRECOGNIZED + : result; } }; /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @return A list containing the supportedPrivacy. */ @java.lang.Override - public java.util.List getSupportedPrivacyList() { + public java.util.List + getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -373,11 +439,14 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -386,24 +455,29 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return supportedPrivacy_; } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -411,16 +485,20 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } + private int supportedPrivacyMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 6; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -428,11 +506,14 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return The yearlyPrice. */ @java.lang.Override @@ -440,6 +521,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
@@ -452,6 +535,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -463,8 +547,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); @@ -475,7 +558,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nameServers_.getRaw(i)); } - if (transferLockState_ != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + if (transferLockState_ + != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, transferLockState_); } if (getSupportedPrivacyList().size() > 0) { @@ -511,25 +596,26 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (transferLockState_ != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, transferLockState_); + if (transferLockState_ + != com.google.cloud.domains.v1alpha2.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedPrivacyMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -539,25 +625,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.domains.v1alpha2.TransferParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.TransferParameters other = (com.google.cloud.domains.v1alpha2.TransferParameters) obj; + com.google.cloud.domains.v1alpha2.TransferParameters other = + (com.google.cloud.domains.v1alpha2.TransferParameters) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; - if (!getCurrentRegistrar() - .equals(other.getCurrentRegistrar())) return false; - if (!getNameServersList() - .equals(other.getNameServersList())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; + if (!getCurrentRegistrar().equals(other.getCurrentRegistrar())) return false; + if (!getNameServersList().equals(other.getNameServersList())) return false; if (transferLockState_ != other.transferLockState_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -594,117 +677,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.TransferParameters parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.TransferParameters parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.TransferParameters parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.TransferParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1alpha2.TransferParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters required to transfer a domain from another registrar.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.TransferParameters} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.TransferParameters) com.google.cloud.domains.v1alpha2.TransferParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.TransferParameters.class, com.google.cloud.domains.v1alpha2.TransferParameters.Builder.class); + com.google.cloud.domains.v1alpha2.TransferParameters.class, + com.google.cloud.domains.v1alpha2.TransferParameters.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.TransferParameters.newBuilder() @@ -712,16 +804,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -745,9 +836,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_TransferParameters_descriptor; } @java.lang.Override @@ -766,7 +857,8 @@ public com.google.cloud.domains.v1alpha2.TransferParameters build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferParameters buildPartial() { - com.google.cloud.domains.v1alpha2.TransferParameters result = new com.google.cloud.domains.v1alpha2.TransferParameters(this); + com.google.cloud.domains.v1alpha2.TransferParameters result = + new com.google.cloud.domains.v1alpha2.TransferParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.currentRegistrar_ = currentRegistrar_; @@ -794,38 +886,39 @@ public com.google.cloud.domains.v1alpha2.TransferParameters buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.TransferParameters) { - return mergeFrom((com.google.cloud.domains.v1alpha2.TransferParameters)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.TransferParameters) other); } else { super.mergeFrom(other); return this; @@ -833,7 +926,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.TransferParameters other) { - if (other == com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.TransferParameters.getDefaultInstance()) + return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -887,7 +981,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.TransferParameters) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.TransferParameters) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -896,22 +991,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object domainName_ = ""; /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -920,20 +1018,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -941,54 +1040,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -996,18 +1102,20 @@ public Builder setDomainNameBytes( private java.lang.Object currentRegistrar_ = ""; /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @return The currentRegistrar. */ public java.lang.String getCurrentRegistrar() { java.lang.Object ref = currentRegistrar_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; @@ -1016,20 +1124,21 @@ public java.lang.String getCurrentRegistrar() { } } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @return The bytes for currentRegistrar. */ - public com.google.protobuf.ByteString - getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -1037,95 +1146,112 @@ public java.lang.String getCurrentRegistrar() { } } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @param value The currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrar( - java.lang.String value) { + public Builder setCurrentRegistrar(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentRegistrar_ = value; onChanged(); return this; } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @return This builder for chaining. */ public Builder clearCurrentRegistrar() { - + currentRegistrar_ = getDefaultInstance().getCurrentRegistrar(); onChanged(); return this; } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @param value The bytes for currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrarBytes( - com.google.protobuf.ByteString value) { + public Builder setCurrentRegistrarBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentRegistrar_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList nameServers_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_.getUnmodifiableView(); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1133,80 +1259,90 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers( - int index, java.lang.String value) { + public Builder setNameServers(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers( - java.lang.String value) { + public Builder addNameServers(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers( - java.lang.Iterable values) { + public Builder addAllNameServers(java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); onChanged(); return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1216,20 +1352,22 @@ public Builder clearNameServers() { return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes( - com.google.protobuf.ByteString value) { + public Builder addNameServersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1238,6 +1376,8 @@ public Builder addNameServersBytes( private int transferLockState_ = 0; /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1245,12 +1385,16 @@ public Builder addNameServersBytes(
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1258,16 +1402,19 @@ public Builder addNameServersBytes(
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1275,15 +1422,21 @@ public Builder setTransferLockStateValue(int value) {
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1alpha2.TransferLockState result = com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); - return result == null ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED : result; + com.google.cloud.domains.v1alpha2.TransferLockState result = + com.google.cloud.domains.v1alpha2.TransferLockState.valueOf(transferLockState_); + return result == null + ? com.google.cloud.domains.v1alpha2.TransferLockState.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1291,6 +1444,7 @@ public com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState(
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -1298,12 +1452,14 @@ public Builder setTransferLockState(com.google.cloud.domains.v1alpha2.TransferLo if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1311,17 +1467,18 @@ public Builder setTransferLockState(com.google.cloud.domains.v1alpha2.TransferLo
      * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = - java.util.Collections.emptyList(); + private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); + private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1329,34 +1486,45 @@ private void ensureSupportedPrivacyIsMutable() { } } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @return A list containing the supportedPrivacy. */ - public java.util.List getSupportedPrivacyList() { + public java.util.List + getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1alpha2.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1364,11 +1532,14 @@ public com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1384,11 +1555,14 @@ public Builder setSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1402,11 +1576,14 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1alpha2.ContactPriv return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1420,11 +1597,14 @@ public Builder addAllSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1434,23 +1614,28 @@ public Builder clearSupportedPrivacy() { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1458,28 +1643,33 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue( - int index, int value) { + public Builder setSupportedPrivacyValue(int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1490,16 +1680,18 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue( - java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1510,24 +1702,31 @@ public Builder addAllSupportedPrivacyValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1538,6 +1737,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1558,14 +1759,15 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; */ - public Builder setYearlyPrice( - com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1576,6 +1778,8 @@ public Builder setYearlyPrice( return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1586,7 +1790,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1598,6 +1802,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1616,6 +1822,8 @@ public Builder clearYearlyPrice() { return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1623,11 +1831,13 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 6; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1638,11 +1848,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? - com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1650,21 +1861,22 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - getYearlyPrice(), - getParentForChildren(), - isClean()); + yearlyPriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + getYearlyPrice(), getParentForChildren(), isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1674,12 +1886,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.TransferParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.TransferParameters) private static final com.google.cloud.domains.v1alpha2.TransferParameters DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.TransferParameters(); } @@ -1688,16 +1900,16 @@ public static com.google.cloud.domains.v1alpha2.TransferParameters getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1712,6 +1924,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1alpha2.TransferParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java similarity index 81% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java index 65297464..05a9ce87 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/TransferParametersOrBuilder.java @@ -1,94 +1,132 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface TransferParametersOrBuilder extends +public interface TransferParametersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.TransferParameters) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The currentRegistrar. */ java.lang.String getCurrentRegistrar(); /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The bytes for currentRegistrar. */ - com.google.protobuf.ByteString - getCurrentRegistrarBytes(); + com.google.protobuf.ByteString getCurrentRegistrarBytes(); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return A list containing the nameServers. */ - java.util.List - getNameServersList(); + java.util.List getNameServersList(); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return The count of nameServers. */ int getNameServersCount(); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString - getNameServersBytes(int index); + com.google.protobuf.ByteString getNameServersBytes(int index); /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -96,10 +134,13 @@ public interface TransferParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -107,78 +148,101 @@ public interface TransferParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1alpha2.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ com.google.cloud.domains.v1alpha2.TransferLockState getTransferLockState(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1alpha2.ContactPrivacy getSupportedPrivacy(int index); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List - getSupportedPrivacyValueList(); + java.util.List getSupportedPrivacyValueList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java similarity index 69% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java index 1c1f2af0..448c0fb1 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; /** + * + * *
  * Request for the `UpdateRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.UpdateRegistrationRequest} */ -public final class UpdateRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1alpha2.UpdateRegistrationRequest) UpdateRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRegistrationRequest.newBuilder() to construct. private UpdateRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRegistrationRequest() { - } + + private UpdateRegistrationRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateRegistrationRequest( case 0: done = true; break; - case 10: { - com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = input.readMessage(com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.domains.v1alpha2.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = + input.readMessage( + com.google.cloud.domains.v1alpha2.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private com.google.cloud.domains.v1alpha2.Registration registration_; /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; + * * @return Whether the registration field is set. */ @java.lang.Override @@ -127,18 +153,25 @@ public boolean hasRegistration() { return registration_ != null; } /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; + * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1alpha2.Registration getRegistration() { - return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() + : registration_; } /** + * + * *
    * Fields of the `Registration` to update.
    * 
@@ -153,13 +186,17 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,13 +204,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -181,13 +222,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -195,6 +239,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +251,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (registration_ != null) { output.writeMessage(1, getRegistration()); } @@ -224,12 +268,10 @@ public int getSerializedSize() { size = 0; if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRegistration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegistration()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +281,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.domains.v1alpha2.UpdateRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest other = (com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) obj; + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest other = + (com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) obj; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,117 +322,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `UpdateRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1alpha2.UpdateRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1alpha2.UpdateRegistrationRequest) com.google.cloud.domains.v1alpha2.UpdateRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.class, + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.newBuilder() @@ -399,16 +450,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1alpha2.DomainsProto.internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1alpha2.DomainsProto + .internal_static_google_cloud_domains_v1alpha2_UpdateRegistrationRequest_descriptor; } @java.lang.Override @@ -449,7 +499,8 @@ public com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest buildPartial() { - com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest result = new com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest(this); + com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest result = + new com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest(this); if (registrationBuilder_ == null) { result.registration_ = registration_; } else { @@ -468,38 +519,39 @@ public com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest other) { - if (other == com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest.getDefaultInstance()) + return this; if (other.hasRegistration()) { mergeRegistration(other.getRegistration()); } @@ -533,7 +586,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +599,47 @@ public Builder mergeFrom( private com.google.cloud.domains.v1alpha2.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> registrationBuilder_; + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + registrationBuilder_; /** + * + * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; + * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; + * * @return The registration. */ public com.google.cloud.domains.v1alpha2.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() + : registration_; } else { return registrationBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -593,6 +660,8 @@ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration va return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -611,6 +680,8 @@ public Builder setRegistration( return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -621,7 +692,9 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1alpha2.Registration.newBuilder(registration_) + .mergeFrom(value) + .buildPartial(); } else { registration_ = value; } @@ -633,6 +706,8 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -651,6 +726,8 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -658,11 +735,13 @@ public Builder clearRegistration() { * .google.cloud.domains.v1alpha2.Registration registration = 1; */ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -673,11 +752,14 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null ? - com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1alpha2.Registration.getDefaultInstance() + : registration_; } } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -685,14 +767,17 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr * .google.cloud.domains.v1alpha2.Registration registration = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1alpha2.Registration, com.google.cloud.domains.v1alpha2.Registration.Builder, com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( - getRegistration(), - getParentForChildren(), - isClean()); + registrationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1alpha2.Registration, + com.google.cloud.domains.v1alpha2.Registration.Builder, + com.google.cloud.domains.v1alpha2.RegistrationOrBuilder>( + getRegistration(), getParentForChildren(), isClean()); registration_ = null; } return registrationBuilder_; @@ -700,45 +785,61 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOr private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -754,16 +855,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -774,19 +877,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -798,13 +904,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -818,61 +927,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +1004,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1alpha2.UpdateRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1alpha2.UpdateRegistrationRequest) private static final com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest(); } @@ -896,16 +1018,16 @@ public static com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,6 +1042,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1alpha2.UpdateRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java rename to proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java index 9b569077..76dfe806 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/UpdateRegistrationRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1alpha2/domains.proto package com.google.cloud.domains.v1alpha2; -public interface UpdateRegistrationRequestOrBuilder extends +public interface UpdateRegistrationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1alpha2.UpdateRegistrationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; + * * @return Whether the registration field is set. */ boolean hasRegistration(); /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1alpha2.Registration registration = 1; + * * @return The registration. */ com.google.cloud.domains.v1alpha2.Registration getRegistration(); /** + * + * *
    * Fields of the `Registration` to update.
    * 
@@ -35,35 +59,46 @@ public interface UpdateRegistrationRequestOrBuilder extends com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto b/proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto similarity index 100% rename from owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto rename to proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java index 496d66c7..ba31b9c7 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCode.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Defines an authorization code.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.AuthorizationCode} */ -public final class AuthorizationCode extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuthorizationCode extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.AuthorizationCode) AuthorizationCodeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuthorizationCode.newBuilder() to construct. private AuthorizationCode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuthorizationCode() { code_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthorizationCode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AuthorizationCode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AuthorizationCode( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + code_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,40 @@ private AuthorizationCode( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.AuthorizationCode.class, com.google.cloud.domains.v1beta1.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1beta1.AuthorizationCode.class, + com.google.cloud.domains.v1beta1.AuthorizationCode.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private volatile java.lang.Object code_; /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The code. */ @java.lang.Override @@ -110,30 +133,30 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString - getCodeBytes() { + public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); code_ = b; return b; } else { @@ -142,6 +165,7 @@ public java.lang.String getCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } @@ -178,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1beta1.AuthorizationCode)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.AuthorizationCode other = (com.google.cloud.domains.v1beta1.AuthorizationCode) obj; + com.google.cloud.domains.v1beta1.AuthorizationCode other = + (com.google.cloud.domains.v1beta1.AuthorizationCode) obj; - if (!getCode() - .equals(other.getCode())) return false; + if (!getCode().equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +229,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.AuthorizationCode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.AuthorizationCode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1beta1.AuthorizationCode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines an authorization code.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.AuthorizationCode} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.AuthorizationCode) com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.AuthorizationCode.class, com.google.cloud.domains.v1beta1.AuthorizationCode.Builder.class); + com.google.cloud.domains.v1beta1.AuthorizationCode.class, + com.google.cloud.domains.v1beta1.AuthorizationCode.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.AuthorizationCode.newBuilder() @@ -324,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor; } @java.lang.Override @@ -364,7 +395,8 @@ public com.google.cloud.domains.v1beta1.AuthorizationCode build() { @java.lang.Override public com.google.cloud.domains.v1beta1.AuthorizationCode buildPartial() { - com.google.cloud.domains.v1beta1.AuthorizationCode result = new com.google.cloud.domains.v1beta1.AuthorizationCode(this); + com.google.cloud.domains.v1beta1.AuthorizationCode result = + new com.google.cloud.domains.v1beta1.AuthorizationCode(this); result.code_ = code_; onBuilt(); return result; @@ -374,38 +406,39 @@ public com.google.cloud.domains.v1beta1.AuthorizationCode buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.AuthorizationCode) { - return mergeFrom((com.google.cloud.domains.v1beta1.AuthorizationCode)other); + return mergeFrom((com.google.cloud.domains.v1beta1.AuthorizationCode) other); } else { super.mergeFrom(other); return this; @@ -413,7 +446,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.AuthorizationCode other) { - if (other == com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance()) + return this; if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); @@ -437,7 +471,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.AuthorizationCode) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.AuthorizationCode) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +484,21 @@ public Builder mergeFrom( private java.lang.Object code_ = ""; /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -470,21 +507,22 @@ public java.lang.String getCode() { } } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @return The bytes for code. */ - public com.google.protobuf.ByteString - getCodeBytes() { + public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); code_ = b; return b; } else { @@ -492,64 +530,71 @@ public java.lang.String getCode() { } } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode( - java.lang.String value) { + public Builder setCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** + * + * *
      * The Authorization Code in ASCII. It can be used to transfer the domain
      * to or from another registrar.
      * 
* * string code = 1; + * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -559,12 +604,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.AuthorizationCode) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.AuthorizationCode) private static final com.google.cloud.domains.v1beta1.AuthorizationCode DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.AuthorizationCode(); } @@ -573,16 +618,16 @@ public static com.google.cloud.domains.v1beta1.AuthorizationCode getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthorizationCode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuthorizationCode(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthorizationCode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthorizationCode(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.AuthorizationCode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java similarity index 51% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java index 7c83b8f5..07767451 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/AuthorizationCodeOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface AuthorizationCodeOrBuilder extends +public interface AuthorizationCodeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.AuthorizationCode) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The code. */ java.lang.String getCode(); /** + * + * *
    * The Authorization Code in ASCII. It can be used to transfer the domain
    * to or from another registrar.
    * 
* * string code = 1; + * * @return The bytes for code. */ - com.google.protobuf.ByteString - getCodeBytes(); + com.google.protobuf.ByteString getCodeBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java index e0575561..45ae5ddf 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `ConfigureContactSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureContactSettingsRequest} */ -public final class ConfigureContactSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigureContactSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) ConfigureContactSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigureContactSettingsRequest.newBuilder() to construct. - private ConfigureContactSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureContactSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConfigureContactSettingsRequest() { registration_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -26,16 +45,15 @@ private ConfigureContactSettingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigureContactSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConfigureContactSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,73 +73,81 @@ private ConfigureContactSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null; - if (contactSettings_ != null) { - subBuilder = contactSettings_.toBuilder(); - } - contactSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(contactSettings_); - contactSettings_ = subBuilder.buildPartial(); + registration_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null; + if (contactSettings_ != null) { + subBuilder = contactSettings_.toBuilder(); + } + contactSettings_ = + input.readMessage( + com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(contactSettings_); + contactSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - contactNotices_.add(rawValue); - break; - } - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 40: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + contactNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; + } + case 40: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,8 +155,7 @@ private ConfigureContactSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -139,28 +164,36 @@ private ConfigureContactSettingsRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -169,30 +202,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -203,11 +238,14 @@ public java.lang.String getRegistration() { public static final int CONTACT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.ContactSettings contactSettings_; /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; + * * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -215,18 +253,25 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; + * * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings getContactSettings() { - return contactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() + : contactSettings_; } /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -241,13 +286,17 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -255,13 +304,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -269,13 +322,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -285,36 +341,47 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> + contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>() { public com.google.cloud.domains.v1beta1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactNotice result = com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.ContactNotice result = + com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ @java.lang.Override @@ -322,12 +389,15 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -336,26 +406,31 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return contactNotices_; } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -363,16 +438,20 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde public int getContactNoticesValue(int index) { return contactNotices_.get(index); } + private int contactNoticesMemoizedSerializedSize; public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_; /** + * + * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; + * * @return The validateOnly. */ @java.lang.Override @@ -381,6 +460,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,8 +472,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); @@ -427,28 +506,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getContactSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContactSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + contactNoticesMemoizedSerializedSize = dataSize; } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -458,28 +535,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.domains.v1beta1.ConfigureContactSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest other = (com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) obj; + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest other = + (com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings() - .equals(other.getContactSettings())) return false; + if (!getContactSettings().equals(other.getContactSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -506,125 +580,134 @@ public int hashCode() { hash = (53 * hash) + contactNotices_.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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureContactSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureContactSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.class, + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.newBuilder() @@ -632,16 +715,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -667,13 +749,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.getDefaultInstance(); } @@ -688,7 +771,8 @@ public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest build() @java.lang.Override public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest buildPartial() { - com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest result = new com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest(this); + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest result = + new com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest(this); int from_bitField0_ = bitField0_; result.registration_ = registration_; if (contactSettingsBuilder_ == null) { @@ -715,46 +799,50 @@ public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest other) { - if (other == com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest other) { + if (other + == com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -797,7 +885,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -806,23 +896,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -831,21 +926,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -853,57 +951,70 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose contact settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -911,34 +1022,47 @@ public Builder setRegistrationBytes( private com.google.cloud.domains.v1beta1.ContactSettings contactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> contactSettingsBuilder_; + com.google.cloud.domains.v1beta1.ContactSettings, + com.google.cloud.domains.v1beta1.ContactSettings.Builder, + com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> + contactSettingsBuilder_; /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; + * * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; + * * @return The contactSettings. */ public com.google.cloud.domains.v1beta1.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() + : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -959,6 +1083,8 @@ public Builder setContactSettings(com.google.cloud.domains.v1beta1.ContactSettin return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -977,6 +1103,8 @@ public Builder setContactSettings( return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -987,7 +1115,9 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1beta1.ContactSett if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(contactSettings_) + .mergeFrom(value) + .buildPartial(); } else { contactSettings_ = value; } @@ -999,6 +1129,8 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1beta1.ContactSett return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1017,6 +1149,8 @@ public Builder clearContactSettings() { return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1024,11 +1158,13 @@ public Builder clearContactSettings() { * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; */ public com.google.cloud.domains.v1beta1.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1039,11 +1175,14 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null ? - com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() + : contactSettings_; } } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1051,14 +1190,17 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings, + com.google.cloud.domains.v1beta1.ContactSettings.Builder, + com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( - getContactSettings(), - getParentForChildren(), - isClean()); + contactSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings, + com.google.cloud.domains.v1beta1.ContactSettings.Builder, + com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( + getContactSettings(), getParentForChildren(), isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -1066,45 +1208,61 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1120,16 +1278,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1140,19 +1300,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1164,13 +1327,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1184,61 +1350,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the registrant contact is being updated, the
      * `update_mask` is `"registrant_contact"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private java.util.List contactNotices_ = - java.util.Collections.emptyList(); + private java.util.List contactNotices_ = java.util.Collections.emptyList(); + private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1246,37 +1425,47 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1284,12 +1473,15 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1305,12 +1497,15 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1324,12 +1519,15 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1343,12 +1541,15 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1358,25 +1559,30 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1384,30 +1590,35 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue( - int index, int value) { + public Builder setContactNoticesValue(int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1418,17 +1629,19 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in `contact_settings`.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue( - java.lang.Iterable values) { + public Builder addAllContactNoticesValue(java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1437,13 +1650,16 @@ public Builder addAllContactNoticesValue( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; + * * @return The validateOnly. */ @java.lang.Override @@ -1451,37 +1667,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * Validate the request without actually updating the contact settings.
      * 
* * bool validate_only = 5; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1491,30 +1713,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) - private static final com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest(); } - public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureContactSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureContactSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureContactSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureContactSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1526,9 +1750,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java index d545d5a2..00b0a0fc 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureContactSettingsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ConfigureContactSettingsRequestOrBuilder extends +public interface ConfigureContactSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ConfigureContactSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ java.lang.String getRegistration(); /** + * + * *
    * Required. The name of the `Registration` whose contact settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - com.google.protobuf.ByteString - getRegistrationBytes(); + com.google.protobuf.ByteString getRegistrationBytes(); /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; + * * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 2; + * * @return The contactSettings. */ com.google.cloud.domains.v1beta1.ContactSettings getContactSettings(); /** + * + * *
    * Fields of the `ContactSettings` to update.
    * 
@@ -57,98 +90,126 @@ public interface ConfigureContactSettingsRequestOrBuilder extends com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the registrant contact is being updated, the
    * `update_mask` is `"registrant_contact"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ int getContactNoticesCount(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int index); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List - getContactNoticesValueList(); + java.util.List getContactNoticesValueList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in `contact_settings`.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** + * + * *
    * Validate the request without actually updating the contact settings.
    * 
* * bool validate_only = 5; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java index 0e47b44d..1f6e28da 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `ConfigureDnsSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest} */ -public final class ConfigureDnsSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigureDnsSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) ConfigureDnsSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigureDnsSettingsRequest.newBuilder() to construct. private ConfigureDnsSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConfigureDnsSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigureDnsSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConfigureDnsSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,50 +70,56 @@ private ConfigureDnsSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1beta1.DnsSettings.Builder subBuilder = null; - if (dnsSettings_ != null) { - subBuilder = dnsSettings_.toBuilder(); + registration_ = s; + break; } - dnsSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsSettings_); - dnsSettings_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.domains.v1beta1.DnsSettings.Builder subBuilder = null; + if (dnsSettings_ != null) { + subBuilder = dnsSettings_.toBuilder(); + } + dnsSettings_ = + input.readMessage( + com.google.cloud.domains.v1beta1.DnsSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsSettings_); + dnsSettings_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 32: + { + validateOnly_ = input.readBool(); + break; } - - break; - } - case 32: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,35 +127,42 @@ private ConfigureDnsSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -141,30 +171,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -175,11 +207,14 @@ public java.lang.String getRegistration() { public static final int DNS_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.DnsSettings dnsSettings_; /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; + * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -187,18 +222,25 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; + * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings() { - return dnsSettings_ == null ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() + : dnsSettings_; } /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -213,6 +255,8 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -224,7 +268,9 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -232,6 +278,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -243,7 +291,9 @@ public boolean hasUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -251,6 +301,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -262,7 +314,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -272,11 +325,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** + * + * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -285,6 +341,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,8 +353,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -323,16 +379,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDnsSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,27 +395,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.domains.v1beta1.ConfigureDnsSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest other = (com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) obj; + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest other = + (com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings() - .equals(other.getDnsSettings())) return false; + if (!getDnsSettings().equals(other.getDnsSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,125 +435,134 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureDnsSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.class, + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.newBuilder() @@ -511,16 +570,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -544,13 +602,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.getDefaultInstance(); } @@ -565,7 +624,8 @@ public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest buildPartial() { - com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest result = new com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest(this); + com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest result = + new com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest(this); result.registration_ = registration_; if (dnsSettingsBuilder_ == null) { result.dnsSettings_ = dnsSettings_; @@ -586,38 +646,39 @@ public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) other); } else { super.mergeFrom(other); return this; @@ -625,7 +686,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest other) { - if (other == com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -658,7 +721,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,19 +734,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -691,21 +759,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -713,57 +784,70 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose DNS settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -771,34 +855,47 @@ public Builder setRegistrationBytes( private com.google.cloud.domains.v1beta1.DnsSettings dnsSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> dnsSettingsBuilder_; + com.google.cloud.domains.v1beta1.DnsSettings, + com.google.cloud.domains.v1beta1.DnsSettings.Builder, + com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> + dnsSettingsBuilder_; /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; + * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; + * * @return The dnsSettings. */ public com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() + : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -819,6 +916,8 @@ public Builder setDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings value return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -837,6 +936,8 @@ public Builder setDnsSettings( return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -847,7 +948,9 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings val if (dnsSettingsBuilder_ == null) { if (dnsSettings_ != null) { dnsSettings_ = - com.google.cloud.domains.v1beta1.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.DnsSettings.newBuilder(dnsSettings_) + .mergeFrom(value) + .buildPartial(); } else { dnsSettings_ = value; } @@ -859,6 +962,8 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings val return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -877,6 +982,8 @@ public Builder clearDnsSettings() { return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -884,11 +991,13 @@ public Builder clearDnsSettings() { * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; */ public com.google.cloud.domains.v1beta1.DnsSettings.Builder getDnsSettingsBuilder() { - + onChanged(); return getDnsSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -899,11 +1008,14 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui if (dnsSettingsBuilder_ != null) { return dnsSettingsBuilder_.getMessageOrBuilder(); } else { - return dnsSettings_ == null ? - com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() + : dnsSettings_; } } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -911,14 +1023,17 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> + com.google.cloud.domains.v1beta1.DnsSettings, + com.google.cloud.domains.v1beta1.DnsSettings.Builder, + com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> getDnsSettingsFieldBuilder() { if (dnsSettingsBuilder_ == null) { - dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>( - getDnsSettings(), - getParentForChildren(), - isClean()); + dnsSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.DnsSettings, + com.google.cloud.domains.v1beta1.DnsSettings.Builder, + com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>( + getDnsSettings(), getParentForChildren(), isClean()); dnsSettings_ = null; } return dnsSettingsBuilder_; @@ -926,8 +1041,13 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -939,13 +1059,17 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -957,17 +1081,23 @@ public boolean hasUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -979,7 +1109,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -995,6 +1126,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1006,10 +1139,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -1020,6 +1153,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1031,13 +1166,14 @@ public Builder setUpdateMask(
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1049,6 +1185,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1060,7 +1198,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1074,6 +1213,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1085,14 +1226,17 @@ public Builder clearUpdateMask() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1104,17 +1248,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the name servers are being updated for an existing
@@ -1126,29 +1274,36 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `update_mask` is `"custom_dns"`. //
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -1156,37 +1311,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * Validate the request without actually updating the DNS settings.
      * 
* * bool validate_only = 4; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1196,12 +1357,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) - private static final com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest(); } @@ -1210,16 +1372,16 @@ public static com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureDnsSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureDnsSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureDnsSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureDnsSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1234,6 +1396,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java index d05776ba..d350792c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureDnsSettingsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ConfigureDnsSettingsRequestOrBuilder extends +public interface ConfigureDnsSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ java.lang.String getRegistration(); /** + * + * *
    * Required. The name of the `Registration` whose DNS settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - com.google.protobuf.ByteString - getRegistrationBytes(); + com.google.protobuf.ByteString getRegistrationBytes(); /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; + * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2; + * * @return The dnsSettings. */ com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings(); /** + * + * *
    * Fields of the `DnsSettings` to update.
    * 
@@ -57,6 +90,8 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -68,11 +103,15 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -84,11 +123,15 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the name servers are being updated for an existing
@@ -100,16 +143,20 @@ public interface ConfigureDnsSettingsRequestOrBuilder extends
    * `update_mask` is `"custom_dns"`. //
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Validate the request without actually updating the DNS settings.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java index 903bbfdb..28a6aaf3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `ConfigureManagementSettings` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest} */ -public final class ConfigureManagementSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigureManagementSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) ConfigureManagementSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigureManagementSettingsRequest.newBuilder() to construct. - private ConfigureManagementSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigureManagementSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConfigureManagementSettingsRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigureManagementSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConfigureManagementSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +71,52 @@ private ConfigureManagementSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1beta1.ManagementSettings.Builder subBuilder = null; - if (managementSettings_ != null) { - subBuilder = managementSettings_.toBuilder(); - } - managementSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.ManagementSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(managementSettings_); - managementSettings_ = subBuilder.buildPartial(); + registration_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1beta1.ManagementSettings.Builder subBuilder = null; + if (managementSettings_ != null) { + subBuilder = managementSettings_.toBuilder(); + } + managementSettings_ = + input.readMessage( + com.google.cloud.domains.v1beta1.ManagementSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(managementSettings_); + managementSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +124,42 @@ private ConfigureManagementSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -136,30 +168,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -170,11 +204,14 @@ public java.lang.String getRegistration() { public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.ManagementSettings managementSettings_; /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; + * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -182,18 +219,25 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; + * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings() { - return managementSettings_ == null ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() + : managementSettings_; } /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -201,20 +245,25 @@ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() { + public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder + getManagementSettingsOrBuilder() { return getManagementSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -222,13 +271,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -236,13 +289,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -250,6 +306,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +318,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -285,12 +341,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registration_); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagementSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -300,24 +354,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.domains.v1beta1.ConfigureManagementSettingsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest other = (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) obj; + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest other = + (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings() - .equals(other.getManagementSettings())) return false; + if (!getManagementSettings().equals(other.getManagementSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -346,134 +398,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest 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.domains.v1beta1.ConfigureManagementSettingsRequest + 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.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ConfigureManagementSettings` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.class, + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.Builder.class); } - // Construct using com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.newBuilder() + // Construct using + // com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +558,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest getDefaultInstanceForType() { - return com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.getDefaultInstance(); + public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest + getDefaultInstanceForType() { + return com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -516,7 +581,8 @@ public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest build @java.lang.Override public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest buildPartial() { - com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest result = new com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest(this); + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest result = + new com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest(this); result.registration_ = registration_; if (managementSettingsBuilder_ == null) { result.managementSettings_ = managementSettings_; @@ -536,46 +602,51 @@ public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest)other); + return mergeFrom( + (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest other) { - if (other == com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest other) { + if (other + == com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest + .getDefaultInstance()) return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -605,7 +676,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -617,19 +690,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -638,21 +715,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -660,57 +740,70 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose management settings are being updated,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = value; onChanged(); return this; @@ -718,41 +811,55 @@ public Builder setRegistrationBytes( private com.google.cloud.domains.v1beta1.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> managementSettingsBuilder_; + com.google.cloud.domains.v1beta1.ManagementSettings, + com.google.cloud.domains.v1beta1.ManagementSettings.Builder, + com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> + managementSettingsBuilder_; /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; + * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; + * * @return The managementSettings. */ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() + : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ - public Builder setManagementSettings(com.google.cloud.domains.v1beta1.ManagementSettings value) { + public Builder setManagementSettings( + com.google.cloud.domains.v1beta1.ManagementSettings value) { if (managementSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -766,6 +873,8 @@ public Builder setManagementSettings(com.google.cloud.domains.v1beta1.Management return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -784,17 +893,22 @@ public Builder setManagementSettings( return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ - public Builder mergeManagementSettings(com.google.cloud.domains.v1beta1.ManagementSettings value) { + public Builder mergeManagementSettings( + com.google.cloud.domains.v1beta1.ManagementSettings value) { if (managementSettingsBuilder_ == null) { if (managementSettings_ != null) { managementSettings_ = - com.google.cloud.domains.v1beta1.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.ManagementSettings.newBuilder(managementSettings_) + .mergeFrom(value) + .buildPartial(); } else { managementSettings_ = value; } @@ -806,6 +920,8 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1beta1.Manageme return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -824,33 +940,42 @@ public Builder clearManagementSettings() { return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ - public com.google.cloud.domains.v1beta1.ManagementSettings.Builder getManagementSettingsBuilder() { - + public com.google.cloud.domains.v1beta1.ManagementSettings.Builder + getManagementSettingsBuilder() { + onChanged(); return getManagementSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ - public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() { + public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder + getManagementSettingsOrBuilder() { if (managementSettingsBuilder_ != null) { return managementSettingsBuilder_.getMessageOrBuilder(); } else { - return managementSettings_ == null ? - com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() + : managementSettings_; } } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -858,14 +983,17 @@ public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagemen * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> + com.google.cloud.domains.v1beta1.ManagementSettings, + com.google.cloud.domains.v1beta1.ManagementSettings.Builder, + com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> getManagementSettingsFieldBuilder() { if (managementSettingsBuilder_ == null) { - managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder>( - getManagementSettings(), - getParentForChildren(), - isClean()); + managementSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ManagementSettings, + com.google.cloud.domains.v1beta1.ManagementSettings.Builder, + com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder>( + getManagementSettings(), getParentForChildren(), isClean()); managementSettings_ = null; } return managementSettingsBuilder_; @@ -873,45 +1001,61 @@ public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagemen private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -927,16 +1071,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -947,19 +1093,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -971,13 +1120,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -991,61 +1143,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the transfer lock is being updated, the `update_mask`
      * is `"transfer_lock_state"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1055,30 +1220,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) - private static final com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest(); } - public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigureManagementSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConfigureManagementSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigureManagementSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConfigureManagementSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1090,9 +1257,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java index bfb71d70..67e5c055 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ConfigureManagementSettingsRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ConfigureManagementSettingsRequestOrBuilder extends +public interface ConfigureManagementSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ java.lang.String getRegistration(); /** + * + * *
    * Required. The name of the `Registration` whose management settings are being updated,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - com.google.protobuf.ByteString - getRegistrationBytes(); + com.google.protobuf.ByteString getRegistrationBytes(); /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; + * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 2; + * * @return The managementSettings. */ com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings(); /** + * + * *
    * Fields of the `ManagementSettings` to update.
    * 
@@ -57,35 +90,46 @@ public interface ConfigureManagementSettingsRequestOrBuilder extends com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the transfer lock is being updated, the `update_mask`
    * is `"transfer_lock_state"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java index 494222df..fc252847 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactNotice.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Notices related to contact information.
  * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.ContactNotice} */ -public enum ContactNotice - implements com.google.protobuf.ProtocolMessageEnum { +public enum ContactNotice implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The notice is undefined.
    * 
@@ -21,6 +39,8 @@ public enum ContactNotice */ CONTACT_NOTICE_UNSPECIFIED(0), /** + * + * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -33,6 +53,8 @@ public enum ContactNotice
   ;
 
   /**
+   *
+   *
    * 
    * The notice is undefined.
    * 
@@ -41,6 +63,8 @@ public enum ContactNotice */ public static final int CONTACT_NOTICE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Required when setting the `privacy` field of `ContactSettings` to
    * `PUBLIC_CONTACT_DATA`, which exposes contact data publicly.
@@ -50,7 +74,6 @@ public enum ContactNotice
    */
   public static final int PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT_VALUE = 1;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -75,48 +98,47 @@ public static ContactNotice valueOf(int value) {
    */
   public static ContactNotice forNumber(int value) {
     switch (value) {
-      case 0: return CONTACT_NOTICE_UNSPECIFIED;
-      case 1: return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
-      default: return null;
+      case 0:
+        return CONTACT_NOTICE_UNSPECIFIED;
+      case 1:
+        return PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT;
+      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<
-      ContactNotice> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ContactNotice findValueByNumber(int number) {
-            return ContactNotice.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 ContactNotice findValueByNumber(int number) {
+          return ContactNotice.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.domains.v1beta1.DomainsProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final ContactNotice[] VALUES = values();
 
-  public static ContactNotice valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactNotice 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;
@@ -132,4 +154,3 @@ private ContactNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1beta1.ContactNotice)
 }
-
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java
similarity index 75%
rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java
rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java
index 2674f6a6..d9e6a204 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java
+++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactPrivacy.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1beta1/domains.proto
 
 package com.google.cloud.domains.v1beta1;
 
 /**
+ *
+ *
  * 
  * Defines a set of possible contact privacy settings for a `Registration`.
  * [ICANN](https://icann.org/) maintains the WHOIS database, a publicly
@@ -14,9 +31,10 @@
  *
  * Protobuf enum {@code google.cloud.domains.v1beta1.ContactPrivacy}
  */
-public enum ContactPrivacy
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ContactPrivacy implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -25,6 +43,8 @@ public enum ContactPrivacy */ CONTACT_PRIVACY_UNSPECIFIED(0), /** + * + * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -36,6 +56,8 @@ public enum ContactPrivacy
    */
   PUBLIC_CONTACT_DATA(1),
   /**
+   *
+   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -47,6 +69,8 @@ public enum ContactPrivacy
    */
   PRIVATE_CONTACT_DATA(2),
   /**
+   *
+   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -61,6 +85,8 @@ public enum ContactPrivacy
   ;
 
   /**
+   *
+   *
    * 
    * The contact privacy settings are undefined.
    * 
@@ -69,6 +95,8 @@ public enum ContactPrivacy */ public static final int CONTACT_PRIVACY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * All the data from `ContactSettings` is publicly available. When setting
    * this option, you must also provide a
@@ -80,6 +108,8 @@ public enum ContactPrivacy
    */
   public static final int PUBLIC_CONTACT_DATA_VALUE = 1;
   /**
+   *
+   *
    * 
    * None of the data from `ContactSettings` is publicly available. Instead,
    * proxy contact data is published for your domain. Email sent to the proxy
@@ -91,6 +121,8 @@ public enum ContactPrivacy
    */
   public static final int PRIVATE_CONTACT_DATA_VALUE = 2;
   /**
+   *
+   *
    * 
    * Some data from `ContactSettings` is publicly available. The actual
    * information redacted depends on the domain. For details, see [the
@@ -102,7 +134,6 @@ public enum ContactPrivacy
    */
   public static final int REDACTED_CONTACT_DATA_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -127,50 +158,51 @@ public static ContactPrivacy valueOf(int value) {
    */
   public static ContactPrivacy forNumber(int value) {
     switch (value) {
-      case 0: return CONTACT_PRIVACY_UNSPECIFIED;
-      case 1: return PUBLIC_CONTACT_DATA;
-      case 2: return PRIVATE_CONTACT_DATA;
-      case 3: return REDACTED_CONTACT_DATA;
-      default: return null;
+      case 0:
+        return CONTACT_PRIVACY_UNSPECIFIED;
+      case 1:
+        return PUBLIC_CONTACT_DATA;
+      case 2:
+        return PRIVATE_CONTACT_DATA;
+      case 3:
+        return REDACTED_CONTACT_DATA;
+      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<
-      ContactPrivacy> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ContactPrivacy findValueByNumber(int number) {
-            return ContactPrivacy.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 ContactPrivacy findValueByNumber(int number) {
+          return ContactPrivacy.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.domains.v1beta1.DomainsProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final ContactPrivacy[] VALUES = values();
 
-  public static ContactPrivacy valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ContactPrivacy 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;
@@ -186,4 +218,3 @@ private ContactPrivacy(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1beta1.ContactPrivacy)
 }
-
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java
similarity index 66%
rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java
rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java
index c2c5cb14..4adae71f 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java
+++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettings.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1beta1/domains.proto
 
 package com.google.cloud.domains.v1beta1;
 
 /**
+ *
+ *
  * 
  * Defines the contact information associated with a `Registration`.
  * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -13,31 +30,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1beta1.ContactSettings}
  */
-public final class ContactSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContactSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ContactSettings)
     ContactSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContactSettings.newBuilder() to construct.
   private ContactSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ContactSettings() {
     privacy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ContactSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ContactSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,58 +73,71 @@ private ContactSettings(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            privacy_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
-            if (registrantContact_ != null) {
-              subBuilder = registrantContact_.toBuilder();
-            }
-            registrantContact_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(registrantContact_);
-              registrantContact_ = subBuilder.buildPartial();
+              privacy_ = rawValue;
+              break;
             }
+          case 18:
+            {
+              com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
+              if (registrantContact_ != null) {
+                subBuilder = registrantContact_.toBuilder();
+              }
+              registrantContact_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(registrantContact_);
+                registrantContact_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
-            if (adminContact_ != null) {
-              subBuilder = adminContact_.toBuilder();
-            }
-            adminContact_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(adminContact_);
-              adminContact_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
+              if (adminContact_ != null) {
+                subBuilder = adminContact_.toBuilder();
+              }
+              adminContact_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(adminContact_);
+                adminContact_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 34: {
-            com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
-            if (technicalContact_ != null) {
-              subBuilder = technicalContact_.toBuilder();
-            }
-            technicalContact_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(technicalContact_);
-              technicalContact_ = subBuilder.buildPartial();
+              break;
             }
+          case 34:
+            {
+              com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder subBuilder = null;
+              if (technicalContact_ != null) {
+                subBuilder = technicalContact_.toBuilder();
+              }
+              technicalContact_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1beta1.ContactSettings.Contact.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(technicalContact_);
+                technicalContact_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,137 +145,172 @@ private ContactSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.domains.v1beta1.DomainsProto
+        .internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1beta1.DomainsProto
+        .internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1beta1.ContactSettings.class, com.google.cloud.domains.v1beta1.ContactSettings.Builder.class);
+            com.google.cloud.domains.v1beta1.ContactSettings.class,
+            com.google.cloud.domains.v1beta1.ContactSettings.Builder.class);
   }
 
-  public interface ContactOrBuilder extends
+  public interface ContactOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ContactSettings.Contact)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder(); /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The email. */ java.lang.String getEmail(); /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for email. */ - com.google.protobuf.ByteString - getEmailBytes(); + com.google.protobuf.ByteString getEmailBytes(); /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phoneNumber. */ java.lang.String getPhoneNumber(); /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phoneNumber. */ - com.google.protobuf.ByteString - getPhoneNumberBytes(); + com.google.protobuf.ByteString getPhoneNumberBytes(); /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The faxNumber. */ java.lang.String getFaxNumber(); /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The bytes for faxNumber. */ - com.google.protobuf.ByteString - getFaxNumberBytes(); + com.google.protobuf.ByteString getFaxNumberBytes(); } /** + * + * *
    * Details required for a contact associated with a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ContactSettings.Contact} */ - public static final class Contact extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Contact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ContactSettings.Contact) ContactOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Contact.newBuilder() to construct. private Contact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Contact() { email_ = ""; phoneNumber_ = ""; @@ -254,16 +319,15 @@ private Contact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Contact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Contact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -282,44 +346,49 @@ private Contact( case 0: done = true; break; - case 10: { - com.google.type.PostalAddress.Builder subBuilder = null; - if (postalAddress_ != null) { - subBuilder = postalAddress_.toBuilder(); - } - postalAddress_ = input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(postalAddress_); - postalAddress_ = subBuilder.buildPartial(); + case 10: + { + com.google.type.PostalAddress.Builder subBuilder = null; + if (postalAddress_ != null) { + subBuilder = postalAddress_.toBuilder(); + } + postalAddress_ = + input.readMessage(com.google.type.PostalAddress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(postalAddress_); + postalAddress_ = subBuilder.buildPartial(); + } + + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - email_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + email_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - phoneNumber_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + phoneNumber_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - faxNumber_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + faxNumber_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -327,34 +396,41 @@ private Contact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ContactSettings.Contact.class, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1beta1.ContactSettings.Contact.class, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder.class); } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 1; private com.google.type.PostalAddress postalAddress_; /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -362,23 +438,34 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } /** + * + * *
      * Required. Postal address of the contact.
      * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { @@ -388,11 +475,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { public static final int EMAIL_FIELD_NUMBER = 2; private volatile java.lang.Object email_; /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The email. */ @java.lang.Override @@ -401,29 +491,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** + * + * *
      * Required. Email address of the contact.
      * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -434,12 +524,15 @@ public java.lang.String getEmail() { public static final int PHONE_NUMBER_FIELD_NUMBER = 3; private volatile java.lang.Object phoneNumber_; /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phoneNumber. */ @java.lang.Override @@ -448,30 +541,30 @@ public java.lang.String getPhoneNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; } } /** + * + * *
      * Required. Phone number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phoneNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhoneNumberBytes() { + public com.google.protobuf.ByteString getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -482,12 +575,15 @@ public java.lang.String getPhoneNumber() { public static final int FAX_NUMBER_FIELD_NUMBER = 4; private volatile java.lang.Object faxNumber_; /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The faxNumber. */ @java.lang.Override @@ -496,30 +592,30 @@ public java.lang.String getFaxNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; } } /** + * + * *
      * Fax number of the contact in international format. For example,
      * `"+1-800-555-0123"`.
      * 
* * string fax_number = 4; + * * @return The bytes for faxNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getFaxNumberBytes() { + public com.google.protobuf.ByteString getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -528,6 +624,7 @@ public java.lang.String getFaxNumber() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -539,8 +636,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (postalAddress_ != null) { output.writeMessage(1, getPostalAddress()); } @@ -563,8 +659,7 @@ public int getSerializedSize() { size = 0; if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPostalAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_); @@ -583,24 +678,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.domains.v1beta1.ContactSettings.Contact)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ContactSettings.Contact other = (com.google.cloud.domains.v1beta1.ContactSettings.Contact) obj; + com.google.cloud.domains.v1beta1.ContactSettings.Contact other = + (com.google.cloud.domains.v1beta1.ContactSettings.Contact) obj; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress() - .equals(other.getPostalAddress())) return false; - } - if (!getEmail() - .equals(other.getEmail())) return false; - if (!getPhoneNumber() - .equals(other.getPhoneNumber())) return false; - if (!getFaxNumber() - .equals(other.getFaxNumber())) return false; + if (!getPostalAddress().equals(other.getPostalAddress())) return false; + } + if (!getEmail().equals(other.getEmail())) return false; + if (!getPhoneNumber().equals(other.getPhoneNumber())) return false; + if (!getFaxNumber().equals(other.getFaxNumber())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -628,87 +720,94 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ContactSettings.Contact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.ContactSettings.Contact prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.ContactSettings.Contact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -718,27 +817,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details required for a contact associated with a `Registration`.
      * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ContactSettings.Contact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ContactSettings.Contact) com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ContactSettings.Contact.class, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder.class); + com.google.cloud.domains.v1beta1.ContactSettings.Contact.class, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder() @@ -746,16 +850,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -775,9 +878,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor; } @java.lang.Override @@ -796,7 +899,8 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Contact build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings.Contact buildPartial() { - com.google.cloud.domains.v1beta1.ContactSettings.Contact result = new com.google.cloud.domains.v1beta1.ContactSettings.Contact(this); + com.google.cloud.domains.v1beta1.ContactSettings.Contact result = + new com.google.cloud.domains.v1beta1.ContactSettings.Contact(this); if (postalAddressBuilder_ == null) { result.postalAddress_ = postalAddress_; } else { @@ -813,38 +917,41 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Contact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1beta1.ContactSettings.Contact) { - return mergeFrom((com.google.cloud.domains.v1beta1.ContactSettings.Contact)other); + return mergeFrom((com.google.cloud.domains.v1beta1.ContactSettings.Contact) other); } else { super.mergeFrom(other); return this; @@ -852,7 +959,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ContactSettings.Contact other) { - if (other == com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance()) + return this; if (other.hasPostalAddress()) { mergePostalAddress(other.getPostalAddress()); } @@ -887,7 +995,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.ContactSettings.Contact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.ContactSettings.Contact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -899,39 +1008,58 @@ public Builder mergeFrom( private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> + postalAddressBuilder_; /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { @@ -947,14 +1075,17 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPostalAddress( - com.google.type.PostalAddress.Builder builderForValue) { + public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) { if (postalAddressBuilder_ == null) { postalAddress_ = builderForValue.build(); onChanged(); @@ -965,17 +1096,23 @@ public Builder setPostalAddress( return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePostalAddress(com.google.type.PostalAddress value) { if (postalAddressBuilder_ == null) { if (postalAddress_ != null) { postalAddress_ = - com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial(); + com.google.type.PostalAddress.newBuilder(postalAddress_) + .mergeFrom(value) + .buildPartial(); } else { postalAddress_ = value; } @@ -987,11 +1124,15 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPostalAddress() { if (postalAddressBuilder_ == null) { @@ -1005,48 +1146,64 @@ public Builder clearPostalAddress() { return this; } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.PostalAddress.Builder getPostalAddressBuilder() { - + onChanged(); return getPostalAddressFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { if (postalAddressBuilder_ != null) { return postalAddressBuilder_.getMessageOrBuilder(); } else { - return postalAddress_ == null ? - com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } } /** + * + * *
        * Required. Postal address of the contact.
        * 
* - * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> getPostalAddressFieldBuilder() { if (postalAddressBuilder_ == null) { - postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( - getPostalAddress(), - getParentForChildren(), - isClean()); + postalAddressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder>( + getPostalAddress(), getParentForChildren(), isClean()); postalAddress_ = null; } return postalAddressBuilder_; @@ -1054,18 +1211,20 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() { private java.lang.Object email_ = ""; /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -1074,20 +1233,21 @@ public java.lang.String getEmail() { } } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for email. */ - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -1095,54 +1255,61 @@ public java.lang.String getEmail() { } } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail( - java.lang.String value) { + public Builder setEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** + * + * *
        * Required. Email address of the contact.
        * 
* * string email = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; @@ -1150,19 +1317,21 @@ public Builder setEmailBytes( private java.lang.Object phoneNumber_ = ""; /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The phoneNumber. */ public java.lang.String getPhoneNumber() { java.lang.Object ref = phoneNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; @@ -1171,21 +1340,22 @@ public java.lang.String getPhoneNumber() { } } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for phoneNumber. */ - public com.google.protobuf.ByteString - getPhoneNumberBytes() { + public com.google.protobuf.ByteString getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -1193,57 +1363,64 @@ public java.lang.String getPhoneNumber() { } } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumber( - java.lang.String value) { + public Builder setPhoneNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phoneNumber_ = value; onChanged(); return this; } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPhoneNumber() { - + phoneNumber_ = getDefaultInstance().getPhoneNumber(); onChanged(); return this; } /** + * + * *
        * Required. Phone number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string phone_number = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phoneNumber_ = value; onChanged(); return this; @@ -1251,19 +1428,21 @@ public Builder setPhoneNumberBytes( private java.lang.Object faxNumber_ = ""; /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @return The faxNumber. */ public java.lang.String getFaxNumber() { java.lang.Object ref = faxNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); faxNumber_ = s; return s; @@ -1272,21 +1451,22 @@ public java.lang.String getFaxNumber() { } } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @return The bytes for faxNumber. */ - public com.google.protobuf.ByteString - getFaxNumberBytes() { + public com.google.protobuf.ByteString getFaxNumberBytes() { java.lang.Object ref = faxNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); faxNumber_ = b; return b; } else { @@ -1294,61 +1474,69 @@ public java.lang.String getFaxNumber() { } } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @param value The faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumber( - java.lang.String value) { + public Builder setFaxNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + faxNumber_ = value; onChanged(); return this; } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @return This builder for chaining. */ public Builder clearFaxNumber() { - + faxNumber_ = getDefaultInstance().getFaxNumber(); onChanged(); return this; } /** + * + * *
        * Fax number of the contact in international format. For example,
        * `"+1-800-555-0123"`.
        * 
* * string fax_number = 4; + * * @param value The bytes for faxNumber to set. * @return This builder for chaining. */ - public Builder setFaxNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setFaxNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + faxNumber_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1361,12 +1549,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ContactSettings.Contact) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ContactSettings.Contact) private static final com.google.cloud.domains.v1beta1.ContactSettings.Contact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ContactSettings.Contact(); } @@ -1375,16 +1563,16 @@ public static com.google.cloud.domains.v1beta1.ContactSettings.Contact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Contact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Contact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Contact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Contact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1399,39 +1587,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.ContactSettings.Contact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PRIVACY_FIELD_NUMBER = 1; private int privacy_; /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override public int getPrivacyValue() { + @java.lang.Override + public int getPrivacyValue() { return privacy_; } /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The privacy. */ - @java.lang.Override public com.google.cloud.domains.v1beta1.ContactPrivacy getPrivacy() { + @java.lang.Override + public com.google.cloud.domains.v1beta1.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactPrivacy result = com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(privacy_); + com.google.cloud.domains.v1beta1.ContactPrivacy result = + com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(privacy_); return result == null ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED : result; } public static final int REGISTRANT_CONTACT_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.ContactSettings.Contact registrantContact_; /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1441,7 +1643,10 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getDefaultInstan
    * suspension.*
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registrantContact field is set. */ @java.lang.Override @@ -1449,6 +1654,8 @@ public boolean hasRegistrantContact() { return registrantContact_ != null; } /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1458,14 +1665,21 @@ public boolean hasRegistrantContact() {
    * suspension.*
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registrantContact. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings.Contact getRegistrantContact() { - return registrantContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; + return registrantContact_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() + : registrantContact_; } /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1475,21 +1689,29 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getRegistrantCon
    * suspension.*
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder + getRegistrantContactOrBuilder() { return getRegistrantContact(); } public static final int ADMIN_CONTACT_FIELD_NUMBER = 3; private com.google.cloud.domains.v1beta1.ContactSettings.Contact adminContact_; /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adminContact field is set. */ @java.lang.Override @@ -1497,37 +1719,54 @@ public boolean hasAdminContact() { return adminContact_ != null; } /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adminContact. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings.Contact getAdminContact() { - return adminContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : adminContact_; + return adminContact_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() + : adminContact_; } /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder + getAdminContactOrBuilder() { return getAdminContact(); } public static final int TECHNICAL_CONTACT_FIELD_NUMBER = 4; private com.google.cloud.domains.v1beta1.ContactSettings.Contact technicalContact_; /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the technicalContact field is set. */ @java.lang.Override @@ -1535,30 +1774,43 @@ public boolean hasTechnicalContact() { return technicalContact_ != null; } /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The technicalContact. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings.Contact getTechnicalContact() { - return technicalContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; + return technicalContact_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() + : technicalContact_; } /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder + getTechnicalContactOrBuilder() { return getTechnicalContact(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1570,9 +1822,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (privacy_ != com.google.cloud.domains.v1beta1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (privacy_ + != com.google.cloud.domains.v1beta1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED + .getNumber()) { output.writeEnum(1, privacy_); } if (registrantContact_ != null) { @@ -1593,21 +1846,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (privacy_ != com.google.cloud.domains.v1beta1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, privacy_); + if (privacy_ + != com.google.cloud.domains.v1beta1.ContactPrivacy.CONTACT_PRIVACY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, privacy_); } if (registrantContact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRegistrantContact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistrantContact()); } if (adminContact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAdminContact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAdminContact()); } if (technicalContact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTechnicalContact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTechnicalContact()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1617,28 +1868,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.domains.v1beta1.ContactSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ContactSettings other = (com.google.cloud.domains.v1beta1.ContactSettings) obj; + com.google.cloud.domains.v1beta1.ContactSettings other = + (com.google.cloud.domains.v1beta1.ContactSettings) obj; if (privacy_ != other.privacy_) return false; if (hasRegistrantContact() != other.hasRegistrantContact()) return false; if (hasRegistrantContact()) { - if (!getRegistrantContact() - .equals(other.getRegistrantContact())) return false; + if (!getRegistrantContact().equals(other.getRegistrantContact())) return false; } if (hasAdminContact() != other.hasAdminContact()) return false; if (hasAdminContact()) { - if (!getAdminContact() - .equals(other.getAdminContact())) return false; + if (!getAdminContact().equals(other.getAdminContact())) return false; } if (hasTechnicalContact() != other.hasTechnicalContact()) return false; if (hasTechnicalContact()) { - if (!getTechnicalContact() - .equals(other.getTechnicalContact())) return false; + if (!getTechnicalContact().equals(other.getTechnicalContact())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1670,97 +1919,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ContactSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ContactSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ContactSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ContactSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1beta1.ContactSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines the contact information associated with a `Registration`.
    * [ICANN](https://icann.org/) requires all domain names to have associated
@@ -1770,21 +2026,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.ContactSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ContactSettings)
       com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.ContactSettings.class, com.google.cloud.domains.v1beta1.ContactSettings.Builder.class);
+              com.google.cloud.domains.v1beta1.ContactSettings.class,
+              com.google.cloud.domains.v1beta1.ContactSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1beta1.ContactSettings.newBuilder()
@@ -1792,16 +2050,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1829,9 +2086,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
     }
 
     @java.lang.Override
@@ -1850,7 +2107,8 @@ public com.google.cloud.domains.v1beta1.ContactSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1beta1.ContactSettings buildPartial() {
-      com.google.cloud.domains.v1beta1.ContactSettings result = new com.google.cloud.domains.v1beta1.ContactSettings(this);
+      com.google.cloud.domains.v1beta1.ContactSettings result =
+          new com.google.cloud.domains.v1beta1.ContactSettings(this);
       result.privacy_ = privacy_;
       if (registrantContactBuilder_ == null) {
         result.registrantContact_ = registrantContact_;
@@ -1875,38 +2133,39 @@ public com.google.cloud.domains.v1beta1.ContactSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1beta1.ContactSettings) {
-        return mergeFrom((com.google.cloud.domains.v1beta1.ContactSettings)other);
+        return mergeFrom((com.google.cloud.domains.v1beta1.ContactSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1914,7 +2173,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.domains.v1beta1.ContactSettings other) {
-      if (other == com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance()) return this;
+      if (other == com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance())
+        return this;
       if (other.privacy_ != 0) {
         setPrivacyValue(other.getPrivacyValue());
       }
@@ -1958,51 +2218,73 @@ public Builder mergeFrom(
 
     private int privacy_ = 0;
     /**
+     *
+     *
      * 
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for privacy. */ - @java.lang.Override public int getPrivacyValue() { + @java.lang.Override + public int getPrivacyValue() { return privacy_; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for privacy to set. * @return This builder for chaining. */ public Builder setPrivacyValue(int value) { - + privacy_ = value; onChanged(); return this; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The privacy. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactPrivacy getPrivacy() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactPrivacy result = com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(privacy_); + com.google.cloud.domains.v1beta1.ContactPrivacy result = + com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(privacy_); return result == null ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED : result; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The privacy to set. * @return This builder for chaining. */ @@ -2010,21 +2292,26 @@ public Builder setPrivacy(com.google.cloud.domains.v1beta1.ContactPrivacy value) if (value == null) { throw new NullPointerException(); } - + privacy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Privacy setting for the contacts associated with the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearPrivacy() { - + privacy_ = 0; onChanged(); return this; @@ -2032,8 +2319,13 @@ public Builder clearPrivacy() { private com.google.cloud.domains.v1beta1.ContactSettings.Contact registrantContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> registrantContactBuilder_; + com.google.cloud.domains.v1beta1.ContactSettings.Contact, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> + registrantContactBuilder_; /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2043,13 +2335,18 @@ public Builder clearPrivacy() {
      * suspension.*
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registrantContact field is set. */ public boolean hasRegistrantContact() { return registrantContactBuilder_ != null || registrantContact_ != null; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2059,17 +2356,24 @@ public boolean hasRegistrantContact() {
      * suspension.*
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registrantContact. */ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getRegistrantContact() { if (registrantContactBuilder_ == null) { - return registrantContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; + return registrantContact_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() + : registrantContact_; } else { return registrantContactBuilder_.getMessage(); } } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2079,9 +2383,12 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getRegistrantCon
      * suspension.*
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRegistrantContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { + public Builder setRegistrantContact( + com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2095,6 +2402,8 @@ public Builder setRegistrantContact(com.google.cloud.domains.v1beta1.ContactSett return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2104,7 +2413,9 @@ public Builder setRegistrantContact(com.google.cloud.domains.v1beta1.ContactSett
      * suspension.*
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistrantContact( com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder builderForValue) { @@ -2118,6 +2429,8 @@ public Builder setRegistrantContact( return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2127,13 +2440,19 @@ public Builder setRegistrantContact(
      * suspension.*
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeRegistrantContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { + public Builder mergeRegistrantContact( + com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (registrantContactBuilder_ == null) { if (registrantContact_ != null) { registrantContact_ = - com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder(registrantContact_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder( + registrantContact_) + .mergeFrom(value) + .buildPartial(); } else { registrantContact_ = value; } @@ -2145,6 +2464,8 @@ public Builder mergeRegistrantContact(com.google.cloud.domains.v1beta1.ContactSe return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2154,7 +2475,9 @@ public Builder mergeRegistrantContact(com.google.cloud.domains.v1beta1.ContactSe
      * suspension.*
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRegistrantContact() { if (registrantContactBuilder_ == null) { @@ -2168,6 +2491,8 @@ public Builder clearRegistrantContact() { return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2177,14 +2502,19 @@ public Builder clearRegistrantContact() {
      * suspension.*
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder getRegistrantContactBuilder() { - + public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder + getRegistrantContactBuilder() { + onChanged(); return getRegistrantContactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2194,17 +2524,23 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder getRegis
      * suspension.*
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder + getRegistrantContactOrBuilder() { if (registrantContactBuilder_ != null) { return registrantContactBuilder_.getMessageOrBuilder(); } else { - return registrantContact_ == null ? - com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : registrantContact_; + return registrantContact_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() + : registrantContact_; } } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2214,17 +2550,22 @@ public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getRegi
      * suspension.*
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings.Contact, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> getRegistrantContactFieldBuilder() { if (registrantContactBuilder_ == null) { - registrantContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( - getRegistrantContact(), - getParentForChildren(), - isClean()); + registrantContactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings.Contact, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( + getRegistrantContact(), getParentForChildren(), isClean()); registrantContact_ = null; } return registrantContactBuilder_; @@ -2232,39 +2573,58 @@ public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getRegi private com.google.cloud.domains.v1beta1.ContactSettings.Contact adminContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> adminContactBuilder_; + com.google.cloud.domains.v1beta1.ContactSettings.Contact, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> + adminContactBuilder_; /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adminContact field is set. */ public boolean hasAdminContact() { return adminContactBuilder_ != null || adminContact_ != null; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adminContact. */ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getAdminContact() { if (adminContactBuilder_ == null) { - return adminContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : adminContact_; + return adminContact_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() + : adminContact_; } else { return adminContactBuilder_.getMessage(); } } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdminContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { @@ -2280,11 +2640,15 @@ public Builder setAdminContact(com.google.cloud.domains.v1beta1.ContactSettings. return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdminContact( com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder builderForValue) { @@ -2298,17 +2662,24 @@ public Builder setAdminContact( return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAdminContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { + public Builder mergeAdminContact( + com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (adminContactBuilder_ == null) { if (adminContact_ != null) { adminContact_ = - com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder(adminContact_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder(adminContact_) + .mergeFrom(value) + .buildPartial(); } else { adminContact_ = value; } @@ -2320,11 +2691,15 @@ public Builder mergeAdminContact(com.google.cloud.domains.v1beta1.ContactSetting return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAdminContact() { if (adminContactBuilder_ == null) { @@ -2338,48 +2713,66 @@ public Builder clearAdminContact() { return this; } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder getAdminContactBuilder() { - + public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder + getAdminContactBuilder() { + onChanged(); return getAdminContactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder + getAdminContactOrBuilder() { if (adminContactBuilder_ != null) { return adminContactBuilder_.getMessageOrBuilder(); } else { - return adminContact_ == null ? - com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : adminContact_; + return adminContact_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() + : adminContact_; } } /** + * + * *
      * Required. The administrative contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings.Contact, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> getAdminContactFieldBuilder() { if (adminContactBuilder_ == null) { - adminContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( - getAdminContact(), - getParentForChildren(), - isClean()); + adminContactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings.Contact, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( + getAdminContact(), getParentForChildren(), isClean()); adminContact_ = null; } return adminContactBuilder_; @@ -2387,41 +2780,61 @@ public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getAdmi private com.google.cloud.domains.v1beta1.ContactSettings.Contact technicalContact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> technicalContactBuilder_; + com.google.cloud.domains.v1beta1.ContactSettings.Contact, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> + technicalContactBuilder_; /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the technicalContact field is set. */ public boolean hasTechnicalContact() { return technicalContactBuilder_ != null || technicalContact_ != null; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The technicalContact. */ public com.google.cloud.domains.v1beta1.ContactSettings.Contact getTechnicalContact() { if (technicalContactBuilder_ == null) { - return technicalContact_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; + return technicalContact_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() + : technicalContact_; } else { return technicalContactBuilder_.getMessage(); } } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTechnicalContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { + public Builder setTechnicalContact( + com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2435,11 +2848,15 @@ public Builder setTechnicalContact(com.google.cloud.domains.v1beta1.ContactSetti return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTechnicalContact( com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder builderForValue) { @@ -2453,17 +2870,24 @@ public Builder setTechnicalContact( return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTechnicalContact(com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { + public Builder mergeTechnicalContact( + com.google.cloud.domains.v1beta1.ContactSettings.Contact value) { if (technicalContactBuilder_ == null) { if (technicalContact_ != null) { technicalContact_ = - com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder(technicalContact_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.Contact.newBuilder(technicalContact_) + .mergeFrom(value) + .buildPartial(); } else { technicalContact_ = value; } @@ -2475,11 +2899,15 @@ public Builder mergeTechnicalContact(com.google.cloud.domains.v1beta1.ContactSet return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTechnicalContact() { if (technicalContactBuilder_ == null) { @@ -2493,55 +2921,73 @@ public Builder clearTechnicalContact() { return this; } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder getTechnicalContactBuilder() { - + public com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder + getTechnicalContactBuilder() { + onChanged(); return getTechnicalContactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder + getTechnicalContactOrBuilder() { if (technicalContactBuilder_ != null) { return technicalContactBuilder_.getMessageOrBuilder(); } else { - return technicalContact_ == null ? - com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() : technicalContact_; + return technicalContact_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.Contact.getDefaultInstance() + : technicalContact_; } } /** + * + * *
      * Required. The technical contact for the `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings.Contact, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder> getTechnicalContactFieldBuilder() { if (technicalContactBuilder_ == null) { - technicalContactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings.Contact, com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( - getTechnicalContact(), - getParentForChildren(), - isClean()); + technicalContactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings.Contact, + com.google.cloud.domains.v1beta1.ContactSettings.Contact.Builder, + com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder>( + getTechnicalContact(), getParentForChildren(), isClean()); technicalContact_ = null; } return technicalContactBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2551,12 +2997,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ContactSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ContactSettings) private static final com.google.cloud.domains.v1beta1.ContactSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ContactSettings(); } @@ -2565,16 +3011,16 @@ public static com.google.cloud.domains.v1beta1.ContactSettings getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContactSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContactSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContactSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContactSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2589,6 +3035,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.ContactSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java index 62f490db..a8d56a2f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ContactSettingsOrBuilder.java @@ -1,32 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ContactSettingsOrBuilder extends +public interface ContactSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ContactSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for privacy. */ int getPrivacyValue(); /** + * + * *
    * Required. Privacy setting for the contacts associated with the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The privacy. */ com.google.cloud.domains.v1beta1.ContactPrivacy getPrivacy(); /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -36,11 +64,16 @@ public interface ContactSettingsOrBuilder extends
    * suspension.*
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registrantContact field is set. */ boolean hasRegistrantContact(); /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -50,11 +83,16 @@ public interface ContactSettingsOrBuilder extends
    * suspension.*
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registrantContact. */ com.google.cloud.domains.v1beta1.ContactSettings.Contact getRegistrantContact(); /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -64,61 +102,91 @@ public interface ContactSettingsOrBuilder extends
    * suspension.*
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder(); /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adminContact field is set. */ boolean hasAdminContact(); /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adminContact. */ com.google.cloud.domains.v1beta1.ContactSettings.Contact getAdminContact(); /** + * + * *
    * Required. The administrative contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getAdminContactOrBuilder(); /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the technicalContact field is set. */ boolean hasTechnicalContact(); /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The technicalContact. */ com.google.cloud.domains.v1beta1.ContactSettings.Contact getTechnicalContact(); /** + * + * *
    * Required. The technical contact for the `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1beta1.ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java index 48cb77e0..c2b34ce1 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `DeleteRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.DeleteRegistrationRequest} */ -public final class DeleteRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DeleteRegistrationRequest) DeleteRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRegistrationRequest.newBuilder() to construct. private DeleteRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRegistrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.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 @@ -110,30 +135,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 `Registration` to delete,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.domains.v1beta1.DeleteRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest other = (com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) obj; + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest other = + (com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `DeleteRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.DeleteRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DeleteRegistrationRequest) com.google.cloud.domains.v1beta1.DeleteRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.class, + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.domains.v1beta1.DeleteRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.DeleteRegistrationRequest buildPartial() { - com.google.cloud.domains.v1beta1.DeleteRegistrationRequest result = new com.google.cloud.domains.v1beta1.DeleteRegistrationRequest(this); + com.google.cloud.domains.v1beta1.DeleteRegistrationRequest result = + new com.google.cloud.domains.v1beta1.DeleteRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.domains.v1beta1.DeleteRegistrationRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.DeleteRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.DeleteRegistrationRequest other) { - if (other == com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.DeleteRegistrationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.DeleteRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to delete,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DeleteRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DeleteRegistrationRequest) private static final com.google.cloud.domains.v1beta1.DeleteRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DeleteRegistrationRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.domains.v1beta1.DeleteRegistrationRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1beta1.DeleteRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..146a1856 --- /dev/null +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DeleteRegistrationRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1beta1/domains.proto + +package com.google.cloud.domains.v1beta1; + +public interface DeleteRegistrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DeleteRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the `Registration` to delete,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * 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/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java similarity index 75% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java index 05c7cfce..b9ae9f0c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettings.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Defines the DNS configuration of a `Registration`, including name servers,
  * DNSSEC, and glue records.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings}
  */
-public final class DnsSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DnsSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DnsSettings)
     DnsSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DnsSettings.newBuilder() to construct.
   private DnsSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DnsSettings() {
     glueRecords_ = 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 DnsSettings();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DnsSettings(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,50 +72,68 @@ private DnsSettings(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder subBuilder = null;
-            if (dnsProviderCase_ == 1) {
-              subBuilder = ((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_).toBuilder();
-            }
-            dnsProvider_ =
-                input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_);
-              dnsProvider_ = subBuilder.buildPartial();
-            }
-            dnsProviderCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder subBuilder = null;
-            if (dnsProviderCase_ == 2) {
-              subBuilder = ((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_).toBuilder();
+          case 10:
+            {
+              com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder subBuilder = null;
+              if (dnsProviderCase_ == 1) {
+                subBuilder =
+                    ((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_)
+                        .toBuilder();
+              }
+              dnsProvider_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_);
+                dnsProvider_ = subBuilder.buildPartial();
+              }
+              dnsProviderCase_ = 1;
+              break;
             }
-            dnsProvider_ =
-                input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_);
-              dnsProvider_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder subBuilder =
+                  null;
+              if (dnsProviderCase_ == 2) {
+                subBuilder =
+                    ((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_)
+                        .toBuilder();
+              }
+              dnsProvider_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_);
+                dnsProvider_ = subBuilder.buildPartial();
+              }
+              dnsProviderCase_ = 2;
+              break;
             }
-            dnsProviderCase_ = 2;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              glueRecords_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                glueRecords_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              glueRecords_.add(
+                  input.readMessage(
+                      com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.parser(),
+                      extensionRegistry));
+              break;
             }
-            glueRecords_.add(
-                input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -106,8 +141,7 @@ private DnsSettings(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         glueRecords_ = java.util.Collections.unmodifiableList(glueRecords_);
@@ -116,29 +150,35 @@ private DnsSettings(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.domains.v1beta1.DomainsProto
+        .internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable
+    return com.google.cloud.domains.v1beta1.DomainsProto
+        .internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1beta1.DnsSettings.class, com.google.cloud.domains.v1beta1.DnsSettings.Builder.class);
+            com.google.cloud.domains.v1beta1.DnsSettings.class,
+            com.google.cloud.domains.v1beta1.DnsSettings.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The publication state of DS records for a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.DnsSettings.DsState} */ - public enum DsState - implements com.google.protobuf.ProtocolMessageEnum { + public enum DsState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * DS state is unspecified.
      * 
@@ -147,6 +187,8 @@ public enum DsState */ DS_STATE_UNSPECIFIED(0), /** + * + * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -156,6 +198,8 @@ public enum DsState
      */
     DS_RECORDS_UNPUBLISHED(1),
     /**
+     *
+     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -170,6 +214,8 @@ public enum DsState
     ;
 
     /**
+     *
+     *
      * 
      * DS state is unspecified.
      * 
@@ -178,6 +224,8 @@ public enum DsState */ public static final int DS_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * DNSSEC is disabled for this domain. No DS records for this domain are
      * published in the parent DNS zone.
@@ -187,6 +235,8 @@ public enum DsState
      */
     public static final int DS_RECORDS_UNPUBLISHED_VALUE = 1;
     /**
+     *
+     *
      * 
      * DNSSEC is enabled for this domain. Appropriate DS records for this domain
      * are published in the parent DNS zone. This option is valid only if the
@@ -198,7 +248,6 @@ public enum DsState
      */
     public static final int DS_RECORDS_PUBLISHED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -223,49 +272,49 @@ public static DsState valueOf(int value) {
      */
     public static DsState forNumber(int value) {
       switch (value) {
-        case 0: return DS_STATE_UNSPECIFIED;
-        case 1: return DS_RECORDS_UNPUBLISHED;
-        case 2: return DS_RECORDS_PUBLISHED;
-        default: return null;
+        case 0:
+          return DS_STATE_UNSPECIFIED;
+        case 1:
+          return DS_RECORDS_UNPUBLISHED;
+        case 2:
+          return DS_RECORDS_PUBLISHED;
+        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<
-        DsState> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DsState findValueByNumber(int number) {
-              return DsState.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 DsState findValueByNumber(int number) {
+            return DsState.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.domains.v1beta1.DnsSettings.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DsState[] VALUES = values();
 
-    public static DsState valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DsState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -282,11 +331,14 @@ private DsState(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1beta1.DnsSettings.DsState)
   }
 
-  public interface CustomDnsOrBuilder extends
+  public interface CustomDnsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DnsSettings.CustomDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -294,11 +346,13 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the nameServers. */ - java.util.List - getNameServersList(); + java.util.List getNameServersList(); /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -306,10 +360,13 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of nameServers. */ int getNameServersCount(); /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -317,11 +374,14 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -329,13 +389,15 @@ public interface CustomDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString - getNameServersBytes(int index); + com.google.protobuf.ByteString getNameServersBytes(int index); /** + * + * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -344,9 +406,10 @@ public interface CustomDnsOrBuilder extends
      *
      * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List 
-        getDsRecordsList();
+    java.util.List getDsRecordsList();
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -357,6 +420,8 @@ public interface CustomDnsOrBuilder extends
      */
     com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int index);
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -367,6 +432,8 @@ public interface CustomDnsOrBuilder extends
      */
     int getDsRecordsCount();
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -375,9 +442,11 @@ public interface CustomDnsOrBuilder extends
      *
      * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
      */
-    java.util.List 
+    java.util.List
         getDsRecordsOrBuilderList();
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -386,25 +455,27 @@ public interface CustomDnsOrBuilder extends
      *
      * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
      */
-    com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
-        int index);
+    com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * Configuration for an arbitrary DNS provider.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.CustomDns} */ - public static final class CustomDns extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CustomDns extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DnsSettings.CustomDns) CustomDnsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomDns.newBuilder() to construct. private CustomDns(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomDns() { nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; dsRecords_ = java.util.Collections.emptyList(); @@ -412,16 +483,15 @@ private CustomDns() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomDns(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CustomDns( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -441,31 +511,37 @@ private CustomDns( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + nameServers_.add(s); + break; } - nameServers_.add(s); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - dsRecords_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + dsRecords_ = + new java.util.ArrayList< + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord>(); + mutable_bitField0_ |= 0x00000002; + } + dsRecords_.add( + input.readMessage( + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.parser(), + extensionRegistry)); + break; } - dsRecords_.add( - input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,8 +549,7 @@ private CustomDns( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -486,22 +561,27 @@ private CustomDns( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.class, com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.class, + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder.class); } public static final int NAME_SERVERS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList nameServers_; /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -509,13 +589,15 @@ private CustomDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_; } /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -523,12 +605,15 @@ private CustomDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -536,6 +621,7 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -543,6 +629,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
      * Required. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -550,17 +638,19 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_RECORDS_FIELD_NUMBER = 2; private java.util.List dsRecords_; /** + * + * *
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -570,10 +660,13 @@ public java.lang.String getNameServers(int index) {
      * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
      */
     @java.lang.Override
-    public java.util.List getDsRecordsList() {
+    public java.util.List
+        getDsRecordsList() {
       return dsRecords_;
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -583,11 +676,13 @@ public java.util.List get
      * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getDsRecordsOrBuilderList() {
       return dsRecords_;
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -601,6 +696,8 @@ public int getDsRecordsCount() {
       return dsRecords_.size();
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -614,6 +711,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int in
       return dsRecords_.get(index);
     }
     /**
+     *
+     *
      * 
      * The list of DS records for this domain, which are used to enable DNSSEC.
      * The domain's DNS provider can provide the values to set here. If this
@@ -629,6 +728,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -640,8 +740,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < nameServers_.size(); i++) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i));
       }
@@ -666,8 +765,7 @@ public int getSerializedSize() {
         size += 1 * getNameServersList().size();
       }
       for (int i = 0; i < dsRecords_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, dsRecords_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dsRecords_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -677,17 +775,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.domains.v1beta1.DnsSettings.CustomDns)) {
         return super.equals(obj);
       }
-      com.google.cloud.domains.v1beta1.DnsSettings.CustomDns other = (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) obj;
+      com.google.cloud.domains.v1beta1.DnsSettings.CustomDns other =
+          (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) obj;
 
-      if (!getNameServersList()
-          .equals(other.getNameServersList())) return false;
-      if (!getDsRecordsList()
-          .equals(other.getDsRecordsList())) return false;
+      if (!getNameServersList().equals(other.getNameServersList())) return false;
+      if (!getDsRecordsList().equals(other.getDsRecordsList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -713,87 +810,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.domains.v1beta1.DnsSettings.CustomDns prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.domains.v1beta1.DnsSettings.CustomDns prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -803,27 +907,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Configuration for an arbitrary DNS provider.
      * 
* * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.CustomDns} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DnsSettings.CustomDns) com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.class, com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder.class); + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.class, + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.newBuilder() @@ -831,17 +940,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDsRecordsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -857,9 +966,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor; } @java.lang.Override @@ -878,7 +987,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns build() { @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns buildPartial() { - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns result = new com.google.cloud.domains.v1beta1.DnsSettings.CustomDns(this); + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns result = + new com.google.cloud.domains.v1beta1.DnsSettings.CustomDns(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -902,38 +1012,41 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1beta1.DnsSettings.CustomDns) { - return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns)other); + return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) other); } else { super.mergeFrom(other); return this; @@ -941,7 +1054,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.CustomDns other) { - if (other == com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance()) + return this; if (!other.nameServers_.isEmpty()) { if (nameServers_.isEmpty()) { nameServers_ = other.nameServers_; @@ -970,9 +1084,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.CustomDns dsRecordsBuilder_ = null; dsRecords_ = other.dsRecords_; bitField0_ = (bitField0_ & ~0x00000002); - dsRecordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDsRecordsFieldBuilder() : null; + dsRecordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDsRecordsFieldBuilder() + : null; } else { dsRecordsBuilder_.addAllMessages(other.dsRecords_); } @@ -997,7 +1112,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1006,16 +1122,21 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList nameServers_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1023,13 +1144,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_.getUnmodifiableView(); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1037,12 +1160,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1050,6 +1176,7 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1057,6 +1184,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1064,14 +1193,16 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1079,21 +1210,23 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers( - int index, java.lang.String value) { + public Builder setNameServers(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1101,20 +1234,22 @@ public Builder setNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers( - java.lang.String value) { + public Builder addNameServers(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1122,18 +1257,19 @@ public Builder addNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers( - java.lang.Iterable values) { + public Builder addAllNameServers(java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); onChanged(); return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1141,6 +1277,7 @@ public Builder addAllNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1150,6 +1287,8 @@ public Builder clearNameServers() { return this; } /** + * + * *
        * Required. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -1157,15 +1296,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes( - com.google.protobuf.ByteString value) { + public Builder addNameServersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1173,18 +1312,26 @@ public Builder addNameServersBytes( } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = new java.util.ArrayList(dsRecords_); + dsRecords_ = + new java.util.ArrayList( + dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> + dsRecordsBuilder_; /** + * + * *
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1193,7 +1340,8 @@ private void ensureDsRecordsIsMutable() {
        *
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List getDsRecordsList() {
+      public java.util.List
+          getDsRecordsList() {
         if (dsRecordsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(dsRecords_);
         } else {
@@ -1201,6 +1349,8 @@ public java.util.List get
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1217,6 +1367,8 @@ public int getDsRecordsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1233,6 +1385,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int in
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1256,6 +1410,8 @@ public Builder setDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1265,7 +1421,8 @@ public Builder setDsRecords(
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder setDsRecords(
-          int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) {
+          int index,
+          com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
           dsRecords_.set(index, builderForValue.build());
@@ -1276,6 +1433,8 @@ public Builder setDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1298,6 +1457,8 @@ public Builder addDsRecords(com.google.cloud.domains.v1beta1.DnsSettings.DsRecor
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1321,6 +1482,8 @@ public Builder addDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1341,6 +1504,8 @@ public Builder addDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1350,7 +1515,8 @@ public Builder addDsRecords(
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder addDsRecords(
-          int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) {
+          int index,
+          com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
           dsRecords_.add(index, builderForValue.build());
@@ -1361,6 +1527,8 @@ public Builder addDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1370,11 +1538,11 @@ public Builder addDsRecords(
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
       public Builder addAllDsRecords(
-          java.lang.Iterable values) {
+          java.lang.Iterable
+              values) {
         if (dsRecordsBuilder_ == null) {
           ensureDsRecordsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, dsRecords_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_);
           onChanged();
         } else {
           dsRecordsBuilder_.addAllMessages(values);
@@ -1382,6 +1550,8 @@ public Builder addAllDsRecords(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1401,6 +1571,8 @@ public Builder clearDsRecords() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1420,6 +1592,8 @@ public Builder removeDsRecords(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1433,6 +1607,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder getDsRecord
         return getDsRecordsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1444,11 +1620,14 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder getDsRecord
       public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(
           int index) {
         if (dsRecordsBuilder_ == null) {
-          return dsRecords_.get(index);  } else {
+          return dsRecords_.get(index);
+        } else {
           return dsRecordsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1457,8 +1636,9 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor
        *
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List 
-           getDsRecordsOrBuilderList() {
+      public java.util.List<
+              ? extends com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>
+          getDsRecordsOrBuilderList() {
         if (dsRecordsBuilder_ != null) {
           return dsRecordsBuilder_.getMessageOrBuilderList();
         } else {
@@ -1466,6 +1646,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor
         }
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1475,10 +1657,12 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
       public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecordsBuilder() {
-        return getDsRecordsFieldBuilder().addBuilder(
-            com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder()
+            .addBuilder(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1489,10 +1673,13 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecord
        */
       public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecordsBuilder(
           int index) {
-        return getDsRecordsFieldBuilder().addBuilder(
-            index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance());
+        return getDsRecordsFieldBuilder()
+            .addBuilder(
+                index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The list of DS records for this domain, which are used to enable DNSSEC.
        * The domain's DNS provider can provide the values to set here. If this
@@ -1501,24 +1688,28 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecord
        *
        * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 2;
        */
-      public java.util.List 
-           getDsRecordsBuilderList() {
+      public java.util.List
+          getDsRecordsBuilderList() {
         return getDsRecordsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> 
+              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord,
+              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder,
+              com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>
           getDsRecordsFieldBuilder() {
         if (dsRecordsBuilder_ == null) {
-          dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>(
-                  dsRecords_,
-                  ((bitField0_ & 0x00000002) != 0),
-                  getParentForChildren(),
-                  isClean());
+          dsRecordsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.domains.v1beta1.DnsSettings.DsRecord,
+                  com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder,
+                  com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>(
+                  dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
           dsRecords_ = null;
         }
         return dsRecordsBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1531,12 +1722,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DnsSettings.CustomDns)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DnsSettings.CustomDns)
     private static final com.google.cloud.domains.v1beta1.DnsSettings.CustomDns DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DnsSettings.CustomDns();
     }
@@ -1545,16 +1736,16 @@ public static com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getDefaultI
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CustomDns parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new CustomDns(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CustomDns parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new CustomDns(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1569,14 +1760,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface GoogleDomainsDnsOrBuilder extends
+  public interface GoogleDomainsDnsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1585,12 +1778,14 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the nameServers. */ - java.util.List - getNameServersList(); + java.util.List getNameServersList(); /** - *
+     *
+     *
+     * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
      * Punycode format. This field is automatically populated with the name
@@ -1598,10 +1793,13 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of nameServers. */ int getNameServersCount(); /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1610,11 +1808,14 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1623,88 +1824,118 @@ public interface GoogleDomainsDnsOrBuilder extends
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString - getNameServersBytes(int index); + com.google.protobuf.ByteString getNameServersBytes(int index); /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dsState. */ int getDsStateValue(); /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dsState. */ com.google.cloud.domains.v1beta1.DnsSettings.DsState getDsState(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getDsRecordsList(); + java.util.List getDsRecordsList(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int index); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getDsRecordsCount(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getDsRecordsOrBuilderList(); /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( - int index); + com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index); } /** + * + * *
    * Configuration for using the free DNS zone provided by Google Domains as a
    * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -1714,15 +1945,16 @@ com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBui
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns}
    */
-  public static final class GoogleDomainsDns extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class GoogleDomainsDns extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns)
       GoogleDomainsDnsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use GoogleDomainsDns.newBuilder() to construct.
     private GoogleDomainsDns(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private GoogleDomainsDns() {
       nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       dsState_ = 0;
@@ -1731,16 +1963,15 @@ private GoogleDomainsDns() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new GoogleDomainsDns();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private GoogleDomainsDns(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1760,37 +1991,44 @@ private GoogleDomainsDns(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                nameServers_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  nameServers_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                nameServers_.add(s);
+                break;
               }
-              nameServers_.add(s);
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              dsState_ = rawValue;
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                dsRecords_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+                dsState_ = rawValue;
+                break;
               }
-              dsRecords_.add(
-                  input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  dsRecords_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.domains.v1beta1.DnsSettings.DsRecord>();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                dsRecords_.add(
+                    input.readMessage(
+                        com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.parser(),
+                        extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1798,8 +2036,7 @@ private GoogleDomainsDns(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -1811,22 +2048,27 @@ private GoogleDomainsDns(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder.class);
+              com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.class,
+              com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder.class);
     }
 
     public static final int NAME_SERVERS_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList nameServers_;
     /**
+     *
+     *
      * 
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1835,13 +2077,15 @@ private GoogleDomainsDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_; } /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1850,12 +2094,15 @@ private GoogleDomainsDns(
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1864,6 +2111,7 @@ public int getNameServersCount() {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1871,6 +2119,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
      * Output only. A list of name servers that store the DNS zone for this domain. Each name
      * server is a domain name, with Unicode domain names expressed in
@@ -1879,106 +2129,142 @@ public java.lang.String getNameServers(int index) {
      * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int DS_STATE_FIELD_NUMBER = 2; private int dsState_; /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override public int getDsStateValue() { + @java.lang.Override + public int getDsStateValue() { return dsState_; } /** + * + * *
      * Required. The state of DS records for this domain. Used to enable or disable
      * automatic DNSSEC.
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dsState. */ - @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsState getDsState() { + @java.lang.Override + public com.google.cloud.domains.v1beta1.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsState result = com.google.cloud.domains.v1beta1.DnsSettings.DsState.valueOf(dsState_); - return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsState.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsState result = + com.google.cloud.domains.v1beta1.DnsSettings.DsState.valueOf(dsState_); + return result == null + ? com.google.cloud.domains.v1beta1.DnsSettings.DsState.UNRECOGNIZED + : result; } public static final int DS_RECORDS_FIELD_NUMBER = 3; private java.util.List dsRecords_; /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getDsRecordsList() { + public java.util.List + getDsRecordsList() { return dsRecords_; } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getDsRecordsOrBuilderList() { return dsRecords_; } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getDsRecordsCount() { return dsRecords_.size(); } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int index) { return dsRecords_.get(index); } /** + * + * *
      * Output only. The list of DS records published for this domain. The list is
      * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
      * otherwise it remains empty.
      * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( @@ -1987,6 +2273,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1998,12 +2285,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nameServers_.getRaw(i)); } - if (dsState_ != com.google.cloud.domains.v1beta1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { + if (dsState_ + != com.google.cloud.domains.v1beta1.DnsSettings.DsState.DS_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { @@ -2026,13 +2314,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (dsState_ != com.google.cloud.domains.v1beta1.DnsSettings.DsState.DS_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, dsState_); + if (dsState_ + != com.google.cloud.domains.v1beta1.DnsSettings.DsState.DS_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, dsState_); } for (int i = 0; i < dsRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, dsRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, dsRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2042,18 +2330,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.domains.v1beta1.DnsSettings.GoogleDomainsDns)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns other = (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) obj; + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns other = + (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) obj; - if (!getNameServersList() - .equals(other.getNameServersList())) return false; + if (!getNameServersList().equals(other.getNameServersList())) return false; if (dsState_ != other.dsState_) return false; - if (!getDsRecordsList() - .equals(other.getDsRecordsList())) return false; + if (!getDsRecordsList().equals(other.getDsRecordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2081,87 +2368,94 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2171,6 +2465,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for using the free DNS zone provided by Google Domains as a
      * `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
@@ -2180,21 +2476,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns)
         com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.domains.v1beta1.DomainsProto
+            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
+        return com.google.cloud.domains.v1beta1.DomainsProto
+            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.class, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder.class);
+                com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.class,
+                com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.newBuilder()
@@ -2202,17 +2501,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getDsRecordsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2230,13 +2529,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.domains.v1beta1.DomainsProto
+            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getDefaultInstanceForType() {
+      public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns
+          getDefaultInstanceForType() {
         return com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance();
       }
 
@@ -2251,7 +2551,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns buildPartial() {
-        com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns result = new com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns(this);
+        com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns result =
+            new com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = nameServers_.getUnmodifiableView();
@@ -2276,46 +2577,52 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) {
-          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns)other);
+          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns other) {
-        if (other == com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns other) {
+        if (other
+            == com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance())
+          return this;
         if (!other.nameServers_.isEmpty()) {
           if (nameServers_.isEmpty()) {
             nameServers_ = other.nameServers_;
@@ -2347,9 +2654,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDoma
               dsRecordsBuilder_ = null;
               dsRecords_ = other.dsRecords_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              dsRecordsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getDsRecordsFieldBuilder() : null;
+              dsRecordsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getDsRecordsFieldBuilder()
+                      : null;
             } else {
               dsRecordsBuilder_.addAllMessages(other.dsRecords_);
             }
@@ -2374,7 +2682,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2383,16 +2693,21 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList nameServers_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureNameServersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2401,13 +2716,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_.getUnmodifiableView(); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2416,12 +2733,15 @@ private void ensureNameServersIsMutable() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2430,6 +2750,7 @@ public int getNameServersCount() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -2437,6 +2758,8 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2445,14 +2768,16 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2461,21 +2786,23 @@ public java.lang.String getNameServers(int index) {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers( - int index, java.lang.String value) { + public Builder setNameServers(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2484,20 +2811,22 @@ public Builder setNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers( - java.lang.String value) { + public Builder addNameServers(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2506,18 +2835,19 @@ public Builder addNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers( - java.lang.Iterable values) { + public Builder addAllNameServers(java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); onChanged(); return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2526,6 +2856,7 @@ public Builder addAllNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -2535,6 +2866,8 @@ public Builder clearNameServers() { return this; } /** + * + * *
        * Output only. A list of name servers that store the DNS zone for this domain. Each name
        * server is a domain name, with Unicode domain names expressed in
@@ -2543,15 +2876,15 @@ public Builder clearNameServers() {
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes( - com.google.protobuf.ByteString value) { + public Builder addNameServersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -2560,55 +2893,79 @@ public Builder addNameServersBytes( private int dsState_ = 0; /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for dsState. */ - @java.lang.Override public int getDsStateValue() { + @java.lang.Override + public int getDsStateValue() { return dsState_; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for dsState to set. * @return This builder for chaining. */ public Builder setDsStateValue(int value) { - + dsState_ = value; onChanged(); return this; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dsState. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsState getDsState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsState result = com.google.cloud.domains.v1beta1.DnsSettings.DsState.valueOf(dsState_); - return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsState.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsState result = + com.google.cloud.domains.v1beta1.DnsSettings.DsState.valueOf(dsState_); + return result == null + ? com.google.cloud.domains.v1beta1.DnsSettings.DsState.UNRECOGNIZED + : result; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The dsState to set. * @return This builder for chaining. */ @@ -2616,49 +2973,65 @@ public Builder setDsState(com.google.cloud.domains.v1beta1.DnsSettings.DsState v if (value == null) { throw new NullPointerException(); } - + dsState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. The state of DS records for this domain. Used to enable or disable
        * automatic DNSSEC.
        * 
* - * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearDsState() { - + dsState_ = 0; onChanged(); return this; } private java.util.List dsRecords_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDsRecordsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dsRecords_ = new java.util.ArrayList(dsRecords_); + dsRecords_ = + new java.util.ArrayList( + dsRecords_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> dsRecordsBuilder_; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> + dsRecordsBuilder_; /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getDsRecordsList() { + public java.util.List + getDsRecordsList() { if (dsRecordsBuilder_ == null) { return java.util.Collections.unmodifiableList(dsRecords_); } else { @@ -2666,13 +3039,17 @@ public java.util.List get } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getDsRecordsCount() { if (dsRecordsBuilder_ == null) { @@ -2682,13 +3059,17 @@ public int getDsRecordsCount() { } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -2698,13 +3079,17 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDsRecords(int in } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDsRecords( int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord value) { @@ -2721,16 +3106,21 @@ public Builder setDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDsRecords( - int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) { + int index, + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); dsRecords_.set(index, builderForValue.build()); @@ -2741,13 +3131,17 @@ public Builder setDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord value) { if (dsRecordsBuilder_ == null) { @@ -2763,13 +3157,17 @@ public Builder addDsRecords(com.google.cloud.domains.v1beta1.DnsSettings.DsRecor return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords( int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord value) { @@ -2786,13 +3184,17 @@ public Builder addDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords( com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) { @@ -2806,16 +3208,21 @@ public Builder addDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addDsRecords( - int index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) { + int index, + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder builderForValue) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); dsRecords_.add(index, builderForValue.build()); @@ -2826,20 +3233,24 @@ public Builder addDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllDsRecords( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (dsRecordsBuilder_ == null) { ensureDsRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dsRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dsRecords_); onChanged(); } else { dsRecordsBuilder_.addAllMessages(values); @@ -2847,13 +3258,17 @@ public Builder addAllDsRecords( return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDsRecords() { if (dsRecordsBuilder_ == null) { @@ -2866,13 +3281,17 @@ public Builder clearDsRecords() { return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeDsRecords(int index) { if (dsRecordsBuilder_ == null) { @@ -2885,45 +3304,59 @@ public Builder removeDsRecords(int index) { return this; } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder getDsRecordsBuilder( int index) { return getDsRecordsFieldBuilder().getBuilder(index); } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder( int index) { if (dsRecordsBuilder_ == null) { - return dsRecords_.get(index); } else { + return dsRecords_.get(index); + } else { return dsRecordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getDsRecordsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> + getDsRecordsOrBuilderList() { if (dsRecordsBuilder_ != null) { return dsRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -2931,59 +3364,76 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor } } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecordsBuilder() { - return getDsRecordsFieldBuilder().addBuilder( - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder() + .addBuilder(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance()); } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder addDsRecordsBuilder( int index) { - return getDsRecordsFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance()); + return getDsRecordsFieldBuilder() + .addBuilder( + index, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance()); } /** + * + * *
        * Output only. The list of DS records published for this domain. The list is
        * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
        * otherwise it remains empty.
        * 
* - * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getDsRecordsBuilderList() { + public java.util.List + getDsRecordsBuilderList() { return getDsRecordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder> getDsRecordsFieldBuilder() { if (dsRecordsBuilder_ == null) { - dsRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>( - dsRecords_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + dsRecordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord, + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>( + dsRecords_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); dsRecords_ = null; } return dsRecordsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2996,30 +3446,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) - private static final com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns(); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GoogleDomainsDns parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GoogleDomainsDns(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GoogleDomainsDns parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GoogleDomainsDns(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3031,85 +3483,108 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DsRecordOrBuilder extends + public interface DsRecordOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DnsSettings.DsRecord) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; + * * @return The keyTag. */ int getKeyTag(); /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The enum numeric value on the wire for algorithm. */ int getAlgorithmValue(); /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The algorithm. */ com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm getAlgorithm(); /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The enum numeric value on the wire for digestType. */ int getDigestTypeValue(); /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The digestType. */ com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType getDigestType(); /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The digest. */ java.lang.String getDigest(); /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The bytes for digest. */ - com.google.protobuf.ByteString - getDigestBytes(); + com.google.protobuf.ByteString getDigestBytes(); } /** + * + * *
    * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
    * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -3118,15 +3593,16 @@ public interface DsRecordOrBuilder extends
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.DsRecord}
    */
-  public static final class DsRecord extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class DsRecord extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DnsSettings.DsRecord)
       DsRecordOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use DsRecord.newBuilder() to construct.
     private DsRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private DsRecord() {
       algorithm_ = 0;
       digestType_ = 0;
@@ -3135,16 +3611,15 @@ private DsRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new DsRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private DsRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3163,36 +3638,39 @@ private DsRecord(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              keyTag_ = input.readInt32();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                keyTag_ = input.readInt32();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              algorithm_ = rawValue;
-              break;
-            }
-            case 24: {
-              int rawValue = input.readEnum();
+                algorithm_ = rawValue;
+                break;
+              }
+            case 24:
+              {
+                int rawValue = input.readEnum();
 
-              digestType_ = rawValue;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                digestType_ = rawValue;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              digest_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                digest_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3200,27 +3678,31 @@ private DsRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.class, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder.class);
+              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.class,
+              com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * List of algorithms used to create a DNSKEY. Certain
      * algorithms are not supported for particular domains.
@@ -3228,9 +3710,10 @@ private DsRecord(
      *
      * Protobuf enum {@code google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm}
      */
-    public enum Algorithm
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * The algorithm is unspecified.
        * 
@@ -3239,6 +3722,8 @@ public enum Algorithm */ ALGORITHM_UNSPECIFIED(0), /** + * + * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3247,6 +3732,8 @@ public enum Algorithm */ RSAMD5(1), /** + * + * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3255,6 +3742,8 @@ public enum Algorithm */ DH(2), /** + * + * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3263,6 +3752,8 @@ public enum Algorithm */ DSA(3), /** + * + * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3271,6 +3762,8 @@ public enum Algorithm */ ECC(4), /** + * + * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3279,6 +3772,8 @@ public enum Algorithm */ RSASHA1(5), /** + * + * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3287,6 +3782,8 @@ public enum Algorithm */ DSANSEC3SHA1(6), /** + * + * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3295,6 +3792,8 @@ public enum Algorithm */ RSASHA1NSEC3SHA1(7), /** + * + * *
        * RSA/SHA-256.
        * 
@@ -3303,6 +3802,8 @@ public enum Algorithm */ RSASHA256(8), /** + * + * *
        * RSA/SHA-512.
        * 
@@ -3311,6 +3812,8 @@ public enum Algorithm */ RSASHA512(10), /** + * + * *
        * GOST R 34.10-2001.
        * 
@@ -3319,6 +3822,8 @@ public enum Algorithm */ ECCGOST(12), /** + * + * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3327,6 +3832,8 @@ public enum Algorithm */ ECDSAP256SHA256(13), /** + * + * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3335,6 +3842,8 @@ public enum Algorithm */ ECDSAP384SHA384(14), /** + * + * *
        * Ed25519.
        * 
@@ -3343,6 +3852,8 @@ public enum Algorithm */ ED25519(15), /** + * + * *
        * Ed448.
        * 
@@ -3351,6 +3862,8 @@ public enum Algorithm */ ED448(16), /** + * + * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -3359,6 +3872,8 @@ public enum Algorithm */ INDIRECT(252), /** + * + * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -3367,6 +3882,8 @@ public enum Algorithm */ PRIVATEDNS(253), /** + * + * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -3378,6 +3895,8 @@ public enum Algorithm ; /** + * + * *
        * The algorithm is unspecified.
        * 
@@ -3386,6 +3905,8 @@ public enum Algorithm */ public static final int ALGORITHM_UNSPECIFIED_VALUE = 0; /** + * + * *
        * RSA/MD5. Cannot be used for new deployments.
        * 
@@ -3394,6 +3915,8 @@ public enum Algorithm */ public static final int RSAMD5_VALUE = 1; /** + * + * *
        * Diffie-Hellman. Cannot be used for new deployments.
        * 
@@ -3402,6 +3925,8 @@ public enum Algorithm */ public static final int DH_VALUE = 2; /** + * + * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3410,6 +3935,8 @@ public enum Algorithm */ public static final int DSA_VALUE = 3; /** + * + * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3418,6 +3945,8 @@ public enum Algorithm */ public static final int ECC_VALUE = 4; /** + * + * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3426,6 +3955,8 @@ public enum Algorithm */ public static final int RSASHA1_VALUE = 5; /** + * + * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3434,6 +3965,8 @@ public enum Algorithm */ public static final int DSANSEC3SHA1_VALUE = 6; /** + * + * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3442,6 +3975,8 @@ public enum Algorithm */ public static final int RSASHA1NSEC3SHA1_VALUE = 7; /** + * + * *
        * RSA/SHA-256.
        * 
@@ -3450,6 +3985,8 @@ public enum Algorithm */ public static final int RSASHA256_VALUE = 8; /** + * + * *
        * RSA/SHA-512.
        * 
@@ -3458,6 +3995,8 @@ public enum Algorithm */ public static final int RSASHA512_VALUE = 10; /** + * + * *
        * GOST R 34.10-2001.
        * 
@@ -3466,6 +4005,8 @@ public enum Algorithm */ public static final int ECCGOST_VALUE = 12; /** + * + * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3474,6 +4015,8 @@ public enum Algorithm */ public static final int ECDSAP256SHA256_VALUE = 13; /** + * + * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3482,6 +4025,8 @@ public enum Algorithm */ public static final int ECDSAP384SHA384_VALUE = 14; /** + * + * *
        * Ed25519.
        * 
@@ -3490,6 +4035,8 @@ public enum Algorithm */ public static final int ED25519_VALUE = 15; /** + * + * *
        * Ed448.
        * 
@@ -3498,6 +4045,8 @@ public enum Algorithm */ public static final int ED448_VALUE = 16; /** + * + * *
        * Reserved for Indirect Keys. Cannot be used for new deployments.
        * 
@@ -3506,6 +4055,8 @@ public enum Algorithm */ public static final int INDIRECT_VALUE = 252; /** + * + * *
        * Private algorithm. Cannot be used for new deployments.
        * 
@@ -3514,6 +4065,8 @@ public enum Algorithm */ public static final int PRIVATEDNS_VALUE = 253; /** + * + * *
        * Private algorithm OID. Cannot be used for new deployments.
        * 
@@ -3522,7 +4075,6 @@ public enum Algorithm */ public static final int PRIVATEOID_VALUE = 254; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3547,64 +4099,81 @@ public static Algorithm valueOf(int value) { */ public static Algorithm forNumber(int value) { switch (value) { - case 0: return ALGORITHM_UNSPECIFIED; - case 1: return RSAMD5; - case 2: return DH; - case 3: return DSA; - case 4: return ECC; - case 5: return RSASHA1; - case 6: return DSANSEC3SHA1; - case 7: return RSASHA1NSEC3SHA1; - case 8: return RSASHA256; - case 10: return RSASHA512; - case 12: return ECCGOST; - case 13: return ECDSAP256SHA256; - case 14: return ECDSAP384SHA384; - case 15: return ED25519; - case 16: return ED448; - case 252: return INDIRECT; - case 253: return PRIVATEDNS; - case 254: return PRIVATEOID; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return ALGORITHM_UNSPECIFIED; + case 1: + return RSAMD5; + case 2: + return DH; + case 3: + return DSA; + case 4: + return ECC; + case 5: + return RSASHA1; + case 6: + return DSANSEC3SHA1; + case 7: + return RSASHA1NSEC3SHA1; + case 8: + return RSASHA256; + case 10: + return RSASHA512; + case 12: + return ECCGOST; + case 13: + return ECDSAP256SHA256; + case 14: + return ECDSAP384SHA384; + case 15: + return ED25519; + case 16: + return ED448; + case 252: + return INDIRECT; + case 253: + return PRIVATEDNS; + case 254: + return PRIVATEOID; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Algorithm> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Algorithm findValueByNumber(int number) { - return Algorithm.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 Algorithm findValueByNumber(int number) { + return Algorithm.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.domains.v1beta1.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDescriptor() + .getEnumTypes() + .get(0); } private static final Algorithm[] VALUES = values(); - public static Algorithm valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Algorithm 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; @@ -3622,6 +4191,8 @@ private Algorithm(int value) { } /** + * + * *
      * List of hash functions that may have been used to generate a digest of a
      * DNSKEY.
@@ -3629,9 +4200,10 @@ private Algorithm(int value) {
      *
      * Protobuf enum {@code google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType}
      */
-    public enum DigestType
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum DigestType implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * The DigestType is unspecified.
        * 
@@ -3640,6 +4212,8 @@ public enum DigestType */ DIGEST_TYPE_UNSPECIFIED(0), /** + * + * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -3648,6 +4222,8 @@ public enum DigestType */ SHA1(1), /** + * + * *
        * SHA-256.
        * 
@@ -3656,6 +4232,8 @@ public enum DigestType */ SHA256(2), /** + * + * *
        * GOST R 34.11-94.
        * 
@@ -3664,6 +4242,8 @@ public enum DigestType */ GOST3411(3), /** + * + * *
        * SHA-384.
        * 
@@ -3675,6 +4255,8 @@ public enum DigestType ; /** + * + * *
        * The DigestType is unspecified.
        * 
@@ -3683,6 +4265,8 @@ public enum DigestType */ public static final int DIGEST_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -3691,6 +4275,8 @@ public enum DigestType */ public static final int SHA1_VALUE = 1; /** + * + * *
        * SHA-256.
        * 
@@ -3699,6 +4285,8 @@ public enum DigestType */ public static final int SHA256_VALUE = 2; /** + * + * *
        * GOST R 34.11-94.
        * 
@@ -3707,6 +4295,8 @@ public enum DigestType */ public static final int GOST3411_VALUE = 3; /** + * + * *
        * SHA-384.
        * 
@@ -3715,7 +4305,6 @@ public enum DigestType */ public static final int SHA384_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3740,51 +4329,55 @@ public static DigestType valueOf(int value) { */ public static DigestType forNumber(int value) { switch (value) { - case 0: return DIGEST_TYPE_UNSPECIFIED; - case 1: return SHA1; - case 2: return SHA256; - case 3: return GOST3411; - case 4: return SHA384; - default: return null; + case 0: + return DIGEST_TYPE_UNSPECIFIED; + case 1: + return SHA1; + case 2: + return SHA256; + case 3: + return GOST3411; + case 4: + return SHA384; + 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< - DigestType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DigestType findValueByNumber(int number) { - return DigestType.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 DigestType findValueByNumber(int number) { + return DigestType.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.domains.v1beta1.DnsSettings.DsRecord.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDescriptor() + .getEnumTypes() + .get(1); } private static final DigestType[] VALUES = values(); - public static DigestType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DigestType 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; @@ -3804,11 +4397,14 @@ private DigestType(int value) { public static final int KEY_TAG_FIELD_NUMBER = 1; private int keyTag_; /** + * + * *
      * The key tag of the record. Must be set in range 0 -- 65535.
      * 
* * int32 key_tag = 1; + * * @return The keyTag. */ @java.lang.Override @@ -3819,65 +4415,90 @@ public int getKeyTag() { public static final int ALGORITHM_FIELD_NUMBER = 2; private int algorithm_; /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override public int getAlgorithmValue() { + @java.lang.Override + public int getAlgorithmValue() { return algorithm_; } /** + * + * *
      * The algorithm used to generate the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The algorithm. */ - @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm getAlgorithm() { + @java.lang.Override + public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm result = + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null + ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED + : result; } public static final int DIGEST_TYPE_FIELD_NUMBER = 3; private int digestType_; /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override public int getDigestTypeValue() { + @java.lang.Override + public int getDigestTypeValue() { return digestType_; } /** + * + * *
      * The hash function used to generate the digest of the referenced DNSKEY.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The digestType. */ - @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType getDigestType() { + @java.lang.Override + public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType result = + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null + ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED + : result; } public static final int DIGEST_FIELD_NUMBER = 4; private volatile java.lang.Object digest_; /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The digest. */ @java.lang.Override @@ -3886,29 +4507,29 @@ public java.lang.String getDigest() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; } } /** + * + * *
      * The digest generated from the referenced DNSKEY.
      * 
* * string digest = 4; + * * @return The bytes for digest. */ @java.lang.Override - public com.google.protobuf.ByteString - getDigestBytes() { + public com.google.protobuf.ByteString getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); digest_ = b; return b; } else { @@ -3917,6 +4538,7 @@ public java.lang.String getDigest() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3928,15 +4550,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (keyTag_ != 0) { output.writeInt32(1, keyTag_); } - if (algorithm_ != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { + if (algorithm_ + != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED + .getNumber()) { output.writeEnum(2, algorithm_); } - if (digestType_ != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { + if (digestType_ + != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType + .DIGEST_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { @@ -3952,16 +4578,18 @@ public int getSerializedSize() { size = 0; if (keyTag_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, keyTag_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, keyTag_); } - if (algorithm_ != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, algorithm_); + if (algorithm_ + != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.ALGORITHM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, algorithm_); } - if (digestType_ != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.DIGEST_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, digestType_); + if (digestType_ + != com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType + .DIGEST_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, digestType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(digest_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, digest_); @@ -3974,19 +4602,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.domains.v1beta1.DnsSettings.DsRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord other = (com.google.cloud.domains.v1beta1.DnsSettings.DsRecord) obj; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord other = + (com.google.cloud.domains.v1beta1.DnsSettings.DsRecord) obj; - if (getKeyTag() - != other.getKeyTag()) return false; + if (getKeyTag() != other.getKeyTag()) return false; if (algorithm_ != other.algorithm_) return false; if (digestType_ != other.digestType_) return false; - if (!getDigest() - .equals(other.getDigest())) return false; + if (!getDigest().equals(other.getDigest())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4012,87 +4639,94 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4102,6 +4736,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC
      * for a domain. It contains a digest (hash) of a DNSKEY record that must be
@@ -4110,21 +4746,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.DsRecord}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DnsSettings.DsRecord)
         com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.domains.v1beta1.DomainsProto
+            .internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1beta1.DomainsProto
+            .internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.class, com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder.class);
+                com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.class,
+                com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.newBuilder()
@@ -4132,16 +4771,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4157,9 +4795,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.domains.v1beta1.DomainsProto
+            .internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
       }
 
       @java.lang.Override
@@ -4178,7 +4816,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord buildPartial() {
-        com.google.cloud.domains.v1beta1.DnsSettings.DsRecord result = new com.google.cloud.domains.v1beta1.DnsSettings.DsRecord(this);
+        com.google.cloud.domains.v1beta1.DnsSettings.DsRecord result =
+            new com.google.cloud.domains.v1beta1.DnsSettings.DsRecord(this);
         result.keyTag_ = keyTag_;
         result.algorithm_ = algorithm_;
         result.digestType_ = digestType_;
@@ -4191,38 +4830,41 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1beta1.DnsSettings.DsRecord) {
-          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.DsRecord)other);
+          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.DsRecord) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4230,7 +4872,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord other) {
-        if (other == com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance()) return this;
+        if (other == com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.getDefaultInstance())
+          return this;
         if (other.getKeyTag() != 0) {
           setKeyTag(other.getKeyTag());
         }
@@ -4263,7 +4906,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.domains.v1beta1.DnsSettings.DsRecord) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.domains.v1beta1.DnsSettings.DsRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4273,13 +4917,16 @@ public Builder mergeFrom(
         return this;
       }
 
-      private int keyTag_ ;
+      private int keyTag_;
       /**
+       *
+       *
        * 
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; + * * @return The keyTag. */ @java.lang.Override @@ -4287,30 +4934,36 @@ public int getKeyTag() { return keyTag_; } /** + * + * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; + * * @param value The keyTag to set. * @return This builder for chaining. */ public Builder setKeyTag(int value) { - + keyTag_ = value; onChanged(); return this; } /** + * + * *
        * The key tag of the record. Must be set in range 0 -- 65535.
        * 
* * int32 key_tag = 1; + * * @return This builder for chaining. */ public Builder clearKeyTag() { - + keyTag_ = 0; onChanged(); return this; @@ -4318,73 +4971,93 @@ public Builder clearKeyTag() { private int algorithm_ = 0; /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The enum numeric value on the wire for algorithm. */ - @java.lang.Override public int getAlgorithmValue() { + @java.lang.Override + public int getAlgorithmValue() { return algorithm_; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @param value The enum numeric value on the wire for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmValue(int value) { - + algorithm_ = value; onChanged(); return this; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return The algorithm. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm getAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm result = com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); - return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm result = + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.valueOf(algorithm_); + return result == null + ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm.UNRECOGNIZED + : result; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @param value The algorithm to set. * @return This builder for chaining. */ - public Builder setAlgorithm(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm value) { + public Builder setAlgorithm( + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm value) { if (value == null) { throw new NullPointerException(); } - + algorithm_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The algorithm used to generate the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2; + * * @return This builder for chaining. */ public Builder clearAlgorithm() { - + algorithm_ = 0; onChanged(); return this; @@ -4392,73 +5065,93 @@ public Builder clearAlgorithm() { private int digestType_ = 0; /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The enum numeric value on the wire for digestType. */ - @java.lang.Override public int getDigestTypeValue() { + @java.lang.Override + public int getDigestTypeValue() { return digestType_; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @param value The enum numeric value on the wire for digestType to set. * @return This builder for chaining. */ public Builder setDigestTypeValue(int value) { - + digestType_ = value; onChanged(); return this; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return The digestType. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType getDigestType() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType result = com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); - return result == null ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType result = + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.valueOf(digestType_); + return result == null + ? com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType.UNRECOGNIZED + : result; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @param value The digestType to set. * @return This builder for chaining. */ - public Builder setDigestType(com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType value) { + public Builder setDigestType( + com.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType value) { if (value == null) { throw new NullPointerException(); } - + digestType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The hash function used to generate the digest of the referenced DNSKEY.
        * 
* * .google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3; + * * @return This builder for chaining. */ public Builder clearDigestType() { - + digestType_ = 0; onChanged(); return this; @@ -4466,18 +5159,20 @@ public Builder clearDigestType() { private java.lang.Object digest_ = ""; /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @return The digest. */ public java.lang.String getDigest() { java.lang.Object ref = digest_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); digest_ = s; return s; @@ -4486,20 +5181,21 @@ public java.lang.String getDigest() { } } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @return The bytes for digest. */ - public com.google.protobuf.ByteString - getDigestBytes() { + public com.google.protobuf.ByteString getDigestBytes() { java.lang.Object ref = digest_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); digest_ = b; return b; } else { @@ -4507,58 +5203,66 @@ public java.lang.String getDigest() { } } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @param value The digest to set. * @return This builder for chaining. */ - public Builder setDigest( - java.lang.String value) { + public Builder setDigest(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + digest_ = value; onChanged(); return this; } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @return This builder for chaining. */ public Builder clearDigest() { - + digest_ = getDefaultInstance().getDigest(); onChanged(); return this; } /** + * + * *
        * The digest generated from the referenced DNSKEY.
        * 
* * string digest = 4; + * * @param value The bytes for digest to set. * @return This builder for chaining. */ - public Builder setDigestBytes( - com.google.protobuf.ByteString value) { + public Builder setDigestBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + digest_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4571,12 +5275,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DnsSettings.DsRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DnsSettings.DsRecord) private static final com.google.cloud.domains.v1beta1.DnsSettings.DsRecord DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DnsSettings.DsRecord(); } @@ -4585,16 +5289,16 @@ public static com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DsRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DsRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DsRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DsRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4609,34 +5313,41 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.DnsSettings.DsRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GlueRecordOrBuilder extends + public interface GlueRecordOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DnsSettings.GlueRecord) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The hostName. */ java.lang.String getHostName(); /** + * + * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for hostName. */ - com.google.protobuf.ByteString - getHostNameBytes(); + com.google.protobuf.ByteString getHostNameBytes(); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4644,11 +5355,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @return A list containing the ipv4Addresses. */ - java.util.List - getIpv4AddressesList(); + java.util.List getIpv4AddressesList(); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4656,10 +5369,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @return The count of ipv4Addresses. */ int getIpv4AddressesCount(); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4667,11 +5383,14 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ java.lang.String getIpv4Addresses(int index); /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4679,13 +5398,15 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - com.google.protobuf.ByteString - getIpv4AddressesBytes(int index); + com.google.protobuf.ByteString getIpv4AddressesBytes(int index); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4693,11 +5414,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @return A list containing the ipv6Addresses. */ - java.util.List - getIpv6AddressesList(); + java.util.List getIpv6AddressesList(); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4705,10 +5428,13 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @return The count of ipv6Addresses. */ int getIpv6AddressesCount(); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4716,11 +5442,14 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ java.lang.String getIpv6Addresses(int index); /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4728,13 +5457,15 @@ public interface GlueRecordOrBuilder extends
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - com.google.protobuf.ByteString - getIpv6AddressesBytes(int index); + com.google.protobuf.ByteString getIpv6AddressesBytes(int index); } /** + * + * *
    * Defines a host on your domain that is a DNS name server for your domain
    * and/or other domains. Glue records are a way of making the IP address of a
@@ -4746,15 +5477,16 @@ public interface GlueRecordOrBuilder extends
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.GlueRecord}
    */
-  public static final class GlueRecord extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class GlueRecord extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.DnsSettings.GlueRecord)
       GlueRecordOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use GlueRecord.newBuilder() to construct.
     private GlueRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private GlueRecord() {
       hostName_ = "";
       ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -4763,16 +5495,15 @@ private GlueRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new GlueRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private GlueRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4792,37 +5523,40 @@ private GlueRecord(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              hostName_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                hostName_ = s;
+                break;
               }
-              ipv4Addresses_.add(s);
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                ipv4Addresses_.add(s);
+                break;
               }
-              ipv6Addresses_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                ipv6Addresses_.add(s);
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4830,8 +5564,7 @@ private GlueRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           ipv4Addresses_ = ipv4Addresses_.getUnmodifiableView();
@@ -4843,27 +5576,33 @@ private GlueRecord(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder.class);
+              com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.class,
+              com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder.class);
     }
 
     public static final int HOST_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object hostName_;
     /**
+     *
+     *
      * 
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The hostName. */ @java.lang.Override @@ -4872,29 +5611,29 @@ public java.lang.String getHostName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; } } /** + * + * *
      * Required. Domain name of the host in Punycode format.
      * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for hostName. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostNameBytes() { + public com.google.protobuf.ByteString getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostName_ = b; return b; } else { @@ -4905,6 +5644,8 @@ public java.lang.String getHostName() { public static final int IPV4_ADDRESSES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList ipv4Addresses_; /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4912,13 +5653,15 @@ public java.lang.String getHostName() {
      * 
* * repeated string ipv4_addresses = 2; + * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { return ipv4Addresses_; } /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4926,12 +5669,15 @@ public java.lang.String getHostName() {
      * 
* * repeated string ipv4_addresses = 2; + * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4939,6 +5685,7 @@ public int getIpv4AddressesCount() {
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -4946,6 +5693,8 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** + * + * *
      * List of IPv4 addresses corresponding to this host in the standard decimal
      * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -4953,17 +5702,19 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } public static final int IPV6_ADDRESSES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ipv6Addresses_; /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4971,13 +5722,15 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; + * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { return ipv6Addresses_; } /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4985,12 +5738,15 @@ public java.lang.String getIpv4Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; + * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -4998,6 +5754,7 @@ public int getIpv6AddressesCount() {
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -5005,6 +5762,8 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** + * + * *
      * List of IPv6 addresses corresponding to this host in the standard
      * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5012,15 +5771,16 @@ public java.lang.String getIpv6Addresses(int index) {
      * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5032,8 +5792,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } @@ -5079,19 +5838,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.domains.v1beta1.DnsSettings.GlueRecord)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord other = (com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord) obj; + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord other = + (com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord) obj; - if (!getHostName() - .equals(other.getHostName())) return false; - if (!getIpv4AddressesList() - .equals(other.getIpv4AddressesList())) return false; - if (!getIpv6AddressesList() - .equals(other.getIpv6AddressesList())) return false; + if (!getHostName().equals(other.getHostName())) return false; + if (!getIpv4AddressesList().equals(other.getIpv4AddressesList())) return false; + if (!getIpv6AddressesList().equals(other.getIpv6AddressesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5119,87 +5876,94 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5209,6 +5973,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Defines a host on your domain that is a DNS name server for your domain
      * and/or other domains. Glue records are a way of making the IP address of a
@@ -5220,21 +5986,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings.GlueRecord}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DnsSettings.GlueRecord)
         com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.domains.v1beta1.DomainsProto
+            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable
+        return com.google.cloud.domains.v1beta1.DomainsProto
+            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.class, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder.class);
+                com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.class,
+                com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder.class);
       }
 
       // Construct using com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.newBuilder()
@@ -5242,16 +6011,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5265,9 +6033,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.domains.v1beta1.DomainsProto
+            .internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
       }
 
       @java.lang.Override
@@ -5286,7 +6054,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord build() {
 
       @java.lang.Override
       public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord buildPartial() {
-        com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord result = new com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord(this);
+        com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord result =
+            new com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord(this);
         int from_bitField0_ = bitField0_;
         result.hostName_ = hostName_;
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -5307,38 +6076,41 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.domains.v1beta1.DnsSettings.GlueRecord) {
-          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord)other);
+          return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5346,7 +6118,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord other) {
-        if (other == com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance()) return this;
+        if (other == com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance())
+          return this;
         if (!other.getHostName().isEmpty()) {
           hostName_ = other.hostName_;
           onChanged();
@@ -5390,7 +6163,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5399,22 +6173,25 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object hostName_ = "";
       /**
+       *
+       *
        * 
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The hostName. */ public java.lang.String getHostName() { java.lang.Object ref = hostName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostName_ = s; return s; @@ -5423,20 +6200,21 @@ public java.lang.String getHostName() { } } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for hostName. */ - public com.google.protobuf.ByteString - getHostNameBytes() { + public com.google.protobuf.ByteString getHostNameBytes() { java.lang.Object ref = hostName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostName_ = b; return b; } else { @@ -5444,67 +6222,78 @@ public java.lang.String getHostName() { } } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The hostName to set. * @return This builder for chaining. */ - public Builder setHostName( - java.lang.String value) { + public Builder setHostName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hostName_ = value; onChanged(); return this; } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearHostName() { - + hostName_ = getDefaultInstance().getHostName(); onChanged(); return this; } /** + * + * *
        * Required. Domain name of the host in Punycode format.
        * 
* * string host_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for hostName to set. * @return This builder for chaining. */ - public Builder setHostNameBytes( - com.google.protobuf.ByteString value) { + public Builder setHostNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hostName_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv4Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList ipv4Addresses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIpv4AddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ipv4Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv4Addresses_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5512,13 +6301,15 @@ private void ensureIpv4AddressesIsMutable() {
        * 
* * repeated string ipv4_addresses = 2; + * * @return A list containing the ipv4Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv4AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv4AddressesList() { return ipv4Addresses_.getUnmodifiableView(); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5526,12 +6317,15 @@ private void ensureIpv4AddressesIsMutable() {
        * 
* * repeated string ipv4_addresses = 2; + * * @return The count of ipv4Addresses. */ public int getIpv4AddressesCount() { return ipv4Addresses_.size(); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5539,6 +6333,7 @@ public int getIpv4AddressesCount() {
        * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the element to return. * @return The ipv4Addresses at the given index. */ @@ -5546,6 +6341,8 @@ public java.lang.String getIpv4Addresses(int index) { return ipv4Addresses_.get(index); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5553,14 +6350,16 @@ public java.lang.String getIpv4Addresses(int index) {
        * 
* * repeated string ipv4_addresses = 2; + * * @param index The index of the value to return. * @return The bytes of the ipv4Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv4AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv4AddressesBytes(int index) { return ipv4Addresses_.getByteString(index); } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5568,21 +6367,23 @@ public java.lang.String getIpv4Addresses(int index) {
        * 
* * repeated string ipv4_addresses = 2; + * * @param index The index to set the value at. * @param value The ipv4Addresses to set. * @return This builder for chaining. */ - public Builder setIpv4Addresses( - int index, java.lang.String value) { + public Builder setIpv4Addresses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5590,20 +6391,22 @@ public Builder setIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @param value The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4Addresses( - java.lang.String value) { + public Builder addIpv4Addresses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv4AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5611,18 +6414,19 @@ public Builder addIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @param values The ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv4Addresses( - java.lang.Iterable values) { + public Builder addAllIpv4Addresses(java.lang.Iterable values) { ensureIpv4AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ipv4Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv4Addresses_); onChanged(); return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5630,6 +6434,7 @@ public Builder addAllIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @return This builder for chaining. */ public Builder clearIpv4Addresses() { @@ -5639,6 +6444,8 @@ public Builder clearIpv4Addresses() { return this; } /** + * + * *
        * List of IPv4 addresses corresponding to this host in the standard decimal
        * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and
@@ -5646,29 +6453,33 @@ public Builder clearIpv4Addresses() {
        * 
* * repeated string ipv4_addresses = 2; + * * @param value The bytes of the ipv4Addresses to add. * @return This builder for chaining. */ - public Builder addIpv4AddressesBytes( - com.google.protobuf.ByteString value) { + public Builder addIpv4AddressesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv4AddressesIsMutable(); ipv4Addresses_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList ipv6Addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList ipv6Addresses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIpv6AddressesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { ipv6Addresses_ = new com.google.protobuf.LazyStringArrayList(ipv6Addresses_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5676,13 +6487,15 @@ private void ensureIpv6AddressesIsMutable() {
        * 
* * repeated string ipv6_addresses = 3; + * * @return A list containing the ipv6Addresses. */ - public com.google.protobuf.ProtocolStringList - getIpv6AddressesList() { + public com.google.protobuf.ProtocolStringList getIpv6AddressesList() { return ipv6Addresses_.getUnmodifiableView(); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5690,12 +6503,15 @@ private void ensureIpv6AddressesIsMutable() {
        * 
* * repeated string ipv6_addresses = 3; + * * @return The count of ipv6Addresses. */ public int getIpv6AddressesCount() { return ipv6Addresses_.size(); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5703,6 +6519,7 @@ public int getIpv6AddressesCount() {
        * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the element to return. * @return The ipv6Addresses at the given index. */ @@ -5710,6 +6527,8 @@ public java.lang.String getIpv6Addresses(int index) { return ipv6Addresses_.get(index); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5717,14 +6536,16 @@ public java.lang.String getIpv6Addresses(int index) {
        * 
* * repeated string ipv6_addresses = 3; + * * @param index The index of the value to return. * @return The bytes of the ipv6Addresses at the given index. */ - public com.google.protobuf.ByteString - getIpv6AddressesBytes(int index) { + public com.google.protobuf.ByteString getIpv6AddressesBytes(int index) { return ipv6Addresses_.getByteString(index); } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5732,21 +6553,23 @@ public java.lang.String getIpv6Addresses(int index) {
        * 
* * repeated string ipv6_addresses = 3; + * * @param index The index to set the value at. * @param value The ipv6Addresses to set. * @return This builder for chaining. */ - public Builder setIpv6Addresses( - int index, java.lang.String value) { + public Builder setIpv6Addresses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5754,20 +6577,22 @@ public Builder setIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @param value The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6Addresses( - java.lang.String value) { + public Builder addIpv6Addresses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIpv6AddressesIsMutable(); + throw new NullPointerException(); + } + ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5775,18 +6600,19 @@ public Builder addIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @param values The ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addAllIpv6Addresses( - java.lang.Iterable values) { + public Builder addAllIpv6Addresses(java.lang.Iterable values) { ensureIpv6AddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ipv6Addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipv6Addresses_); onChanged(); return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5794,6 +6620,7 @@ public Builder addAllIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @return This builder for chaining. */ public Builder clearIpv6Addresses() { @@ -5803,6 +6630,8 @@ public Builder clearIpv6Addresses() { return this; } /** + * + * *
        * List of IPv6 addresses corresponding to this host in the standard
        * hexadecimal format (e.g. `2001:db8::`). At least one of
@@ -5810,20 +6639,21 @@ public Builder clearIpv6Addresses() {
        * 
* * repeated string ipv6_addresses = 3; + * * @param value The bytes of the ipv6Addresses to add. * @return This builder for chaining. */ - public Builder addIpv6AddressesBytes( - com.google.protobuf.ByteString value) { + public Builder addIpv6AddressesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIpv6AddressesIsMutable(); ipv6Addresses_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5836,12 +6666,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DnsSettings.GlueRecord) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DnsSettings.GlueRecord) private static final com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord(); } @@ -5850,16 +6680,16 @@ public static com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GlueRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GlueRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GlueRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GlueRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5874,18 +6704,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int dnsProviderCase_ = 0; private java.lang.Object dnsProvider_; + public enum DnsProviderCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CUSTOM_DNS(1), GOOGLE_DOMAINS_DNS(2), DNSPROVIDER_NOT_SET(0); private final int value; + private DnsProviderCase(int value) { this.value = value; } @@ -5901,30 +6733,36 @@ public static DnsProviderCase valueOf(int value) { public static DnsProviderCase forNumber(int value) { switch (value) { - case 1: return CUSTOM_DNS; - case 2: return GOOGLE_DOMAINS_DNS; - case 0: return DNSPROVIDER_NOT_SET; - default: return null; + case 1: + return CUSTOM_DNS; + case 2: + return GOOGLE_DOMAINS_DNS; + case 0: + return DNSPROVIDER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DnsProviderCase - getDnsProviderCase() { - return DnsProviderCase.forNumber( - dnsProviderCase_); + public DnsProviderCase getDnsProviderCase() { + return DnsProviderCase.forNumber(dnsProviderCase_); } public static final int CUSTOM_DNS_FIELD_NUMBER = 1; /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; + * * @return Whether the customDns field is set. */ @java.lang.Override @@ -5932,21 +6770,26 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; + * * @return The customDns. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getCustomDns() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance(); } /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -5956,19 +6799,22 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getCustomDns() { @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder() { if (dnsProviderCase_ == 1) { - return (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_; + return (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_; } return com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance(); } public static final int GOOGLE_DOMAINS_DNS_FIELD_NUMBER = 2; /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -5976,22 +6822,27 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * * @return The googleDomainsDns. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDomainsDns() { if (dnsProviderCase_ == 2) { - return (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_; + return (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_; } return com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance(); } /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
@@ -6000,9 +6851,10 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDo
    * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() {
+  public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder
+      getGoogleDomainsDnsOrBuilder() {
     if (dnsProviderCase_ == 2) {
-       return (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_;
+      return (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_;
     }
     return com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance();
   }
@@ -6010,6 +6862,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder ge
   public static final int GLUE_RECORDS_FIELD_NUMBER = 4;
   private java.util.List glueRecords_;
   /**
+   *
+   *
    * 
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6017,10 +6871,13 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder ge * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ @java.lang.Override - public java.util.List getGlueRecordsList() { + public java.util.List + getGlueRecordsList() { return glueRecords_; } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6028,11 +6885,13 @@ public java.util.List g * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ @java.lang.Override - public java.util.List + public java.util.List getGlueRecordsOrBuilderList() { return glueRecords_; } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6044,6 +6903,8 @@ public int getGlueRecordsCount() { return glueRecords_.size(); } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6055,6 +6916,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getGlueRecords(in return glueRecords_.get(index); } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6068,6 +6931,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueR } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6079,13 +6943,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dnsProviderCase_ == 1) { output.writeMessage(1, (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - output.writeMessage(2, (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_); + output.writeMessage( + 2, (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { output.writeMessage(4, glueRecords_.get(i)); @@ -6100,16 +6964,17 @@ public int getSerializedSize() { size = 0; if (dnsProviderCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_); } if (dnsProviderCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_); } for (int i = 0; i < glueRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, glueRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, glueRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6119,24 +6984,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.domains.v1beta1.DnsSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.DnsSettings other = (com.google.cloud.domains.v1beta1.DnsSettings) obj; + com.google.cloud.domains.v1beta1.DnsSettings other = + (com.google.cloud.domains.v1beta1.DnsSettings) obj; - if (!getGlueRecordsList() - .equals(other.getGlueRecordsList())) return false; + if (!getGlueRecordsList().equals(other.getGlueRecordsList())) return false; if (!getDnsProviderCase().equals(other.getDnsProviderCase())) return false; switch (dnsProviderCase_) { case 1: - if (!getCustomDns() - .equals(other.getCustomDns())) return false; + if (!getCustomDns().equals(other.getCustomDns())) return false; break; case 2: - if (!getGoogleDomainsDns() - .equals(other.getGoogleDomainsDns())) return false; + if (!getGoogleDomainsDns().equals(other.getGoogleDomainsDns())) return false; break; case 0: default: @@ -6173,97 +7036,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom(java.io.InputStream input) 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.domains.v1beta1.DnsSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.DnsSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.DnsSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.DnsSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1beta1.DnsSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines the DNS configuration of a `Registration`, including name servers,
    * DNSSEC, and glue records.
@@ -6271,21 +7141,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.DnsSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.DnsSettings)
       com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.DnsSettings.class, com.google.cloud.domains.v1beta1.DnsSettings.Builder.class);
+              com.google.cloud.domains.v1beta1.DnsSettings.class,
+              com.google.cloud.domains.v1beta1.DnsSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1beta1.DnsSettings.newBuilder()
@@ -6293,17 +7165,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getGlueRecordsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6319,9 +7191,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
     }
 
     @java.lang.Override
@@ -6340,7 +7212,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1beta1.DnsSettings buildPartial() {
-      com.google.cloud.domains.v1beta1.DnsSettings result = new com.google.cloud.domains.v1beta1.DnsSettings(this);
+      com.google.cloud.domains.v1beta1.DnsSettings result =
+          new com.google.cloud.domains.v1beta1.DnsSettings(this);
       int from_bitField0_ = bitField0_;
       if (dnsProviderCase_ == 1) {
         if (customDnsBuilder_ == null) {
@@ -6374,38 +7247,39 @@ public com.google.cloud.domains.v1beta1.DnsSettings buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1beta1.DnsSettings) {
-        return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings)other);
+        return mergeFrom((com.google.cloud.domains.v1beta1.DnsSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6432,26 +7306,30 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.DnsSettings other) {
             glueRecordsBuilder_ = null;
             glueRecords_ = other.glueRecords_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            glueRecordsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getGlueRecordsFieldBuilder() : null;
+            glueRecordsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getGlueRecordsFieldBuilder()
+                    : null;
           } else {
             glueRecordsBuilder_.addAllMessages(other.glueRecords_);
           }
         }
       }
       switch (other.getDnsProviderCase()) {
-        case CUSTOM_DNS: {
-          mergeCustomDns(other.getCustomDns());
-          break;
-        }
-        case GOOGLE_DOMAINS_DNS: {
-          mergeGoogleDomainsDns(other.getGoogleDomainsDns());
-          break;
-        }
-        case DNSPROVIDER_NOT_SET: {
-          break;
-        }
+        case CUSTOM_DNS:
+          {
+            mergeCustomDns(other.getCustomDns());
+            break;
+          }
+        case GOOGLE_DOMAINS_DNS:
+          {
+            mergeGoogleDomainsDns(other.getGoogleDomainsDns());
+            break;
+          }
+        case DNSPROVIDER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -6481,12 +7359,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int dnsProviderCase_ = 0;
     private java.lang.Object dnsProvider_;
-    public DnsProviderCase
-        getDnsProviderCase() {
-      return DnsProviderCase.forNumber(
-          dnsProviderCase_);
+
+    public DnsProviderCase getDnsProviderCase() {
+      return DnsProviderCase.forNumber(dnsProviderCase_);
     }
 
     public Builder clearDnsProvider() {
@@ -6499,13 +7377,19 @@ public Builder clearDnsProvider() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1beta1.DnsSettings.CustomDns, com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder> customDnsBuilder_;
+            com.google.cloud.domains.v1beta1.DnsSettings.CustomDns,
+            com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder,
+            com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder>
+        customDnsBuilder_;
     /**
+     *
+     *
      * 
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; + * * @return Whether the customDns field is set. */ @java.lang.Override @@ -6513,11 +7397,14 @@ public boolean hasCustomDns() { return dnsProviderCase_ == 1; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; + * * @return The customDns. */ @java.lang.Override @@ -6535,6 +7422,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getCustomDns() { } } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6555,6 +7444,8 @@ public Builder setCustomDns(com.google.cloud.domains.v1beta1.DnsSettings.CustomD return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6573,6 +7464,8 @@ public Builder setCustomDns( return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6581,10 +7474,14 @@ public Builder setCustomDns( */ public Builder mergeCustomDns(com.google.cloud.domains.v1beta1.DnsSettings.CustomDns value) { if (customDnsBuilder_ == null) { - if (dnsProviderCase_ == 1 && - dnsProvider_ != com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance()) { - dnsProvider_ = com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.newBuilder((com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_) - .mergeFrom(value).buildPartial(); + if (dnsProviderCase_ == 1 + && dnsProvider_ + != com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance()) { + dnsProvider_ = + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.newBuilder( + (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_) + .mergeFrom(value) + .buildPartial(); } else { dnsProvider_ = value; } @@ -6600,6 +7497,8 @@ public Builder mergeCustomDns(com.google.cloud.domains.v1beta1.DnsSettings.Custo return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6623,6 +7522,8 @@ public Builder clearCustomDns() { return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6633,6 +7534,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder getCustomD return getCustomDnsFieldBuilder().getBuilder(); } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6651,6 +7554,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder getCustom } } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6658,33 +7563,47 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder getCustom * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns, com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder> + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns, + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder> getCustomDnsFieldBuilder() { if (customDnsBuilder_ == null) { if (!(dnsProviderCase_ == 1)) { - dnsProvider_ = com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance(); - } - customDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.CustomDns, com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder>( + dnsProvider_ = + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.getDefaultInstance(); + } + customDnsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns, + com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder>( (com.google.cloud.domains.v1beta1.DnsSettings.CustomDns) dnsProvider_, getParentForChildren(), isClean()); dnsProvider_ = null; } dnsProviderCase_ = 1; - onChanged();; + onChanged(); + ; return customDnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder> googleDomainsDnsBuilder_; + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder> + googleDomainsDnsBuilder_; /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * + * * @return Whether the googleDomainsDns field is set. */ @java.lang.Override @@ -6692,12 +7611,16 @@ public boolean hasGoogleDomainsDns() { return dnsProviderCase_ == 2; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * + * * @return The googleDomainsDns. */ @java.lang.Override @@ -6715,14 +7638,18 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDo } } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ - public Builder setGoogleDomainsDns(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns value) { + public Builder setGoogleDomainsDns( + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns value) { if (googleDomainsDnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6736,12 +7663,15 @@ public Builder setGoogleDomainsDns(com.google.cloud.domains.v1beta1.DnsSettings. return this; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ public Builder setGoogleDomainsDns( com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder builderForValue) { @@ -6755,19 +7685,28 @@ public Builder setGoogleDomainsDns( return this; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ - public Builder mergeGoogleDomainsDns(com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns value) { + public Builder mergeGoogleDomainsDns( + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns value) { if (googleDomainsDnsBuilder_ == null) { - if (dnsProviderCase_ == 2 && - dnsProvider_ != com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance()) { - dnsProvider_ = com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.newBuilder((com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_) - .mergeFrom(value).buildPartial(); + if (dnsProviderCase_ == 2 + && dnsProvider_ + != com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns + .getDefaultInstance()) { + dnsProvider_ = + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.newBuilder( + (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_) + .mergeFrom(value) + .buildPartial(); } else { dnsProvider_ = value; } @@ -6783,12 +7722,15 @@ public Builder mergeGoogleDomainsDns(com.google.cloud.domains.v1beta1.DnsSetting return this; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ public Builder clearGoogleDomainsDns() { if (googleDomainsDnsBuilder_ == null) { @@ -6807,26 +7749,34 @@ public Builder clearGoogleDomainsDns() { return this; } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ - public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder getGoogleDomainsDnsBuilder() { + public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder + getGoogleDomainsDnsBuilder() { return getGoogleDomainsDnsFieldBuilder().getBuilder(); } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ @java.lang.Override - public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder() { + public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder + getGoogleDomainsDnsOrBuilder() { if ((dnsProviderCase_ == 2) && (googleDomainsDnsBuilder_ != null)) { return googleDomainsDnsBuilder_.getMessageOrBuilder(); } else { @@ -6837,52 +7787,71 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder ge } } /** + * + * *
      * The free DNS zone provided by
      * [Google Domains](https://domains.google/).
      * 
* - * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder> + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder> getGoogleDomainsDnsFieldBuilder() { if (googleDomainsDnsBuilder_ == null) { if (!(dnsProviderCase_ == 2)) { - dnsProvider_ = com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance(); - } - googleDomainsDnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder>( + dnsProvider_ = + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.getDefaultInstance(); + } + googleDomainsDnsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns, + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder>( (com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns) dnsProvider_, getParentForChildren(), isClean()); dnsProvider_ = null; } dnsProviderCase_ = 2; - onChanged();; + onChanged(); + ; return googleDomainsDnsBuilder_; } private java.util.List glueRecords_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureGlueRecordsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - glueRecords_ = new java.util.ArrayList(glueRecords_); + glueRecords_ = + new java.util.ArrayList( + glueRecords_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder> glueRecordsBuilder_; + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder> + glueRecordsBuilder_; /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List getGlueRecordsList() { + public java.util.List + getGlueRecordsList() { if (glueRecordsBuilder_ == null) { return java.util.Collections.unmodifiableList(glueRecords_); } else { @@ -6890,6 +7859,8 @@ public java.util.List g } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6904,6 +7875,8 @@ public int getGlueRecordsCount() { } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6918,6 +7891,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getGlueRecords(in } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6939,6 +7914,8 @@ public Builder setGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6946,7 +7923,8 @@ public Builder setGlueRecords( * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ public Builder setGlueRecords( - int index, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder builderForValue) { + int index, + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder builderForValue) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); glueRecords_.set(index, builderForValue.build()); @@ -6957,6 +7935,8 @@ public Builder setGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6977,6 +7957,8 @@ public Builder addGlueRecords(com.google.cloud.domains.v1beta1.DnsSettings.GlueR return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6998,6 +7980,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7016,6 +8000,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7023,7 +8009,8 @@ public Builder addGlueRecords( * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ public Builder addGlueRecords( - int index, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder builderForValue) { + int index, + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder builderForValue) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); glueRecords_.add(index, builderForValue.build()); @@ -7034,6 +8021,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7041,11 +8030,11 @@ public Builder addGlueRecords( * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ public Builder addAllGlueRecords( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (glueRecordsBuilder_ == null) { ensureGlueRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, glueRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, glueRecords_); onChanged(); } else { glueRecordsBuilder_.addAllMessages(values); @@ -7053,6 +8042,8 @@ public Builder addAllGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7070,6 +8061,8 @@ public Builder clearGlueRecords() { return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7087,6 +8080,8 @@ public Builder removeGlueRecords(int index) { return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7098,6 +8093,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder getGlueRe return getGlueRecordsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7107,19 +8104,23 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder getGlueRe public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder( int index) { if (glueRecordsBuilder_ == null) { - return glueRecords_.get(index); } else { + return glueRecords_.get(index); + } else { return glueRecordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder> + getGlueRecordsOrBuilderList() { if (glueRecordsBuilder_ != null) { return glueRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -7127,6 +8128,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueR } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7134,10 +8137,12 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueR * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder() { - return getGlueRecordsFieldBuilder().addBuilder( - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance()); + return getGlueRecordsFieldBuilder() + .addBuilder(com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance()); } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7146,37 +8151,43 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder addGlueRe */ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder addGlueRecordsBuilder( int index) { - return getGlueRecordsFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance()); + return getGlueRecordsFieldBuilder() + .addBuilder( + index, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.getDefaultInstance()); } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
* * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ - public java.util.List - getGlueRecordsBuilderList() { + public java.util.List + getGlueRecordsBuilderList() { return getGlueRecordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder> + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder> getGlueRecordsFieldBuilder() { if (glueRecordsBuilder_ == null) { - glueRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder>( - glueRecords_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + glueRecordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord, + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord.Builder, + com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder>( + glueRecords_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); glueRecords_ = null; } return glueRecordsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7186,12 +8197,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.DnsSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.DnsSettings) private static final com.google.cloud.domains.v1beta1.DnsSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.DnsSettings(); } @@ -7200,16 +8211,16 @@ public static com.google.cloud.domains.v1beta1.DnsSettings getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DnsSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DnsSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7224,6 +8235,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.DnsSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java similarity index 80% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java index 30edffcb..e8a7f599 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DnsSettingsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface DnsSettingsOrBuilder extends +public interface DnsSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.DnsSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; + * * @return Whether the customDns field is set. */ boolean hasCustomDns(); /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1; + * * @return The customDns. */ com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getCustomDns(); /** + * + * *
    * An arbitrary DNS provider identified by its name servers.
    * 
@@ -35,26 +59,34 @@ public interface DnsSettingsOrBuilder extends com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder(); /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * * @return Whether the googleDomainsDns field is set. */ boolean hasGoogleDomainsDns(); /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
    * 
* * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2; + * * @return The googleDomainsDns. */ com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns getGoogleDomainsDns(); /** + * + * *
    * The free DNS zone provided by
    * [Google Domains](https://domains.google/).
@@ -62,18 +94,22 @@ public interface DnsSettingsOrBuilder extends
    *
    * .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    */
-  com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder();
+  com.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsOrBuilder
+      getGoogleDomainsDnsOrBuilder();
 
   /**
+   *
+   *
    * 
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List - getGlueRecordsList(); + java.util.List getGlueRecordsList(); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -82,6 +118,8 @@ public interface DnsSettingsOrBuilder extends */ com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getGlueRecords(int index); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -90,15 +128,19 @@ public interface DnsSettingsOrBuilder extends */ int getGlueRecordsCount(); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
* * repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4; */ - java.util.List + java.util.List getGlueRecordsOrBuilderList(); /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java index 92e929b3..6baf8fd0 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainNotice.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Notices about special properties of certain domains.
  * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.DomainNotice} */ -public enum DomainNotice - implements com.google.protobuf.ProtocolMessageEnum { +public enum DomainNotice implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The notice is undefined.
    * 
@@ -21,6 +39,8 @@ public enum DomainNotice */ DOMAIN_NOTICE_UNSPECIFIED(0), /** + * + * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -36,6 +56,8 @@ public enum DomainNotice
   ;
 
   /**
+   *
+   *
    * 
    * The notice is undefined.
    * 
@@ -44,6 +66,8 @@ public enum DomainNotice */ public static final int DOMAIN_NOTICE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Indicates that the domain is preloaded on the HTTP Strict Transport
    * Security list in browsers. Serving a website on such domain requires
@@ -56,7 +80,6 @@ public enum DomainNotice
    */
   public static final int HSTS_PRELOADED_VALUE = 1;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -81,48 +104,47 @@ public static DomainNotice valueOf(int value) {
    */
   public static DomainNotice forNumber(int value) {
     switch (value) {
-      case 0: return DOMAIN_NOTICE_UNSPECIFIED;
-      case 1: return HSTS_PRELOADED;
-      default: return null;
+      case 0:
+        return DOMAIN_NOTICE_UNSPECIFIED;
+      case 1:
+        return HSTS_PRELOADED;
+      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<
-      DomainNotice> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DomainNotice findValueByNumber(int number) {
-            return DomainNotice.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 DomainNotice findValueByNumber(int number) {
+          return DomainNotice.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.domains.v1beta1.DomainsProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final DomainNotice[] VALUES = values();
 
-  public static DomainNotice valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DomainNotice 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;
@@ -138,4 +160,3 @@ private DomainNotice(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1beta1.DomainNotice)
 }
-
diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java
new file mode 100644
index 00000000..3f33cecf
--- /dev/null
+++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java
@@ -0,0 +1,807 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/domains/v1beta1/domains.proto
+
+package com.google.cloud.domains.v1beta1;
+
+public final class DomainsProto {
+  private DomainsProto() {}
+
+  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_domains_v1beta1_Registration_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_domains_v1beta1_OperationMetadata_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/domains/v1beta1/domains.p"
+          + "roto\022\034google.cloud.domains.v1beta1\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/lo"
+          + "ngrunning/operations.proto\032 google/proto"
+          + "buf/field_mask.proto\032\037google/protobuf/ti"
+          + "mestamp.proto\032\027google/type/money.proto\032 "
+          + "google/type/postal_address.proto\"\223\t\n\014Reg"
+          + "istration\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\033\n\013domain_n"
+          + "ame\030\002 \001(\tB\006\340A\002\340A\005\0224\n\013create_time\030\003 \001(\0132\032"
+          + ".google.protobuf.TimestampB\003\340A\003\0224\n\013expir"
+          + "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp"
+          + "B\003\340A\003\022D\n\005state\030\007 \001(\01620.google.cloud.doma"
+          + "ins.v1beta1.Registration.StateB\003\340A\003\022E\n\006i"
+          + "ssues\030\010 \003(\01620.google.cloud.domains.v1bet"
+          + "a1.Registration.IssueB\003\340A\003\022F\n\006labels\030\t \003"
+          + "(\01326.google.cloud.domains.v1beta1.Regist"
+          + "ration.LabelsEntry\022M\n\023management_setting"
+          + "s\030\n \001(\01320.google.cloud.domains.v1beta1.M"
+          + "anagementSettings\022?\n\014dns_settings\030\013 \001(\0132"
+          + ").google.cloud.domains.v1beta1.DnsSettin"
+          + "gs\022L\n\020contact_settings\030\014 \001(\0132-.google.cl"
+          + "oud.domains.v1beta1.ContactSettingsB\003\340A\002"
+          + "\022T\n\030pending_contact_settings\030\r \001(\0132-.goo"
+          + "gle.cloud.domains.v1beta1.ContactSetting"
+          + "sB\003\340A\003\022L\n\021supported_privacy\030\016 \003(\0162,.goog"
+          + "le.cloud.domains.v1beta1.ContactPrivacyB"
+          + "\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu"
+          + "e\030\002 \001(\t:\0028\001\"\245\001\n\005State\022\025\n\021STATE_UNSPECIFI"
+          + "ED\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022\027\n\023REGIST"
+          + "RATION_FAILED\020\002\022\024\n\020TRANSFER_PENDING\020\003\022\023\n"
+          + "\017TRANSFER_FAILED\020\004\022\n\n\006ACTIVE\020\006\022\r\n\tSUSPEN"
+          + "DED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025\n\021ISSUE_UN"
+          + "SPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVE"
+          + "RIFIED_EMAIL\020\002:n\352Ak\n#domains.googleapis."
+          + "com/Registration\022Dprojects/{project}/loc"
+          + "ations/{location}/registrations/{registr"
+          + "ation}\"\233\002\n\022ManagementSettings\022[\n\016renewal"
+          + "_method\030\003 \001(\0162>.google.cloud.domains.v1b"
+          + "eta1.ManagementSettings.RenewalMethodB\003\340"
+          + "A\003\022L\n\023transfer_lock_state\030\004 \001(\0162/.google"
+          + ".cloud.domains.v1beta1.TransferLockState"
+          + "\"Z\n\rRenewalMethod\022\036\n\032RENEWAL_METHOD_UNSP"
+          + "ECIFIED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001\022\022\n\016MANU"
+          + "AL_RENEWAL\020\002\"\306\n\n\013DnsSettings\022I\n\ncustom_d"
+          + "ns\030\001 \001(\01323.google.cloud.domains.v1beta1."
+          + "DnsSettings.CustomDnsH\000\022X\n\022google_domain"
+          + "s_dns\030\002 \001(\0132:.google.cloud.domains.v1bet"
+          + "a1.DnsSettings.GoogleDomainsDnsH\000\022J\n\014glu"
+          + "e_records\030\004 \003(\01324.google.cloud.domains.v"
+          + "1beta1.DnsSettings.GlueRecord\032n\n\tCustomD"
+          + "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\002\022F\n\nds_reco"
+          + "rds\030\002 \003(\01322.google.cloud.domains.v1beta1"
+          + ".DnsSettings.DsRecord\032\304\001\n\020GoogleDomainsD"
+          + "ns\022\031\n\014name_servers\030\001 \003(\tB\003\340A\003\022H\n\010ds_stat"
+          + "e\030\002 \001(\01621.google.cloud.domains.v1beta1.D"
+          + "nsSettings.DsStateB\003\340A\002\022K\n\nds_records\030\003 "
+          + "\003(\01322.google.cloud.domains.v1beta1.DnsSe"
+          + "ttings.DsRecordB\003\340A\003\032\315\004\n\010DsRecord\022\017\n\007key"
+          + "_tag\030\001 \001(\005\022O\n\talgorithm\030\002 \001(\0162<.google.c"
+          + "loud.domains.v1beta1.DnsSettings.DsRecor"
+          + "d.Algorithm\022R\n\013digest_type\030\003 \001(\0162=.googl"
+          + "e.cloud.domains.v1beta1.DnsSettings.DsRe"
+          + "cord.DigestType\022\016\n\006digest\030\004 \001(\t\"\237\002\n\tAlgo"
+          + "rithm\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\022\n\n\006RSAM"
+          + "D5\020\001\022\006\n\002DH\020\002\022\007\n\003DSA\020\003\022\007\n\003ECC\020\004\022\013\n\007RSASHA"
+          + "1\020\005\022\020\n\014DSANSEC3SHA1\020\006\022\024\n\020RSASHA1NSEC3SHA"
+          + "1\020\007\022\r\n\tRSASHA256\020\010\022\r\n\tRSASHA512\020\n\022\013\n\007ECC"
+          + "GOST\020\014\022\023\n\017ECDSAP256SHA256\020\r\022\023\n\017ECDSAP384"
+          + "SHA384\020\016\022\013\n\007ED25519\020\017\022\t\n\005ED448\020\020\022\r\n\010INDI"
+          + "RECT\020\374\001\022\017\n\nPRIVATEDNS\020\375\001\022\017\n\nPRIVATEOID\020\376"
+          + "\001\"Y\n\nDigestType\022\033\n\027DIGEST_TYPE_UNSPECIFI"
+          + "ED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SHA256\020\002\022\014\n\010GOST3411\020\003"
+          + "\022\n\n\006SHA384\020\004\032T\n\nGlueRecord\022\026\n\thost_name\030"
+          + "\001 \001(\tB\003\340A\002\022\026\n\016ipv4_addresses\030\002 \003(\t\022\026\n\016ip"
+          + "v6_addresses\030\003 \003(\t\"Y\n\007DsState\022\030\n\024DS_STAT"
+          + "E_UNSPECIFIED\020\000\022\032\n\026DS_RECORDS_UNPUBLISHE"
+          + "D\020\001\022\030\n\024DS_RECORDS_PUBLISHED\020\002B\016\n\014dns_pro"
+          + "vider\"\337\003\n\017ContactSettings\022B\n\007privacy\030\001 \001"
+          + "(\0162,.google.cloud.domains.v1beta1.Contac"
+          + "tPrivacyB\003\340A\002\022V\n\022registrant_contact\030\002 \001("
+          + "\01325.google.cloud.domains.v1beta1.Contact"
+          + "Settings.ContactB\003\340A\002\022Q\n\radmin_contact\030\003"
+          + " \001(\01325.google.cloud.domains.v1beta1.Cont"
+          + "actSettings.ContactB\003\340A\002\022U\n\021technical_co"
+          + "ntact\030\004 \001(\01325.google.cloud.domains.v1bet"
+          + "a1.ContactSettings.ContactB\003\340A\002\032\205\001\n\007Cont"
+          + "act\0227\n\016postal_address\030\001 \001(\0132\032.google.typ"
+          + "e.PostalAddressB\003\340A\002\022\022\n\005email\030\002 \001(\tB\003\340A\002"
+          + "\022\031\n\014phone_number\030\003 \001(\tB\003\340A\002\022\022\n\nfax_numbe"
+          + "r\030\004 \001(\t\"g\n\024SearchDomainsRequest\022\022\n\005query"
+          + "\030\001 \001(\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!l"
+          + "ocations.googleapis.com/Location\"f\n\025Sear"
+          + "chDomainsResponse\022M\n\023register_parameters"
+          + "\030\001 \003(\01320.google.cloud.domains.v1beta1.Re"
+          + "gisterParameters\"z\n!RetrieveRegisterPara"
+          + "metersRequest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022"
+          + ";\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locations.goo"
+          + "gleapis.com/Location\"s\n\"RetrieveRegister"
+          + "ParametersResponse\022M\n\023register_parameter"
+          + "s\030\001 \001(\01320.google.cloud.domains.v1beta1.R"
+          + "egisterParameters\"\351\002\n\025RegisterDomainRequ"
+          + "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.g"
+          + "oogleapis.com/Location\022E\n\014registration\030\002"
+          + " \001(\0132*.google.cloud.domains.v1beta1.Regi"
+          + "strationB\003\340A\002\022B\n\016domain_notices\030\003 \003(\0162*."
+          + "google.cloud.domains.v1beta1.DomainNotic"
+          + "e\022D\n\017contact_notices\030\004 \003(\0162+.google.clou"
+          + "d.domains.v1beta1.ContactNotice\022-\n\014yearl"
+          + "y_price\030\005 \001(\0132\022.google.type.MoneyB\003\340A\002\022\025"
+          + "\n\rvalidate_only\030\006 \001(\010\"z\n!RetrieveTransfe"
+          + "rParametersRequest\022\030\n\013domain_name\030\001 \001(\tB"
+          + "\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!location"
+          + "s.googleapis.com/Location\"s\n\"RetrieveTra"
+          + "nsferParametersResponse\022M\n\023transfer_para"
+          + "meters\030\001 \001(\01320.google.cloud.domains.v1be"
+          + "ta1.TransferParameters\"\362\002\n\025TransferDomai"
+          + "nRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati"
+          + "ons.googleapis.com/Location\022E\n\014registrat"
+          + "ion\030\002 \001(\0132*.google.cloud.domains.v1beta1"
+          + ".RegistrationB\003\340A\002\022D\n\017contact_notices\030\003 "
+          + "\003(\0162+.google.cloud.domains.v1beta1.Conta"
+          + "ctNotice\022-\n\014yearly_price\030\004 \001(\0132\022.google."
+          + "type.MoneyB\003\340A\002\022K\n\022authorization_code\030\005 "
+          + "\001(\0132/.google.cloud.domains.v1beta1.Autho"
+          + "rizationCode\022\025\n\rvalidate_only\030\006 \001(\010\"\214\001\n\030"
+          + "ListRegistrationsRequest\0229\n\006parent\030\001 \001(\t"
+          + "B)\340A\002\372A#\n!locations.googleapis.com/Locat"
+          + "ion\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\"w\n\031ListRegistrationsR"
+          + "esponse\022A\n\rregistrations\030\001 \003(\0132*.google."
+          + "cloud.domains.v1beta1.Registration\022\027\n\017ne"
+          + "xt_page_token\030\002 \001(\t\"S\n\026GetRegistrationRe"
+          + "quest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.goo"
+          + "gleapis.com/Registration\"\223\001\n\031UpdateRegis"
+          + "trationRequest\022@\n\014registration\030\001 \001(\0132*.g"
+          + "oogle.cloud.domains.v1beta1.Registration"
+          + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf."
+          + "FieldMaskB\003\340A\002\"\354\001\n\"ConfigureManagementSe"
+          + "ttingsRequest\022A\n\014registration\030\001 \001(\tB+\340A\002"
+          + "\372A%\n#domains.googleapis.com/Registration"
+          + "\022M\n\023management_settings\030\002 \001(\01320.google.c"
+          + "loud.domains.v1beta1.ManagementSettings\022"
+          + "4\n\013update_mask\030\003 \001(\0132\032.google.protobuf.F"
+          + "ieldMaskB\003\340A\002\"\356\001\n\033ConfigureDnsSettingsRe"
+          + "quest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#dom"
+          + "ains.googleapis.com/Registration\022?\n\014dns_"
+          + "settings\030\002 \001(\0132).google.cloud.domains.v1"
+          + "beta1.DnsSettings\0224\n\013update_mask\030\003 \001(\0132\032"
+          + ".google.protobuf.FieldMaskB\003\340A\002\022\025\n\rvalid"
+          + "ate_only\030\004 \001(\010\"\300\002\n\037ConfigureContactSetti"
+          + "ngsRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%"
+          + "\n#domains.googleapis.com/Registration\022G\n"
+          + "\020contact_settings\030\002 \001(\0132-.google.cloud.d"
+          + "omains.v1beta1.ContactSettings\0224\n\013update"
+          + "_mask\030\003 \001(\0132\032.google.protobuf.FieldMaskB"
+          + "\003\340A\002\022D\n\017contact_notices\030\004 \003(\0162+.google.c"
+          + "loud.domains.v1beta1.ContactNotice\022\025\n\rva"
+          + "lidate_only\030\005 \001(\010\"V\n\031ExportRegistrationR"
+          + "equest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.go"
+          + "ogleapis.com/Registration\"V\n\031DeleteRegis"
+          + "trationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#do"
+          + "mains.googleapis.com/Registration\"e\n Ret"
+          + "rieveAuthorizationCodeRequest\022A\n\014registr"
+          + "ation\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis."
+          + "com/Registration\"b\n\035ResetAuthorizationCo"
+          + "deRequest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n"
+          + "#domains.googleapis.com/Registration\"\241\003\n"
+          + "\022RegisterParameters\022\023\n\013domain_name\030\001 \001(\t"
+          + "\022S\n\014availability\030\002 \001(\0162=.google.cloud.do"
+          + "mains.v1beta1.RegisterParameters.Availab"
+          + "ility\022G\n\021supported_privacy\030\003 \003(\0162,.googl"
+          + "e.cloud.domains.v1beta1.ContactPrivacy\022B"
+          + "\n\016domain_notices\030\004 \003(\0162*.google.cloud.do"
+          + "mains.v1beta1.DomainNotice\022(\n\014yearly_pri"
+          + "ce\030\005 \001(\0132\022.google.type.Money\"j\n\014Availabi"
+          + "lity\022\034\n\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\tAV"
+          + "AILABLE\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTE"
+          + "D\020\003\022\013\n\007UNKNOWN\020\004\"\233\002\n\022TransferParameters\022"
+          + "\023\n\013domain_name\030\001 \001(\t\022\031\n\021current_registra"
+          + "r\030\002 \001(\t\022\024\n\014name_servers\030\003 \003(\t\022L\n\023transfe"
+          + "r_lock_state\030\004 \001(\0162/.google.cloud.domain"
+          + "s.v1beta1.TransferLockState\022G\n\021supported"
+          + "_privacy\030\005 \003(\0162,.google.cloud.domains.v1"
+          + "beta1.ContactPrivacy\022(\n\014yearly_price\030\006 \001"
+          + "(\0132\022.google.type.Money\"!\n\021AuthorizationC"
+          + "ode\022\014\n\004code\030\001 \001(\t\"\274\001\n\021OperationMetadata\022"
+          + "/\n\013create_time\030\001 \001(\0132\032.google.protobuf.T"
+          + "imestamp\022,\n\010end_time\030\002 \001(\0132\032.google.prot"
+          + "obuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004"
+          + " \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\023\n\013api_versi"
+          + "on\030\006 \001(\t*\177\n\016ContactPrivacy\022\037\n\033CONTACT_PR"
+          + "IVACY_UNSPECIFIED\020\000\022\027\n\023PUBLIC_CONTACT_DA"
+          + "TA\020\001\022\030\n\024PRIVATE_CONTACT_DATA\020\002\022\031\n\025REDACT"
+          + "ED_CONTACT_DATA\020\003*A\n\014DomainNotice\022\035\n\031DOM"
+          + "AIN_NOTICE_UNSPECIFIED\020\000\022\022\n\016HSTS_PRELOAD"
+          + "ED\020\001*X\n\rContactNotice\022\036\n\032CONTACT_NOTICE_"
+          + "UNSPECIFIED\020\000\022\'\n#PUBLIC_CONTACT_DATA_ACK"
+          + "NOWLEDGEMENT\020\001*R\n\021TransferLockState\022#\n\037T"
+          + "RANSFER_LOCK_STATE_UNSPECIFIED\020\000\022\014\n\010UNLO"
+          + "CKED\020\001\022\n\n\006LOCKED\020\0022\312\036\n\007Domains\022\331\001\n\rSearc"
+          + "hDomains\0222.google.cloud.domains.v1beta1."
+          + "SearchDomainsRequest\0323.google.cloud.doma"
+          + "ins.v1beta1.SearchDomainsResponse\"_\202\323\344\223\002"
+          + "H\022F/v1beta1/{location=projects/*/locatio"
+          + "ns/*}/registrations:searchDomains\332A\016loca"
+          + "tion,query\022\223\002\n\032RetrieveRegisterParameter"
+          + "s\022?.google.cloud.domains.v1beta1.Retriev"
+          + "eRegisterParametersRequest\032@.google.clou"
+          + "d.domains.v1beta1.RetrieveRegisterParame"
+          + "tersResponse\"r\202\323\344\223\002U\022S/v1beta1/{location"
+          + "=projects/*/locations/*}/registrations:r"
+          + "etrieveRegisterParameters\332A\024location,dom"
+          + "ain_name\022\370\001\n\016RegisterDomain\0223.google.clo"
+          + "ud.domains.v1beta1.RegisterDomainRequest"
+          + "\032\035.google.longrunning.Operation\"\221\001\202\323\344\223\002D"
+          + "\"?/v1beta1/{parent=projects/*/locations/"
+          + "*}/registrations:register:\001*\332A parent,re"
+          + "gistration,yearly_price\312A!\n\014Registration"
+          + "\022\021OperationMetadata\022\223\002\n\032RetrieveTransfer"
+          + "Parameters\022?.google.cloud.domains.v1beta"
+          + "1.RetrieveTransferParametersRequest\032@.go"
+          + "ogle.cloud.domains.v1beta1.RetrieveTrans"
+          + "ferParametersResponse\"r\202\323\344\223\002U\022S/v1beta1/"
+          + "{location=projects/*/locations/*}/regist"
+          + "rations:retrieveTransferParameters\332A\024loc"
+          + "ation,domain_name\022\213\002\n\016TransferDomain\0223.g"
+          + "oogle.cloud.domains.v1beta1.TransferDoma"
+          + "inRequest\032\035.google.longrunning.Operation"
+          + "\"\244\001\202\323\344\223\002D\"?/v1beta1/{parent=projects/*/l"
+          + "ocations/*}/registrations:transfer:\001*\332A3"
+          + "parent,registration,yearly_price,authori"
+          + "zation_code\312A!\n\014Registration\022\021OperationM"
+          + "etadata\022\315\001\n\021ListRegistrations\0226.google.c"
+          + "loud.domains.v1beta1.ListRegistrationsRe"
+          + "quest\0327.google.cloud.domains.v1beta1.Lis"
+          + "tRegistrationsResponse\"G\202\323\344\223\0028\0226/v1beta1"
+          + "/{parent=projects/*/locations/*}/registr"
+          + "ations\332A\006parent\022\272\001\n\017GetRegistration\0224.go"
+          + "ogle.cloud.domains.v1beta1.GetRegistrati"
+          + "onRequest\032*.google.cloud.domains.v1beta1"
+          + ".Registration\"E\202\323\344\223\0028\0226/v1beta1/{name=pr"
+          + "ojects/*/locations/*/registrations/*}\332A\004"
+          + "name\022\207\002\n\022UpdateRegistration\0227.google.clo"
+          + "ud.domains.v1beta1.UpdateRegistrationReq"
+          + "uest\032\035.google.longrunning.Operation\"\230\001\202\323"
+          + "\344\223\002S2C/v1beta1/{registration.name=projec"
+          + "ts/*/locations/*/registrations/*}:\014regis"
+          + "tration\332A\030registration,update_mask\312A!\n\014R"
+          + "egistration\022\021OperationMetadata\022\271\002\n\033Confi"
+          + "gureManagementSettings\022@.google.cloud.do"
+          + "mains.v1beta1.ConfigureManagementSetting"
+          + "sRequest\032\035.google.longrunning.Operation\""
+          + "\270\001\202\323\344\223\002_\"Z/v1beta1/{registration=project"
+          + "s/*/locations/*/registrations/*}:configu"
+          + "reManagementSettings:\001*\332A,registration,m"
+          + "anagement_settings,update_mask\312A!\n\014Regis"
+          + "tration\022\021OperationMetadata\022\235\002\n\024Configure"
+          + "DnsSettings\0229.google.cloud.domains.v1bet"
+          + "a1.ConfigureDnsSettingsRequest\032\035.google."
+          + "longrunning.Operation\"\252\001\202\323\344\223\002X\"S/v1beta1"
+          + "/{registration=projects/*/locations/*/re"
+          + "gistrations/*}:configureDnsSettings:\001*\332A"
+          + "%registration,dns_settings,update_mask\312A"
+          + "!\n\014Registration\022\021OperationMetadata\022\255\002\n\030C"
+          + "onfigureContactSettings\022=.google.cloud.d"
+          + "omains.v1beta1.ConfigureContactSettingsR"
+          + "equest\032\035.google.longrunning.Operation\"\262\001"
+          + "\202\323\344\223\002\\\"W/v1beta1/{registration=projects/"
+          + "*/locations/*/registrations/*}:configure"
+          + "ContactSettings:\001*\332A)registration,contac"
+          + "t_settings,update_mask\312A!\n\014Registration\022"
+          + "\021OperationMetadata\022\341\001\n\022ExportRegistratio"
+          + "n\0227.google.cloud.domains.v1beta1.ExportR"
+          + "egistrationRequest\032\035.google.longrunning."
+          + "Operation\"s\202\323\344\223\002B\"=/v1beta1/{name=projec"
+          + "ts/*/locations/*/registrations/*}:export"
+          + ":\001*\332A\004name\312A!\n\014Registration\022\021OperationMe"
+          + "tadata\022\340\001\n\022DeleteRegistration\0227.google.c"
+          + "loud.domains.v1beta1.DeleteRegistrationR"
+          + "equest\032\035.google.longrunning.Operation\"r\202"
+          + "\323\344\223\0028*6/v1beta1/{name=projects/*/locatio"
+          + "ns/*/registrations/*}\332A\004name\312A*\n\025google."
+          + "protobuf.Empty\022\021OperationMetadata\022\375\001\n\031Re"
+          + "trieveAuthorizationCode\022>.google.cloud.d"
+          + "omains.v1beta1.RetrieveAuthorizationCode"
+          + "Request\032/.google.cloud.domains.v1beta1.A"
+          + "uthorizationCode\"o\202\323\344\223\002Z\022X/v1beta1/{regi"
+          + "stration=projects/*/locations/*/registra"
+          + "tions/*}:retrieveAuthorizationCode\332A\014reg"
+          + "istration\022\367\001\n\026ResetAuthorizationCode\022;.g"
+          + "oogle.cloud.domains.v1beta1.ResetAuthori"
+          + "zationCodeRequest\032/.google.cloud.domains"
+          + ".v1beta1.AuthorizationCode\"o\202\323\344\223\002Z\"U/v1b"
+          + "eta1/{registration=projects/*/locations/"
+          + "*/registrations/*}:resetAuthorizationCod"
+          + "e:\001*\332A\014registration\032J\312A\026domains.googleap"
+          + "is.com\322A.https://www.googleapis.com/auth"
+          + "/cloud-platformBw\n com.google.cloud.doma"
+          + "ins.v1beta1B\014DomainsProtoP\001ZCgoogle.gola"
+          + "ng.org/genproto/googleapis/cloud/domains"
+          + "/v1beta1;domainsb\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.longrunning.OperationsProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.type.MoneyProto.getDescriptor(),
+              com.google.type.PostalAddressProto.getDescriptor(),
+            });
+    internal_static_google_cloud_domains_v1beta1_Registration_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_Registration_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "DomainName",
+              "CreateTime",
+              "ExpireTime",
+              "State",
+              "Issues",
+              "Labels",
+              "ManagementSettings",
+              "DnsSettings",
+              "ContactSettings",
+              "PendingContactSettings",
+              "SupportedPrivacy",
+            });
+    internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor =
+        internal_static_google_cloud_domains_v1beta1_Registration_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor,
+            new java.lang.String[] {
+              "RenewalMethod", "TransferLockState",
+            });
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor,
+            new java.lang.String[] {
+              "CustomDns", "GoogleDomainsDns", "GlueRecords", "DnsProvider",
+            });
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor =
+        internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_DnsSettings_CustomDns_descriptor,
+            new java.lang.String[] {
+              "NameServers", "DsRecords",
+            });
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor =
+        internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_DnsSettings_GoogleDomainsDns_descriptor,
+            new java.lang.String[] {
+              "NameServers", "DsState", "DsRecords",
+            });
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor =
+        internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(2);
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_DnsSettings_DsRecord_descriptor,
+            new java.lang.String[] {
+              "KeyTag", "Algorithm", "DigestType", "Digest",
+            });
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor =
+        internal_static_google_cloud_domains_v1beta1_DnsSettings_descriptor.getNestedTypes().get(3);
+    internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_DnsSettings_GlueRecord_descriptor,
+            new java.lang.String[] {
+              "HostName", "Ipv4Addresses", "Ipv6Addresses",
+            });
+    internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_domains_v1beta1_ContactSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor,
+            new java.lang.String[] {
+              "Privacy", "RegistrantContact", "AdminContact", "TechnicalContact",
+            });
+    internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor =
+        internal_static_google_cloud_domains_v1beta1_ContactSettings_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_ContactSettings_Contact_descriptor,
+            new java.lang.String[] {
+              "PostalAddress", "Email", "PhoneNumber", "FaxNumber",
+            });
+    internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor,
+            new java.lang.String[] {
+              "Query", "Location",
+            });
+    internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor,
+            new java.lang.String[] {
+              "RegisterParameters",
+            });
+    internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor,
+            new java.lang.String[] {
+              "DomainName", "Location",
+            });
+    internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor,
+            new java.lang.String[] {
+              "RegisterParameters",
+            });
+    internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor,
+            new java.lang.String[] {
+              "Parent",
+              "Registration",
+              "DomainNotices",
+              "ContactNotices",
+              "YearlyPrice",
+              "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor,
+            new java.lang.String[] {
+              "DomainName", "Location",
+            });
+    internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor,
+            new java.lang.String[] {
+              "TransferParameters",
+            });
+    internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor,
+            new java.lang.String[] {
+              "Parent",
+              "Registration",
+              "ContactNotices",
+              "YearlyPrice",
+              "AuthorizationCode",
+              "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter",
+            });
+    internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor,
+            new java.lang.String[] {
+              "Registrations", "NextPageToken",
+            });
+    internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "UpdateMask",
+            });
+    internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_ConfigureManagementSettingsRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "ManagementSettings", "UpdateMask",
+            });
+    internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_ConfigureDnsSettingsRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "DnsSettings", "UpdateMask", "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_ConfigureContactSettingsRequest_descriptor,
+            new java.lang.String[] {
+              "Registration", "ContactSettings", "UpdateMask", "ContactNotices", "ValidateOnly",
+            });
+    internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor =
+        getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_DeleteRegistrationRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor =
+        getDescriptor().getMessageTypes().get(21);
+    internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor,
+            new java.lang.String[] {
+              "Registration",
+            });
+    internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor =
+        getDescriptor().getMessageTypes().get(22);
+    internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor,
+            new java.lang.String[] {
+              "Registration",
+            });
+    internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor =
+        getDescriptor().getMessageTypes().get(23);
+    internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor,
+            new java.lang.String[] {
+              "DomainName", "Availability", "SupportedPrivacy", "DomainNotices", "YearlyPrice",
+            });
+    internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor =
+        getDescriptor().getMessageTypes().get(24);
+    internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor,
+            new java.lang.String[] {
+              "DomainName",
+              "CurrentRegistrar",
+              "NameServers",
+              "TransferLockState",
+              "SupportedPrivacy",
+              "YearlyPrice",
+            });
+    internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor =
+        getDescriptor().getMessageTypes().get(25);
+    internal_static_google_cloud_domains_v1beta1_AuthorizationCode_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_AuthorizationCode_descriptor,
+            new java.lang.String[] {
+              "Code",
+            });
+    internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(26);
+    internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor,
+            new java.lang.String[] {
+              "CreateTime", "EndTime", "Target", "Verb", "StatusDetail", "ApiVersion",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.MoneyProto.getDescriptor();
+    com.google.type.PostalAddressProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java
similarity index 65%
rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java
rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java
index 8e8712cc..392f31f0 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java
+++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/domains/v1beta1/domains.proto
 
 package com.google.cloud.domains.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request for the `ExportRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ExportRegistrationRequest} */ -public final class ExportRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ExportRegistrationRequest) ExportRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportRegistrationRequest.newBuilder() to construct. private ExportRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExportRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ExportRegistrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ExportRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, com.google.cloud.domains.v1beta1.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, + com.google.cloud.domains.v1beta1.ExportRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.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 @@ -110,30 +135,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 `Registration` to export,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.domains.v1beta1.ExportRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ExportRegistrationRequest other = (com.google.cloud.domains.v1beta1.ExportRegistrationRequest) obj; + com.google.cloud.domains.v1beta1.ExportRegistrationRequest other = + (com.google.cloud.domains.v1beta1.ExportRegistrationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.ExportRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.ExportRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ExportRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ExportRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ExportRegistrationRequest) com.google.cloud.domains.v1beta1.ExportRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, com.google.cloud.domains.v1beta1.ExportRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.ExportRegistrationRequest.class, + com.google.cloud.domains.v1beta1.ExportRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ExportRegistrationRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ExportRegistrationRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.domains.v1beta1.ExportRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ExportRegistrationRequest buildPartial() { - com.google.cloud.domains.v1beta1.ExportRegistrationRequest result = new com.google.cloud.domains.v1beta1.ExportRegistrationRequest(this); + com.google.cloud.domains.v1beta1.ExportRegistrationRequest result = + new com.google.cloud.domains.v1beta1.ExportRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.domains.v1beta1.ExportRegistrationRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ExportRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ExportRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.ExportRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ExportRegistrationRequest other) { - if (other == com.google.cloud.domains.v1beta1.ExportRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.ExportRegistrationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.ExportRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.ExportRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to export,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ExportRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ExportRegistrationRequest) private static final com.google.cloud.domains.v1beta1.ExportRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ExportRegistrationRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.domains.v1beta1.ExportRegistrationRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1beta1.ExportRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..293d00d8 --- /dev/null +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ExportRegistrationRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1beta1/domains.proto + +package com.google.cloud.domains.v1beta1; + +public interface ExportRegistrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ExportRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the `Registration` to export,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * 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/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java index 30c3cd65..5c96ec29 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `GetRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.GetRegistrationRequest} */ -public final class GetRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.GetRegistrationRequest) GetRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRegistrationRequest.newBuilder() to construct. private GetRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRegistrationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRegistrationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, com.google.cloud.domains.v1beta1.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, + com.google.cloud.domains.v1beta1.GetRegistrationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.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 @@ -110,30 +135,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 `Registration` to get, in the format
    * `projects/*/locations/*/registrations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,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.domains.v1beta1.GetRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.GetRegistrationRequest other = (com.google.cloud.domains.v1beta1.GetRegistrationRequest) obj; + com.google.cloud.domains.v1beta1.GetRegistrationRequest other = + (com.google.cloud.domains.v1beta1.GetRegistrationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.GetRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.GetRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.GetRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `GetRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.GetRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.GetRegistrationRequest) com.google.cloud.domains.v1beta1.GetRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, com.google.cloud.domains.v1beta1.GetRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.GetRegistrationRequest.class, + com.google.cloud.domains.v1beta1.GetRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.GetRegistrationRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_GetRegistrationRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.domains.v1beta1.GetRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.GetRegistrationRequest buildPartial() { - com.google.cloud.domains.v1beta1.GetRegistrationRequest result = new com.google.cloud.domains.v1beta1.GetRegistrationRequest(this); + com.google.cloud.domains.v1beta1.GetRegistrationRequest result = + new com.google.cloud.domains.v1beta1.GetRegistrationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.domains.v1beta1.GetRegistrationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.GetRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.GetRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.GetRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.GetRegistrationRequest other) { - if (other == com.google.cloud.domains.v1beta1.GetRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.GetRegistrationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.GetRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.GetRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` to get, in the format
      * `projects/*/locations/*/registrations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.GetRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.GetRegistrationRequest) private static final com.google.cloud.domains.v1beta1.GetRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.GetRegistrationRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.domains.v1beta1.GetRegistrationRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.GetRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java new file mode 100644 index 00000000..1a8ad5da --- /dev/null +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/GetRegistrationRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1beta1/domains.proto + +package com.google.cloud.domains.v1beta1; + +public interface GetRegistrationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.GetRegistrationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the `Registration` to get, in the format
+   * `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * 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/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java similarity index 73% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java index aefce5ea..e796fd8d 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ListRegistrationsRequest} */ -public final class ListRegistrationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRegistrationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ListRegistrationsRequest) ListRegistrationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRegistrationsRequest.newBuilder() to construct. private ListRegistrationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRegistrationsRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListRegistrationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRegistrationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRegistrationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListRegistrationsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListRegistrationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, com.google.cloud.domains.v1beta1.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, + com.google.cloud.domains.v1beta1.ListRegistrationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 @@ -129,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 { @@ -163,11 +192,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -178,12 +210,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -192,30 +227,30 @@ 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; } } /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * 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 { @@ -226,6 +261,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -243,6 +280,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -251,14 +289,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -276,16 +315,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -294,6 +332,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,8 +344,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -332,8 +370,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_); @@ -349,21 +386,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.domains.v1beta1.ListRegistrationsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ListRegistrationsRequest other = (com.google.cloud.domains.v1beta1.ListRegistrationsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.domains.v1beta1.ListRegistrationsRequest other = + (com.google.cloud.domains.v1beta1.ListRegistrationsRequest) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -389,117 +423,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.ListRegistrationsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.ListRegistrationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ListRegistrationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ListRegistrationsRequest) com.google.cloud.domains.v1beta1.ListRegistrationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, com.google.cloud.domains.v1beta1.ListRegistrationsRequest.Builder.class); + com.google.cloud.domains.v1beta1.ListRegistrationsRequest.class, + com.google.cloud.domains.v1beta1.ListRegistrationsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ListRegistrationsRequest.newBuilder() @@ -507,16 +551,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +575,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ListRegistrationsRequest_descriptor; } @java.lang.Override @@ -553,7 +596,8 @@ public com.google.cloud.domains.v1beta1.ListRegistrationsRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ListRegistrationsRequest buildPartial() { - com.google.cloud.domains.v1beta1.ListRegistrationsRequest result = new com.google.cloud.domains.v1beta1.ListRegistrationsRequest(this); + com.google.cloud.domains.v1beta1.ListRegistrationsRequest result = + new com.google.cloud.domains.v1beta1.ListRegistrationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -566,38 +610,39 @@ public com.google.cloud.domains.v1beta1.ListRegistrationsRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ListRegistrationsRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ListRegistrationsRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.ListRegistrationsRequest) other); } else { super.mergeFrom(other); return this; @@ -605,7 +650,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ListRegistrationsRequest other) { - if (other == com.google.cloud.domains.v1beta1.ListRegistrationsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.ListRegistrationsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -640,7 +686,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.ListRegistrationsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.ListRegistrationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -652,19 +699,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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; @@ -673,21 +724,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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 { @@ -695,69 +749,85 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The project and location from which to list `Registration`s, specified in
      * the format `projects/*/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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -765,30 +835,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -796,19 +872,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * 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; @@ -817,21 +895,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -839,57 +918,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * When set to the `next_page_token` from a prior response, provides the next
      * page of results.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -897,6 +983,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -914,13 +1002,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -929,6 +1017,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -946,15 +1036,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -962,6 +1051,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -979,20 +1070,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1010,15 +1103,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the `Registration`s returned.
      * The expression must specify the field name, a comparison operator, and the
@@ -1036,23 +1132,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1062,12 +1158,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ListRegistrationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ListRegistrationsRequest) private static final com.google.cloud.domains.v1beta1.ListRegistrationsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ListRegistrationsRequest(); } @@ -1076,16 +1172,16 @@ public static com.google.cloud.domains.v1beta1.ListRegistrationsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1100,6 +1196,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.ListRegistrationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java index 1c3f5a7e..e9b6f7f7 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsRequestOrBuilder.java @@ -1,67 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ListRegistrationsRequestOrBuilder extends +public interface ListRegistrationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ListRegistrationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location from which to list `Registration`s, specified in
    * the format `projects/*/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 project and location from which to list `Registration`s, specified in
    * the format `projects/*/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(); /** + * + * *
    * Maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * When set to the `next_page_token` from a prior response, provides the next
    * page of results.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -79,10 +114,13 @@ public interface ListRegistrationsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter expression to restrict the `Registration`s returned.
    * The expression must specify the field name, a comparison operator, and the
@@ -100,8 +138,8 @@ public interface ListRegistrationsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java similarity index 74% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java index f2924de9..38b0460c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Response for the `ListRegistrations` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ListRegistrationsResponse} */ -public final class ListRegistrationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRegistrationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ListRegistrationsResponse) ListRegistrationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRegistrationsResponse.newBuilder() to construct. private ListRegistrationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRegistrationsResponse() { registrations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRegistrationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRegistrationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRegistrationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListRegistrationsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registrations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registrations_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + registrations_.add( + input.readMessage( + com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry)); + break; } - registrations_.add( - input.readMessage(com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListRegistrationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registrations_ = java.util.Collections.unmodifiableList(registrations_); @@ -94,22 +114,27 @@ private ListRegistrationsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, com.google.cloud.domains.v1beta1.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, + com.google.cloud.domains.v1beta1.ListRegistrationsResponse.Builder.class); } public static final int REGISTRATIONS_FIELD_NUMBER = 1; private java.util.List registrations_; /** + * + * *
    * A list of `Registration`s.
    * 
@@ -121,6 +146,8 @@ public java.util.List getRegistra return registrations_; } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -128,11 +155,13 @@ public java.util.List getRegistra * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegistrationsOrBuilderList() { return registrations_; } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -144,6 +173,8 @@ public int getRegistrationsCount() { return registrations_.size(); } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -155,6 +186,8 @@ public com.google.cloud.domains.v1beta1.Registration getRegistrations(int index) return registrations_.get(index); } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -170,12 +203,15 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +220,30 @@ 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; } } /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * 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 { @@ -216,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < registrations_.size(); i++) { output.writeMessage(1, registrations_.get(i)); } @@ -245,8 +281,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registrations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, registrations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, registrations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +294,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.domains.v1beta1.ListRegistrationsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ListRegistrationsResponse other = (com.google.cloud.domains.v1beta1.ListRegistrationsResponse) obj; + com.google.cloud.domains.v1beta1.ListRegistrationsResponse other = + (com.google.cloud.domains.v1beta1.ListRegistrationsResponse) obj; - if (!getRegistrationsList() - .equals(other.getRegistrationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRegistrationsList().equals(other.getRegistrationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +327,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.ListRegistrationsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.ListRegistrationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `ListRegistrations` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ListRegistrationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ListRegistrationsResponse) com.google.cloud.domains.v1beta1.ListRegistrationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, com.google.cloud.domains.v1beta1.ListRegistrationsResponse.Builder.class); + com.google.cloud.domains.v1beta1.ListRegistrationsResponse.class, + com.google.cloud.domains.v1beta1.ListRegistrationsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ListRegistrationsResponse.newBuilder() @@ -411,17 +455,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRegistrationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ListRegistrationsResponse_descriptor; } @java.lang.Override @@ -458,7 +502,8 @@ public com.google.cloud.domains.v1beta1.ListRegistrationsResponse build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ListRegistrationsResponse buildPartial() { - com.google.cloud.domains.v1beta1.ListRegistrationsResponse result = new com.google.cloud.domains.v1beta1.ListRegistrationsResponse(this); + com.google.cloud.domains.v1beta1.ListRegistrationsResponse result = + new com.google.cloud.domains.v1beta1.ListRegistrationsResponse(this); int from_bitField0_ = bitField0_; if (registrationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.cloud.domains.v1beta1.ListRegistrationsResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ListRegistrationsResponse) { - return mergeFrom((com.google.cloud.domains.v1beta1.ListRegistrationsResponse)other); + return mergeFrom((com.google.cloud.domains.v1beta1.ListRegistrationsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ListRegistrationsResponse other) { - if (other == com.google.cloud.domains.v1beta1.ListRegistrationsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.ListRegistrationsResponse.getDefaultInstance()) + return this; if (registrationsBuilder_ == null) { if (!other.registrations_.isEmpty()) { if (registrations_.isEmpty()) { @@ -536,9 +583,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.ListRegistrationsRespo registrationsBuilder_ = null; registrations_ = other.registrations_; bitField0_ = (bitField0_ & ~0x00000001); - registrationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRegistrationsFieldBuilder() : null; + registrationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRegistrationsFieldBuilder() + : null; } else { registrationsBuilder_.addAllMessages(other.registrations_); } @@ -567,7 +615,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.ListRegistrationsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.ListRegistrationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +625,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List registrations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRegistrationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registrations_ = new java.util.ArrayList(registrations_); + registrations_ = + new java.util.ArrayList(registrations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> registrationsBuilder_; + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + registrationsBuilder_; /** + * + * *
      * A list of `Registration`s.
      * 
@@ -605,6 +662,8 @@ public java.util.List getRegistra } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -619,6 +678,8 @@ public int getRegistrationsCount() { } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -633,6 +694,8 @@ public com.google.cloud.domains.v1beta1.Registration getRegistrations(int index) } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -654,6 +717,8 @@ public Builder setRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -672,6 +737,8 @@ public Builder setRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -692,6 +759,8 @@ public Builder addRegistrations(com.google.cloud.domains.v1beta1.Registration va return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -713,6 +782,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -731,6 +802,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -749,6 +822,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -759,8 +834,7 @@ public Builder addAllRegistrations( java.lang.Iterable values) { if (registrationsBuilder_ == null) { ensureRegistrationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, registrations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registrations_); onChanged(); } else { registrationsBuilder_.addAllMessages(values); @@ -768,6 +842,8 @@ public Builder addAllRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -785,6 +861,8 @@ public Builder clearRegistrations() { return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -802,6 +880,8 @@ public Builder removeRegistrations(int index) { return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -813,6 +893,8 @@ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationsBui return getRegistrationsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -822,19 +904,22 @@ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationsBui public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOrBuilder( int index) { if (registrationsBuilder_ == null) { - return registrations_.get(index); } else { + return registrations_.get(index); + } else { return registrationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ - public java.util.List - getRegistrationsOrBuilderList() { + public java.util.List + getRegistrationsOrBuilderList() { if (registrationsBuilder_ != null) { return registrationsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +927,8 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOr } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -849,10 +936,12 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOr * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ public com.google.cloud.domains.v1beta1.Registration.Builder addRegistrationsBuilder() { - return getRegistrationsFieldBuilder().addBuilder( - com.google.cloud.domains.v1beta1.Registration.getDefaultInstance()); + return getRegistrationsFieldBuilder() + .addBuilder(com.google.cloud.domains.v1beta1.Registration.getDefaultInstance()); } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -861,26 +950,34 @@ public com.google.cloud.domains.v1beta1.Registration.Builder addRegistrationsBui */ public com.google.cloud.domains.v1beta1.Registration.Builder addRegistrationsBuilder( int index) { - return getRegistrationsFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1beta1.Registration.getDefaultInstance()); + return getRegistrationsFieldBuilder() + .addBuilder(index, com.google.cloud.domains.v1beta1.Registration.getDefaultInstance()); } /** + * + * *
      * A list of `Registration`s.
      * 
* * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ - public java.util.List - getRegistrationsBuilderList() { + public java.util.List + getRegistrationsBuilderList() { return getRegistrationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder> getRegistrationsFieldBuilder() { if (registrationsBuilder_ == null) { - registrationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( + registrationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( registrations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +989,21 @@ public com.google.cloud.domains.v1beta1.Registration.Builder addRegistrationsBui private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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; @@ -913,21 +1012,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * 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 { @@ -935,64 +1035,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * When present, there are more results to retrieve. Set `page_token` to this
      * value on a subsequent call to get the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1109,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ListRegistrationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ListRegistrationsResponse) private static final com.google.cloud.domains.v1beta1.ListRegistrationsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ListRegistrationsResponse(); } @@ -1016,16 +1123,16 @@ public static com.google.cloud.domains.v1beta1.ListRegistrationsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRegistrationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRegistrationsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegistrationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegistrationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1147,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1beta1.ListRegistrationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java index 5296ff2d..15b04ce1 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ListRegistrationsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ListRegistrationsResponseOrBuilder extends +public interface ListRegistrationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ListRegistrationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ - java.util.List - getRegistrationsList(); + java.util.List getRegistrationsList(); /** + * + * *
    * A list of `Registration`s.
    * 
@@ -25,6 +44,8 @@ public interface ListRegistrationsResponseOrBuilder extends */ com.google.cloud.domains.v1beta1.Registration getRegistrations(int index); /** + * + * *
    * A list of `Registration`s.
    * 
@@ -33,43 +54,51 @@ public interface ListRegistrationsResponseOrBuilder extends */ int getRegistrationsCount(); /** + * + * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ - java.util.List + java.util.List getRegistrationsOrBuilderList(); /** + * + * *
    * A list of `Registration`s.
    * 
* * repeated .google.cloud.domains.v1beta1.Registration registrations = 1; */ - com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOrBuilder( - int index); + com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOrBuilder(int index); /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * When present, there are more results to retrieve. Set `page_token` to this
    * value on a subsequent call to get the next page of results.
    * 
* * 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/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/LocationName.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/LocationName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/LocationName.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/LocationName.java diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java index 4dfaf698..4d903fe5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettings.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Defines renewal, billing, and transfer settings for a `Registration`.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ManagementSettings} */ -public final class ManagementSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ManagementSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ManagementSettings) ManagementSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ManagementSettings.newBuilder() to construct. private ManagementSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ManagementSettings() { renewalMethod_ = 0; transferLockState_ = 0; @@ -26,16 +44,15 @@ private ManagementSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ManagementSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ManagementSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ManagementSettings( case 0: done = true; break; - case 24: { - int rawValue = input.readEnum(); + case 24: + { + int rawValue = input.readEnum(); - renewalMethod_ = rawValue; - break; - } - case 32: { - int rawValue = input.readEnum(); + renewalMethod_ = rawValue; + break; + } + case 32: + { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + transferLockState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ManagementSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ManagementSettings.class, com.google.cloud.domains.v1beta1.ManagementSettings.Builder.class); + com.google.cloud.domains.v1beta1.ManagementSettings.class, + com.google.cloud.domains.v1beta1.ManagementSettings.Builder.class); } /** + * + * *
    * Defines how the `Registration` is renewed.
    * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod} */ - public enum RenewalMethod - implements com.google.protobuf.ProtocolMessageEnum { + public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The renewal method is undefined.
      * 
@@ -118,6 +142,8 @@ public enum RenewalMethod */ RENEWAL_METHOD_UNSPECIFIED(0), /** + * + * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -128,6 +154,8 @@ public enum RenewalMethod
      */
     AUTOMATIC_RENEWAL(1),
     /**
+     *
+     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -143,6 +171,8 @@ public enum RenewalMethod
     ;
 
     /**
+     *
+     *
      * 
      * The renewal method is undefined.
      * 
@@ -151,6 +181,8 @@ public enum RenewalMethod */ public static final int RENEWAL_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, delete the resource by calling
@@ -161,6 +193,8 @@ public enum RenewalMethod
      */
     public static final int AUTOMATIC_RENEWAL_VALUE = 1;
     /**
+     *
+     *
      * 
      * The domain must be explicitly renewed each year before its
      * `expire_time`. This option is only available when the `Registration`
@@ -173,7 +207,6 @@ public enum RenewalMethod
      */
     public static final int MANUAL_RENEWAL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -198,49 +231,51 @@ public static RenewalMethod valueOf(int value) {
      */
     public static RenewalMethod forNumber(int value) {
       switch (value) {
-        case 0: return RENEWAL_METHOD_UNSPECIFIED;
-        case 1: return AUTOMATIC_RENEWAL;
-        case 2: return MANUAL_RENEWAL;
-        default: return null;
+        case 0:
+          return RENEWAL_METHOD_UNSPECIFIED;
+        case 1:
+          return AUTOMATIC_RENEWAL;
+        case 2:
+          return MANUAL_RENEWAL;
+        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<
-        RenewalMethod> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RenewalMethod findValueByNumber(int number) {
-              return RenewalMethod.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 RenewalMethod findValueByNumber(int number) {
+            return RenewalMethod.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.domains.v1beta1.ManagementSettings.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.domains.v1beta1.ManagementSettings.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final RenewalMethod[] VALUES = values();
 
-    public static RenewalMethod valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RenewalMethod 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;
@@ -260,58 +295,85 @@ private RenewalMethod(int value) {
   public static final int RENEWAL_METHOD_FIELD_NUMBER = 3;
   private int renewalMethod_;
   /**
+   *
+   *
    * 
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override public int getRenewalMethodValue() { + @java.lang.Override + public int getRenewalMethodValue() { return renewalMethod_; } /** + * + * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renewalMethod. */ - @java.lang.Override public com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod getRenewalMethod() { + @java.lang.Override + public com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null ? com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod result = + com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null + ? com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.UNRECOGNIZED + : result; } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ - @java.lang.Override public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { + @java.lang.Override + public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.TransferLockState result = com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); - return result == null ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.TransferLockState result = + com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); + return result == null + ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,12 +385,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (renewalMethod_ != com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (renewalMethod_ + != com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod + .RENEWAL_METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(3, renewalMethod_); } - if (transferLockState_ != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + if (transferLockState_ + != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, transferLockState_); } unknownFields.writeTo(output); @@ -340,13 +406,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (renewalMethod_ != com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.RENEWAL_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, renewalMethod_); + if (renewalMethod_ + != com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod + .RENEWAL_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, renewalMethod_); } - if (transferLockState_ != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, transferLockState_); + if (transferLockState_ + != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -356,12 +425,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.domains.v1beta1.ManagementSettings)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ManagementSettings other = (com.google.cloud.domains.v1beta1.ManagementSettings) obj; + com.google.cloud.domains.v1beta1.ManagementSettings other = + (com.google.cloud.domains.v1beta1.ManagementSettings) obj; if (renewalMethod_ != other.renewalMethod_) return false; if (transferLockState_ != other.transferLockState_) return false; @@ -386,117 +456,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ManagementSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ManagementSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ManagementSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ManagementSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1beta1.ManagementSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines renewal, billing, and transfer settings for a `Registration`.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ManagementSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ManagementSettings) com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ManagementSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ManagementSettings.class, com.google.cloud.domains.v1beta1.ManagementSettings.Builder.class); + com.google.cloud.domains.v1beta1.ManagementSettings.class, + com.google.cloud.domains.v1beta1.ManagementSettings.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ManagementSettings.newBuilder() @@ -504,16 +583,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -525,9 +603,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ManagementSettings_descriptor; } @java.lang.Override @@ -546,7 +624,8 @@ public com.google.cloud.domains.v1beta1.ManagementSettings build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ManagementSettings buildPartial() { - com.google.cloud.domains.v1beta1.ManagementSettings result = new com.google.cloud.domains.v1beta1.ManagementSettings(this); + com.google.cloud.domains.v1beta1.ManagementSettings result = + new com.google.cloud.domains.v1beta1.ManagementSettings(this); result.renewalMethod_ = renewalMethod_; result.transferLockState_ = transferLockState_; onBuilt(); @@ -557,38 +636,39 @@ public com.google.cloud.domains.v1beta1.ManagementSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ManagementSettings) { - return mergeFrom((com.google.cloud.domains.v1beta1.ManagementSettings)other); + return mergeFrom((com.google.cloud.domains.v1beta1.ManagementSettings) other); } else { super.mergeFrom(other); return this; @@ -596,7 +676,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ManagementSettings other) { - if (other == com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance()) + return this; if (other.renewalMethod_ != 0) { setRenewalMethodValue(other.getRenewalMethodValue()); } @@ -622,7 +703,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.ManagementSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.ManagementSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,73 +716,103 @@ public Builder mergeFrom( private int renewalMethod_ = 0; /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renewalMethod. */ - @java.lang.Override public int getRenewalMethodValue() { + @java.lang.Override + public int getRenewalMethodValue() { return renewalMethod_; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for renewalMethod to set. * @return This builder for chaining. */ public Builder setRenewalMethodValue(int value) { - + renewalMethod_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renewalMethod. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod getRenewalMethod() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod result = com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); - return result == null ? com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod result = + com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.valueOf(renewalMethod_); + return result == null + ? com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The renewalMethod to set. * @return This builder for chaining. */ - public Builder setRenewalMethod(com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod value) { + public Builder setRenewalMethod( + com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod value) { if (value == null) { throw new NullPointerException(); } - + renewalMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The renewal method for this `Registration`.
      * 
* - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRenewalMethod() { - + renewalMethod_ = 0; onChanged(); return this; @@ -708,51 +820,67 @@ public Builder clearRenewalMethod() { private int transferLockState_ = 0; /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.TransferLockState result = com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); - return result == null ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.TransferLockState result = + com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); + return result == null + ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED + : result; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -760,28 +888,31 @@ public Builder setTransferLockState(com.google.cloud.domains.v1beta1.TransferLoc if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls whether the domain can be transferred to another registrar.
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -791,12 +922,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ManagementSettings) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ManagementSettings) private static final com.google.cloud.domains.v1beta1.ManagementSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ManagementSettings(); } @@ -805,16 +936,16 @@ public static com.google.cloud.domains.v1beta1.ManagementSettings getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagementSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ManagementSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagementSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ManagementSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,6 +960,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.ManagementSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java similarity index 56% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java index 12b85271..a165634f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ManagementSettingsOrBuilder.java @@ -1,46 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface ManagementSettingsOrBuilder extends +public interface ManagementSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ManagementSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for renewalMethod. */ int getRenewalMethodValue(); /** + * + * *
    * Output only. The renewal method for this `Registration`.
    * 
* - * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The renewalMethod. */ com.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod getRenewalMethod(); /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** + * + * *
    * Controls whether the domain can be transferred to another registrar.
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java index 94087888..d6cfab2d 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Represents the metadata of the long-running operation. Output only.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.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.domains.v1beta1.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,16 +46,15 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,63 +73,71 @@ private OperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + target_ = s; + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + verb_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - statusDetail_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + statusDetail_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,34 +145,39 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.OperationMetadata.class, com.google.cloud.domains.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.domains.v1beta1.OperationMetadata.class, + com.google.cloud.domains.v1beta1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -155,11 +185,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -167,6 +200,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -181,11 +216,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -193,11 +231,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -205,6 +246,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -219,11 +262,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ @java.lang.Override @@ -232,29 +278,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; } } /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @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 { @@ -265,11 +311,14 @@ public java.lang.String getTarget() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ @java.lang.Override @@ -278,29 +327,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; } } /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @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 { @@ -311,11 +360,14 @@ public java.lang.String getVerb() { public static final int STATUS_DETAIL_FIELD_NUMBER = 5; private volatile java.lang.Object statusDetail_; /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ @java.lang.Override @@ -324,29 +376,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -357,11 +409,14 @@ public java.lang.String getStatusDetail() { public static final int API_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object apiVersion_; /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @return The apiVersion. */ @java.lang.Override @@ -370,29 +425,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; } } /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @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 { @@ -401,6 +456,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -412,8 +468,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -442,12 +497,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_); @@ -469,31 +522,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.domains.v1beta1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.OperationMetadata other = (com.google.cloud.domains.v1beta1.OperationMetadata) obj; + com.google.cloud.domains.v1beta1.OperationMetadata other = + (com.google.cloud.domains.v1beta1.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 (!getStatusDetail() - .equals(other.getStatusDetail())) 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 (!getStatusDetail().equals(other.getStatusDetail())) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -527,117 +575,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.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.domains.v1beta1.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.domains.v1beta1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.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.domains.v1beta1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.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.domains.v1beta1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.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.domains.v1beta1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.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.domains.v1beta1.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.domains.v1beta1.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.domains.v1beta1.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. Output only.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.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.domains.v1beta1.OperationMetadata) com.google.cloud.domains.v1beta1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.OperationMetadata.class, com.google.cloud.domains.v1beta1.OperationMetadata.Builder.class); + com.google.cloud.domains.v1beta1.OperationMetadata.class, + com.google.cloud.domains.v1beta1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.OperationMetadata.newBuilder() @@ -645,16 +702,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -682,9 +738,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_OperationMetadata_descriptor; } @java.lang.Override @@ -703,7 +759,8 @@ public com.google.cloud.domains.v1beta1.OperationMetadata build() { @java.lang.Override public com.google.cloud.domains.v1beta1.OperationMetadata buildPartial() { - com.google.cloud.domains.v1beta1.OperationMetadata result = new com.google.cloud.domains.v1beta1.OperationMetadata(this); + com.google.cloud.domains.v1beta1.OperationMetadata result = + new com.google.cloud.domains.v1beta1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -726,38 +783,39 @@ public com.google.cloud.domains.v1beta1.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.OperationMetadata) { - return mergeFrom((com.google.cloud.domains.v1beta1.OperationMetadata)other); + return mergeFrom((com.google.cloud.domains.v1beta1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -765,7 +823,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.OperationMetadata other) { - if (other == com.google.cloud.domains.v1beta1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -807,7 +866,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -819,34 +879,47 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time the operation was created.
      * 
@@ -867,14 +940,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -885,6 +959,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -895,7 +971,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -907,6 +983,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -925,6 +1003,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -932,11 +1012,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation was created.
      * 
@@ -947,11 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time the operation was created.
      * 
@@ -959,14 +1044,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -974,24 +1062,33 @@ 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_; /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1002,6 +1099,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1022,14 +1121,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1040,6 +1140,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1050,7 +1152,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1062,6 +1164,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1080,6 +1184,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1087,11 +1193,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1102,11 +1210,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1114,14 +1223,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1129,18 +1241,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @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; @@ -1149,20 +1263,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @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 { @@ -1170,54 +1285,61 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { + public Builder setTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1225,18 +1347,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @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; @@ -1245,20 +1369,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @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 { @@ -1266,54 +1391,61 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { + public Builder setVerb(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { + public Builder setVerbBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1321,18 +1453,20 @@ public Builder setVerbBytes( private java.lang.Object statusDetail_ = ""; /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1341,20 +1475,21 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1362,54 +1497,61 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail( - java.lang.String value) { + public Builder setStatusDetail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @return This builder for chaining. */ public Builder clearStatusDetail() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_detail = 5; + * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes( - com.google.protobuf.ByteString value) { + public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; @@ -1417,18 +1559,20 @@ public Builder setStatusDetailBytes( private java.lang.Object apiVersion_ = ""; /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @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; @@ -1437,20 +1581,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @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 { @@ -1458,61 +1603,68 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { + public Builder setApiVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 6; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = 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); } @@ -1522,12 +1674,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.OperationMetadata) private static final com.google.cloud.domains.v1beta1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.OperationMetadata(); } @@ -1536,16 +1688,16 @@ public static com.google.cloud.domains.v1beta1.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1560,6 +1712,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java similarity index 74% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java index 00ca25b7..bbfedc09 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/OperationMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
@@ -35,24 +59,32 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
@@ -62,82 +94,102 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_detail = 5; + * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString - getStatusDetailBytes(); + com.google.protobuf.ByteString getStatusDetailBytes(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 6; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java similarity index 75% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java index 4f30c58e..3726820b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `RegisterDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RegisterDomainRequest} */ -public final class RegisterDomainRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RegisterDomainRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RegisterDomainRequest) RegisterDomainRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RegisterDomainRequest.newBuilder() to construct. private RegisterDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RegisterDomainRequest() { parent_ = ""; domainNotices_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private RegisterDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RegisterDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RegisterDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,96 +73,105 @@ private RegisterDomainRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = input.readMessage(com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = + input.readMessage( + com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - domainNotices_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } domainNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 32: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + domainNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - contactNotices_.add(rawValue); - break; - } - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } contactNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 42: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + contactNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 42: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } - break; - } - case 48: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 48: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -153,8 +179,7 @@ private RegisterDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { domainNotices_ = java.util.Collections.unmodifiableList(domainNotices_); @@ -166,28 +191,36 @@ private RegisterDomainRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, com.google.cloud.domains.v1beta1.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, + com.google.cloud.domains.v1beta1.RegisterDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -196,30 +229,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -230,11 +265,16 @@ public java.lang.String getParent() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.Registration registration_; /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ @java.lang.Override @@ -242,23 +282,34 @@ public boolean hasRegistration() { return registration_ != null; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1beta1.Registration getRegistration() { - return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() + : registration_; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -268,36 +319,47 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB public static final int DOMAIN_NOTICES_FIELD_NUMBER = 3; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice> domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice> + domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>() { public com.google.cloud.domains.v1beta1.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DomainNotice result = com.google.cloud.domains.v1beta1.DomainNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1beta1.DomainNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.DomainNotice result = + com.google.cloud.domains.v1beta1.DomainNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1beta1.DomainNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @return The count of domainNotices. */ @java.lang.Override @@ -305,12 +367,15 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -319,26 +384,31 @@ public com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index) return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return domainNotices_; } /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -346,21 +416,28 @@ public com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index) public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } + private int domainNoticesMemoizedSerializedSize; public static final int CONTACT_NOTICES_FIELD_NUMBER = 4; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> + contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>() { public com.google.cloud.domains.v1beta1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactNotice result = com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.ContactNotice result = + com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -368,14 +445,18 @@ public com.google.cloud.domains.v1beta1.ContactNotice convert(java.lang.Integer
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -383,6 +464,7 @@ public java.util.List getContact
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ @java.lang.Override @@ -390,6 +472,8 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -397,6 +481,7 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -405,6 +490,8 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -412,14 +499,16 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return contactNotices_; } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -427,6 +516,7 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -434,11 +524,14 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde public int getContactNoticesValue(int index) { return contactNotices_.get(index); } + private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -446,6 +539,7 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -453,6 +547,8 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -460,6 +556,7 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ @java.lang.Override @@ -467,6 +564,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -483,6 +582,8 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
+   *
+   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -490,6 +591,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -498,6 +600,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -509,8 +612,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -551,40 +653,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + domainNoticesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -594,29 +695,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.domains.v1beta1.RegisterDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RegisterDomainRequest other = (com.google.cloud.domains.v1beta1.RegisterDomainRequest) obj; + com.google.cloud.domains.v1beta1.RegisterDomainRequest other = + (com.google.cloud.domains.v1beta1.RegisterDomainRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; } if (!domainNotices_.equals(other.domainNotices_)) return false; if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -647,125 +745,134 @@ public int hashCode() { hash = (53 * hash) + getYearlyPrice().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RegisterDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.RegisterDomainRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.RegisterDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RegisterDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RegisterDomainRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RegisterDomainRequest) com.google.cloud.domains.v1beta1.RegisterDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, com.google.cloud.domains.v1beta1.RegisterDomainRequest.Builder.class); + com.google.cloud.domains.v1beta1.RegisterDomainRequest.class, + com.google.cloud.domains.v1beta1.RegisterDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.RegisterDomainRequest.newBuilder() @@ -773,16 +880,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -810,9 +916,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RegisterDomainRequest_descriptor; } @java.lang.Override @@ -831,7 +937,8 @@ public com.google.cloud.domains.v1beta1.RegisterDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.RegisterDomainRequest buildPartial() { - com.google.cloud.domains.v1beta1.RegisterDomainRequest result = new com.google.cloud.domains.v1beta1.RegisterDomainRequest(this); + com.google.cloud.domains.v1beta1.RegisterDomainRequest result = + new com.google.cloud.domains.v1beta1.RegisterDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -863,38 +970,39 @@ public com.google.cloud.domains.v1beta1.RegisterDomainRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RegisterDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.RegisterDomainRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.RegisterDomainRequest) other); } else { super.mergeFrom(other); return this; @@ -902,7 +1010,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.RegisterDomainRequest other) { - if (other == com.google.cloud.domains.v1beta1.RegisterDomainRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.RegisterDomainRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -955,7 +1064,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.RegisterDomainRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.RegisterDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -964,23 +1074,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -989,21 +1104,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -1011,57 +1129,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1069,39 +1200,58 @@ public Builder setParentBytes( private com.google.cloud.domains.v1beta1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> registrationBuilder_; + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + registrationBuilder_; /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ public com.google.cloud.domains.v1beta1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() + : registration_; } else { return registrationBuilder_.getMessage(); } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration value) { if (registrationBuilder_ == null) { @@ -1117,11 +1267,15 @@ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration val return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration( com.google.cloud.domains.v1beta1.Registration.Builder builderForValue) { @@ -1135,17 +1289,23 @@ public Builder setRegistration( return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_) + .mergeFrom(value) + .buildPartial(); } else { registration_ = value; } @@ -1157,11 +1317,15 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1175,55 +1339,71 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null ? - com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() + : registration_; } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( - getRegistration(), - getParentForChildren(), - isClean()); + registrationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( + getRegistration(), getParentForChildren(), isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List domainNotices_ = - java.util.Collections.emptyList(); + private java.util.List domainNotices_ = java.util.Collections.emptyList(); + private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1231,37 +1411,47 @@ private void ensureDomainNoticesIsMutable() { } } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1269,12 +1459,15 @@ public com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index) return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. @@ -1290,12 +1483,15 @@ public Builder setDomainNotices( return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1309,12 +1505,15 @@ public Builder addDomainNotices(com.google.cloud.domains.v1beta1.DomainNotice va return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1328,12 +1527,15 @@ public Builder addAllDomainNotices( return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1343,25 +1545,30 @@ public Builder clearDomainNotices() { return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1369,30 +1576,35 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue( - int index, int value) { + public Builder setDomainNoticesValue(int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1403,17 +1615,19 @@ public Builder addDomainNoticesValue(int value) { return this; } /** + * + * *
      * The list of domain notices that you acknowledge. Call
      * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue( - java.lang.Iterable values) { + public Builder addAllDomainNoticesValue(java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1422,8 +1636,8 @@ public Builder addAllDomainNoticesValue( return this; } - private java.util.List contactNotices_ = - java.util.Collections.emptyList(); + private java.util.List contactNotices_ = java.util.Collections.emptyList(); + private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1431,6 +1645,8 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1438,13 +1654,17 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1452,12 +1672,15 @@ public java.util.List getContact
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1465,6 +1688,7 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1472,6 +1696,8 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1479,6 +1705,7 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1494,6 +1721,8 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1501,6 +1730,7 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1514,6 +1744,8 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1521,6 +1753,7 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1534,6 +1767,8 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1541,6 +1776,7 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1550,6 +1786,8 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1557,13 +1795,15 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1571,6 +1811,7 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1578,6 +1819,8 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1585,18 +1828,20 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue( - int index, int value) { + public Builder setContactNoticesValue(int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1604,6 +1849,7 @@ public Builder setContactNoticesValue(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1614,6 +1860,8 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * needed here depend on the values specified in
@@ -1621,11 +1869,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue( - java.lang.Iterable values) { + public Builder addAllContactNoticesValue(java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1636,8 +1884,11 @@ public Builder addAllContactNoticesValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1645,12 +1896,15 @@ public Builder addAllContactNoticesValue(
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1658,6 +1912,7 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1668,6 +1923,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1690,6 +1947,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1698,8 +1957,7 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(
-        com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1710,6 +1968,8 @@ public Builder setYearlyPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1722,7 +1982,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1734,6 +1994,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1754,6 +2016,8 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1763,11 +2027,13 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-      
+
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1780,11 +2046,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ?
-            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. Yearly price to register or renew the domain.
      * The value that should be put here can be obtained from
@@ -1794,21 +2061,24 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(),
-                getParentForChildren(),
-                isClean());
+        yearlyPriceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Money,
+                com.google.type.Money.Builder,
+                com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(), getParentForChildren(), isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
     }
 
-    private boolean validateOnly_ ;
+    private boolean validateOnly_;
     /**
+     *
+     *
      * 
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -1816,6 +2086,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -1823,6 +2094,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -1830,16 +2103,19 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * When true, only validation is performed, without actually registering
      * the domain. Follows:
@@ -1847,17 +2123,18 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1867,12 +2144,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RegisterDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RegisterDomainRequest) private static final com.google.cloud.domains.v1beta1.RegisterDomainRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RegisterDomainRequest(); } @@ -1881,16 +2158,16 @@ public static com.google.cloud.domains.v1beta1.RegisterDomainRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1905,6 +2182,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.RegisterDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java index 5f125ed3..2c2f6cd1 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterDomainRequestOrBuilder.java @@ -1,116 +1,171 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RegisterDomainRequestOrBuilder extends +public interface RegisterDomainRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RegisterDomainRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ boolean hasRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ com.google.cloud.domains.v1beta1.Registration getRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List - getDomainNoticesValueList(); + java.util.List getDomainNoticesValueList(); /** + * + * *
    * The list of domain notices that you acknowledge. Call
    * `RetrieveRegisterParameters` to see the notices that need acknowledgement.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -118,10 +173,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -129,10 +187,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ int getContactNoticesCount(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -140,11 +201,14 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int index); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -152,11 +216,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List - getContactNoticesValueList(); + java.util.List getContactNoticesValueList(); /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * needed here depend on the values specified in
@@ -164,12 +230,15 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -177,10 +246,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -188,10 +260,13 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Required. Yearly price to register or renew the domain.
    * The value that should be put here can be obtained from
@@ -203,6 +278,8 @@ public interface RegisterDomainRequestOrBuilder extends
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
+   *
+   *
    * 
    * When true, only validation is performed, without actually registering
    * the domain. Follows:
@@ -210,6 +287,7 @@ public interface RegisterDomainRequestOrBuilder extends
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java similarity index 76% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java index 642a57a1..df5fd9f0 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParameters.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Parameters required to register a new domain.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RegisterParameters} */ -public final class RegisterParameters extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RegisterParameters extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RegisterParameters) RegisterParametersOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RegisterParameters.newBuilder() to construct. private RegisterParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RegisterParameters() { domainName_ = ""; availability_ = 0; @@ -28,16 +46,15 @@ private RegisterParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RegisterParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RegisterParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,84 +74,91 @@ private RegisterParameters( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + domainName_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - availability_ = rawValue; - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + availability_ = rawValue; + break; } - supportedPrivacy_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } supportedPrivacy_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 32: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - domainNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + supportedPrivacy_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - domainNotices_.add(rawValue); - break; - } - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } domainNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 42: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + domainNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + domainNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 42: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,8 +166,7 @@ private RegisterParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = java.util.Collections.unmodifiableList(supportedPrivacy_); @@ -155,29 +178,35 @@ private RegisterParameters( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RegisterParameters.class, com.google.cloud.domains.v1beta1.RegisterParameters.Builder.class); + com.google.cloud.domains.v1beta1.RegisterParameters.class, + com.google.cloud.domains.v1beta1.RegisterParameters.Builder.class); } /** + * + * *
    * Possible availability states of a domain name.
    * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.RegisterParameters.Availability} */ - public enum Availability - implements com.google.protobuf.ProtocolMessageEnum { + public enum Availability implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The availability is unspecified.
      * 
@@ -186,6 +215,8 @@ public enum Availability */ AVAILABILITY_UNSPECIFIED(0), /** + * + * *
      * The domain is available for registration.
      * 
@@ -194,6 +225,8 @@ public enum Availability */ AVAILABLE(1), /** + * + * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -203,6 +236,8 @@ public enum Availability
      */
     UNAVAILABLE(2),
     /**
+     *
+     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -212,6 +247,8 @@ public enum Availability
      */
     UNSUPPORTED(3),
     /**
+     *
+     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -224,6 +261,8 @@ public enum Availability
     ;
 
     /**
+     *
+     *
      * 
      * The availability is unspecified.
      * 
@@ -232,6 +271,8 @@ public enum Availability */ public static final int AVAILABILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is available for registration.
      * 
@@ -240,6 +281,8 @@ public enum Availability */ public static final int AVAILABLE_VALUE = 1; /** + * + * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -249,6 +292,8 @@ public enum Availability
      */
     public static final int UNAVAILABLE_VALUE = 2;
     /**
+     *
+     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -258,6 +303,8 @@ public enum Availability
      */
     public static final int UNSUPPORTED_VALUE = 3;
     /**
+     *
+     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -267,7 +314,6 @@ public enum Availability
      */
     public static final int UNKNOWN_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -292,51 +338,55 @@ public static Availability valueOf(int value) {
      */
     public static Availability forNumber(int value) {
       switch (value) {
-        case 0: return AVAILABILITY_UNSPECIFIED;
-        case 1: return AVAILABLE;
-        case 2: return UNAVAILABLE;
-        case 3: return UNSUPPORTED;
-        case 4: return UNKNOWN;
-        default: return null;
+        case 0:
+          return AVAILABILITY_UNSPECIFIED;
+        case 1:
+          return AVAILABLE;
+        case 2:
+          return UNAVAILABLE;
+        case 3:
+          return UNSUPPORTED;
+        case 4:
+          return UNKNOWN;
+        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<
-        Availability> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Availability findValueByNumber(int number) {
-              return Availability.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 Availability findValueByNumber(int number) {
+            return Availability.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.domains.v1beta1.RegisterParameters.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.domains.v1beta1.RegisterParameters.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Availability[] VALUES = values();
 
-    public static Availability valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Availability 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;
@@ -356,11 +406,14 @@ private Availability(int value) {
   public static final int DOMAIN_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object domainName_;
   /**
+   *
+   *
    * 
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ @java.lang.Override @@ -369,29 +422,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -402,6 +455,8 @@ public java.lang.String getDomainName() { public static final int AVAILABILITY_FIELD_NUMBER = 2; private int availability_; /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -409,12 +464,16 @@ public java.lang.String getDomainName() {
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; + * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override public int getAvailabilityValue() { + @java.lang.Override + public int getAvailabilityValue() { return availability_; } /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -422,45 +481,61 @@ public java.lang.String getDomainName() {
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; + * * @return The availability. */ - @java.lang.Override public com.google.cloud.domains.v1beta1.RegisterParameters.Availability getAvailability() { + @java.lang.Override + public com.google.cloud.domains.v1beta1.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.RegisterParameters.Availability result = com.google.cloud.domains.v1beta1.RegisterParameters.Availability.valueOf(availability_); - return result == null ? com.google.cloud.domains.v1beta1.RegisterParameters.Availability.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.RegisterParameters.Availability result = + com.google.cloud.domains.v1beta1.RegisterParameters.Availability.valueOf(availability_); + return result == null + ? com.google.cloud.domains.v1beta1.RegisterParameters.Availability.UNRECOGNIZED + : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 3; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> + supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>() { public com.google.cloud.domains.v1beta1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactPrivacy result = com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); - return result == null ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.ContactPrivacy result = + com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); + return result == null + ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED + : result; } }; /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -468,11 +543,14 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -481,24 +559,29 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return supportedPrivacy_; } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -506,39 +589,51 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } + private int supportedPrivacyMemoizedSerializedSize; public static final int DOMAIN_NOTICES_FIELD_NUMBER = 4; private java.util.List domainNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice> domainNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice> + domainNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>() { public com.google.cloud.domains.v1beta1.DomainNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.DomainNotice result = com.google.cloud.domains.v1beta1.DomainNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1beta1.DomainNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.DomainNotice result = + com.google.cloud.domains.v1beta1.DomainNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1beta1.DomainNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @return A list containing the domainNotices. */ @java.lang.Override public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @return The count of domainNotices. */ @java.lang.Override @@ -546,11 +641,14 @@ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -559,24 +657,29 @@ public com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index) return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ @java.lang.Override - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return domainNotices_; } /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -584,16 +687,20 @@ public com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index) public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } + private int domainNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 5; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -601,11 +708,14 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return The yearlyPrice. */ @java.lang.Override @@ -613,6 +723,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Price to register or renew the domain for one year.
    * 
@@ -625,6 +737,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -636,13 +749,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } - if (availability_ != com.google.cloud.domains.v1beta1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { + if (availability_ + != com.google.cloud.domains.v1beta1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, availability_); } if (getSupportedPrivacyList().size() > 0) { @@ -674,37 +788,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domainName_); } - if (availability_ != com.google.cloud.domains.v1beta1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, availability_); + if (availability_ + != com.google.cloud.domains.v1beta1.RegisterParameters.Availability.AVAILABILITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, availability_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedPrivacyMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < domainNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(domainNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(domainNotices_.get(i)); } size += dataSize; - if (!getDomainNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }domainNoticesMemoizedSerializedSize = dataSize; + if (!getDomainNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + domainNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -714,22 +830,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.domains.v1beta1.RegisterParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RegisterParameters other = (com.google.cloud.domains.v1beta1.RegisterParameters) obj; + com.google.cloud.domains.v1beta1.RegisterParameters other = + (com.google.cloud.domains.v1beta1.RegisterParameters) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; if (availability_ != other.availability_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!domainNotices_.equals(other.domainNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -764,117 +879,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RegisterParameters parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RegisterParameters parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RegisterParameters parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RegisterParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1beta1.RegisterParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters required to register a new domain.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RegisterParameters} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RegisterParameters) com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RegisterParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RegisterParameters.class, com.google.cloud.domains.v1beta1.RegisterParameters.Builder.class); + com.google.cloud.domains.v1beta1.RegisterParameters.class, + com.google.cloud.domains.v1beta1.RegisterParameters.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.RegisterParameters.newBuilder() @@ -882,16 +1006,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -913,9 +1036,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RegisterParameters_descriptor; } @java.lang.Override @@ -934,7 +1057,8 @@ public com.google.cloud.domains.v1beta1.RegisterParameters build() { @java.lang.Override public com.google.cloud.domains.v1beta1.RegisterParameters buildPartial() { - com.google.cloud.domains.v1beta1.RegisterParameters result = new com.google.cloud.domains.v1beta1.RegisterParameters(this); + com.google.cloud.domains.v1beta1.RegisterParameters result = + new com.google.cloud.domains.v1beta1.RegisterParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.availability_ = availability_; @@ -961,38 +1085,39 @@ public com.google.cloud.domains.v1beta1.RegisterParameters buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RegisterParameters) { - return mergeFrom((com.google.cloud.domains.v1beta1.RegisterParameters)other); + return mergeFrom((com.google.cloud.domains.v1beta1.RegisterParameters) other); } else { super.mergeFrom(other); return this; @@ -1000,7 +1125,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.RegisterParameters other) { - if (other == com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()) + return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -1050,7 +1176,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.RegisterParameters) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.RegisterParameters) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1059,22 +1186,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object domainName_ = ""; /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -1083,20 +1213,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -1104,54 +1235,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -1159,6 +1297,8 @@ public Builder setDomainNameBytes( private int availability_ = 0; /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1166,12 +1306,16 @@ public Builder setDomainNameBytes(
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; + * * @return The enum numeric value on the wire for availability. */ - @java.lang.Override public int getAvailabilityValue() { + @java.lang.Override + public int getAvailabilityValue() { return availability_; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1179,16 +1323,19 @@ public Builder setDomainNameBytes(
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; + * * @param value The enum numeric value on the wire for availability to set. * @return This builder for chaining. */ public Builder setAvailabilityValue(int value) { - + availability_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1196,15 +1343,21 @@ public Builder setAvailabilityValue(int value) {
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; + * * @return The availability. */ @java.lang.Override public com.google.cloud.domains.v1beta1.RegisterParameters.Availability getAvailability() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.RegisterParameters.Availability result = com.google.cloud.domains.v1beta1.RegisterParameters.Availability.valueOf(availability_); - return result == null ? com.google.cloud.domains.v1beta1.RegisterParameters.Availability.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.RegisterParameters.Availability result = + com.google.cloud.domains.v1beta1.RegisterParameters.Availability.valueOf(availability_); + return result == null + ? com.google.cloud.domains.v1beta1.RegisterParameters.Availability.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1212,19 +1365,23 @@ public com.google.cloud.domains.v1beta1.RegisterParameters.Availability getAvail
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; + * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability(com.google.cloud.domains.v1beta1.RegisterParameters.Availability value) { + public Builder setAvailability( + com.google.cloud.domains.v1beta1.RegisterParameters.Availability value) { if (value == null) { throw new NullPointerException(); } - + availability_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is available for registration. This value is
      * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -1232,17 +1389,18 @@ public Builder setAvailability(com.google.cloud.domains.v1beta1.RegisterParamete
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; + * * @return This builder for chaining. */ public Builder clearAvailability() { - + availability_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = - java.util.Collections.emptyList(); + private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); + private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1250,34 +1408,45 @@ private void ensureSupportedPrivacyIsMutable() { } } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the supportedPrivacy. */ - public java.util.List getSupportedPrivacyList() { + public java.util.List + getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1285,11 +1454,14 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1305,11 +1477,14 @@ public Builder setSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1323,11 +1498,14 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1beta1.ContactPriva return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1341,11 +1519,14 @@ public Builder addAllSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1355,23 +1536,28 @@ public Builder clearSupportedPrivacy() { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1379,28 +1565,33 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue( - int index, int value) { + public Builder setSupportedPrivacyValue(int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1411,16 +1602,18 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue( - java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1429,8 +1622,8 @@ public Builder addAllSupportedPrivacyValue( return this; } - private java.util.List domainNotices_ = - java.util.Collections.emptyList(); + private java.util.List domainNotices_ = java.util.Collections.emptyList(); + private void ensureDomainNoticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { domainNotices_ = new java.util.ArrayList(domainNotices_); @@ -1438,34 +1631,44 @@ private void ensureDomainNoticesIsMutable() { } } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @return A list containing the domainNotices. */ public java.util.List getDomainNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>(domainNotices_, domainNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.DomainNotice>( + domainNotices_, domainNotices_converter_); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @return The count of domainNotices. */ public int getDomainNoticesCount() { return domainNotices_.size(); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ @@ -1473,11 +1676,14 @@ public com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index) return domainNotices_converter_.convert(domainNotices_.get(index)); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param index The index to set the value at. * @param value The domainNotices to set. * @return This builder for chaining. @@ -1493,11 +1699,14 @@ public Builder setDomainNotices( return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1511,11 +1720,14 @@ public Builder addDomainNotices(com.google.cloud.domains.v1beta1.DomainNotice va return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param values The domainNotices to add. * @return This builder for chaining. */ @@ -1529,11 +1741,14 @@ public Builder addAllDomainNotices( return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1543,23 +1758,28 @@ public Builder clearDomainNotices() { return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - public java.util.List - getDomainNoticesValueList() { + public java.util.List getDomainNoticesValueList() { return java.util.Collections.unmodifiableList(domainNotices_); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ @@ -1567,28 +1787,33 @@ public int getDomainNoticesValue(int index) { return domainNotices_.get(index); } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. * @return This builder for chaining. */ - public Builder setDomainNoticesValue( - int index, int value) { + public Builder setDomainNoticesValue(int index, int value) { ensureDomainNoticesIsMutable(); domainNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param value The enum numeric value on the wire for domainNotices to add. * @return This builder for chaining. */ @@ -1599,16 +1824,18 @@ public Builder addDomainNoticesValue(int value) { return this; } /** + * + * *
      * Notices about special properties of the domain.
      * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param values The enum numeric values on the wire for domainNotices to add. * @return This builder for chaining. */ - public Builder addAllDomainNoticesValue( - java.lang.Iterable values) { + public Builder addAllDomainNoticesValue(java.lang.Iterable values) { ensureDomainNoticesIsMutable(); for (int value : values) { domainNotices_.add(value); @@ -1619,24 +1846,31 @@ public Builder addAllDomainNoticesValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1647,6 +1881,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1667,14 +1903,15 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 5; */ - public Builder setYearlyPrice( - com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1685,6 +1922,8 @@ public Builder setYearlyPrice( return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1695,7 +1934,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1707,6 +1946,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1725,6 +1966,8 @@ public Builder clearYearlyPrice() { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1732,11 +1975,13 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 5; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1747,11 +1992,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? - com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1759,21 +2005,22 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - getYearlyPrice(), - getParentForChildren(), - isClean()); + yearlyPriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + getYearlyPrice(), getParentForChildren(), isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1783,12 +2030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RegisterParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RegisterParameters) private static final com.google.cloud.domains.v1beta1.RegisterParameters DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RegisterParameters(); } @@ -1797,16 +2044,16 @@ public static com.google.cloud.domains.v1beta1.RegisterParameters getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RegisterParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1821,6 +2068,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.RegisterParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java similarity index 83% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java index 39df6b55..e6d68022 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegisterParametersOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RegisterParametersOrBuilder extends +public interface RegisterParametersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RegisterParameters) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -35,10 +58,13 @@ public interface RegisterParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; + * * @return The enum numeric value on the wire for availability. */ int getAvailabilityValue(); /** + * + * *
    * Indicates whether the domain is available for registration. This value is
    * accurate when obtained by calling `RetrieveRegisterParameters`, but is
@@ -46,127 +72,164 @@ public interface RegisterParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters.Availability availability = 2; + * * @return The availability. */ com.google.cloud.domains.v1beta1.RegisterParameters.Availability getAvailability(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int index); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List - getSupportedPrivacyValueList(); + java.util.List getSupportedPrivacyValueList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @return A list containing the domainNotices. */ java.util.List getDomainNoticesList(); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @return The count of domainNotices. */ int getDomainNoticesCount(); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param index The index of the element to return. * @return The domainNotices at the given index. */ com.google.cloud.domains.v1beta1.DomainNotice getDomainNotices(int index); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @return A list containing the enum numeric values on the wire for domainNotices. */ - java.util.List - getDomainNoticesValueList(); + java.util.List getDomainNoticesValueList(); /** + * + * *
    * Notices about special properties of the domain.
    * 
* * repeated .google.cloud.domains.v1beta1.DomainNotice domain_notices = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of domainNotices at the given index. */ int getDomainNoticesValue(int index); /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Price to register or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 5; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Price to register or renew the domain for one year.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java index cbc1ced2..198dd8e5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/Registration.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * The `Registration` resource facilitates managing and configuring domain name
  * registrations.
@@ -22,15 +39,16 @@
  *
  * Protobuf type {@code google.cloud.domains.v1beta1.Registration}
  */
-public final class Registration extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Registration extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.Registration)
     RegistrationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Registration.newBuilder() to construct.
   private Registration(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Registration() {
     name_ = "";
     domainName_ = "";
@@ -41,16 +59,15 @@ private Registration() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Registration();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Registration(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,168 +87,192 @@ private Registration(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            domainName_ = s;
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (expireTime_ != null) {
-              subBuilder = expireTime_.toBuilder();
+              domainName_ = s;
+              break;
             }
-            expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(expireTime_);
-              expireTime_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (expireTime_ != null) {
+                subBuilder = expireTime_.toBuilder();
+              }
+              expireTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(expireTime_);
+                expireTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            state_ = rawValue;
-            break;
-          }
-          case 64: {
-            int rawValue = input.readEnum();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              issues_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              state_ = rawValue;
+              break;
             }
-            issues_.add(rawValue);
-            break;
-          }
-          case 66: {
-            int length = input.readRawVarint32();
-            int oldLimit = input.pushLimit(length);
-            while(input.getBytesUntilLimit() > 0) {
+          case 64:
+            {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                 issues_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000001;
               }
               issues_.add(rawValue);
+              break;
             }
-            input.popLimit(oldLimit);
-            break;
-          }
-          case 74: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000002;
-            }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 82: {
-            com.google.cloud.domains.v1beta1.ManagementSettings.Builder subBuilder = null;
-            if (managementSettings_ != null) {
-              subBuilder = managementSettings_.toBuilder();
+          case 66:
+            {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while (input.getBytesUntilLimit() > 0) {
+                int rawValue = input.readEnum();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  issues_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                issues_.add(rawValue);
+              }
+              input.popLimit(oldLimit);
+              break;
             }
-            managementSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.ManagementSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(managementSettings_);
-              managementSettings_ = subBuilder.buildPartial();
+          case 74:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000002;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
+          case 82:
+            {
+              com.google.cloud.domains.v1beta1.ManagementSettings.Builder subBuilder = null;
+              if (managementSettings_ != null) {
+                subBuilder = managementSettings_.toBuilder();
+              }
+              managementSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1beta1.ManagementSettings.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(managementSettings_);
+                managementSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 90: {
-            com.google.cloud.domains.v1beta1.DnsSettings.Builder subBuilder = null;
-            if (dnsSettings_ != null) {
-              subBuilder = dnsSettings_.toBuilder();
-            }
-            dnsSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.DnsSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(dnsSettings_);
-              dnsSettings_ = subBuilder.buildPartial();
+              break;
             }
+          case 90:
+            {
+              com.google.cloud.domains.v1beta1.DnsSettings.Builder subBuilder = null;
+              if (dnsSettings_ != null) {
+                subBuilder = dnsSettings_.toBuilder();
+              }
+              dnsSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1beta1.DnsSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(dnsSettings_);
+                dnsSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 98: {
-            com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null;
-            if (contactSettings_ != null) {
-              subBuilder = contactSettings_.toBuilder();
-            }
-            contactSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(contactSettings_);
-              contactSettings_ = subBuilder.buildPartial();
+              break;
             }
+          case 98:
+            {
+              com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null;
+              if (contactSettings_ != null) {
+                subBuilder = contactSettings_.toBuilder();
+              }
+              contactSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(contactSettings_);
+                contactSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 106: {
-            com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null;
-            if (pendingContactSettings_ != null) {
-              subBuilder = pendingContactSettings_.toBuilder();
-            }
-            pendingContactSettings_ = input.readMessage(com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(pendingContactSettings_);
-              pendingContactSettings_ = subBuilder.buildPartial();
+              break;
             }
+          case 106:
+            {
+              com.google.cloud.domains.v1beta1.ContactSettings.Builder subBuilder = null;
+              if (pendingContactSettings_ != null) {
+                subBuilder = pendingContactSettings_.toBuilder();
+              }
+              pendingContactSettings_ =
+                  input.readMessage(
+                      com.google.cloud.domains.v1beta1.ContactSettings.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(pendingContactSettings_);
+                pendingContactSettings_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 112: {
-            int rawValue = input.readEnum();
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              supportedPrivacy_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000004;
+              break;
             }
-            supportedPrivacy_.add(rawValue);
-            break;
-          }
-          case 114: {
-            int length = input.readRawVarint32();
-            int oldLimit = input.pushLimit(length);
-            while(input.getBytesUntilLimit() > 0) {
+          case 112:
+            {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                 supportedPrivacy_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000004;
               }
               supportedPrivacy_.add(rawValue);
+              break;
             }
-            input.popLimit(oldLimit);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 114:
+            {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while (input.getBytesUntilLimit() > 0) {
+                int rawValue = input.readEnum();
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  supportedPrivacy_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                supportedPrivacy_.add(rawValue);
+              }
+              input.popLimit(oldLimit);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -239,8 +280,7 @@ private Registration(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         issues_ = java.util.Collections.unmodifiableList(issues_);
@@ -252,41 +292,46 @@ private Registration(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.domains.v1beta1.DomainsProto
+        .internal_static_google_cloud_domains_v1beta1_Registration_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 9:
         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.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable
+    return com.google.cloud.domains.v1beta1.DomainsProto
+        .internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.domains.v1beta1.Registration.class, com.google.cloud.domains.v1beta1.Registration.Builder.class);
+            com.google.cloud.domains.v1beta1.Registration.class,
+            com.google.cloud.domains.v1beta1.Registration.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a `Registration`.
    * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.Registration.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is undefined.
      * 
@@ -295,6 +340,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The domain is being registered.
      * 
@@ -303,6 +350,8 @@ public enum State */ REGISTRATION_PENDING(1), /** + * + * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -312,6 +361,8 @@ public enum State
      */
     REGISTRATION_FAILED(2),
     /**
+     *
+     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -320,6 +371,8 @@ public enum State */ TRANSFER_PENDING(3), /** + * + * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -330,6 +383,8 @@ public enum State
      */
     TRANSFER_FAILED(4),
     /**
+     *
+     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -339,6 +394,8 @@ public enum State
      */
     ACTIVE(6),
     /**
+     *
+     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -348,6 +405,8 @@ public enum State
      */
     SUSPENDED(7),
     /**
+     *
+     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -363,6 +422,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is undefined.
      * 
@@ -371,6 +432,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is being registered.
      * 
@@ -379,6 +442,8 @@ public enum State */ public static final int REGISTRATION_PENDING_VALUE = 1; /** + * + * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -388,6 +453,8 @@ public enum State
      */
     public static final int REGISTRATION_FAILED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The domain is being transferred from another registrar to Cloud Domains.
      * 
@@ -396,6 +463,8 @@ public enum State */ public static final int TRANSFER_PENDING_VALUE = 3; /** + * + * *
      * The attempt to transfer the domain from another registrar to
      * Cloud Domains failed. You can delete resources in this state and retry
@@ -406,6 +475,8 @@ public enum State
      */
     public static final int TRANSFER_FAILED_VALUE = 4;
     /**
+     *
+     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -415,6 +486,8 @@ public enum State
      */
     public static final int ACTIVE_VALUE = 6;
     /**
+     *
+     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -424,6 +497,8 @@ public enum State
      */
     public static final int SUSPENDED_VALUE = 7;
     /**
+     *
+     *
      * 
      * The domain is no longer managed with Cloud Domains. It may have been
      * transferred to another registrar or exported for management in
@@ -436,7 +511,6 @@ public enum State
      */
     public static final int EXPORTED_VALUE = 8;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -461,54 +535,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return REGISTRATION_PENDING;
-        case 2: return REGISTRATION_FAILED;
-        case 3: return TRANSFER_PENDING;
-        case 4: return TRANSFER_FAILED;
-        case 6: return ACTIVE;
-        case 7: return SUSPENDED;
-        case 8: return EXPORTED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return REGISTRATION_PENDING;
+        case 2:
+          return REGISTRATION_FAILED;
+        case 3:
+          return TRANSFER_PENDING;
+        case 4:
+          return TRANSFER_FAILED;
+        case 6:
+          return ACTIVE;
+        case 7:
+          return SUSPENDED;
+        case 8:
+          return EXPORTED;
+        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.domains.v1beta1.Registration.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;
@@ -526,15 +605,18 @@ private State(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Possible issues with a `Registration` that require attention.
    * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.Registration.Issue} */ - public enum Issue - implements com.google.protobuf.ProtocolMessageEnum { + public enum Issue implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The issue is undefined.
      * 
@@ -543,6 +625,8 @@ public enum Issue */ ISSUE_UNSPECIFIED(0), /** + * + * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -551,6 +635,8 @@ public enum Issue */ CONTACT_SUPPORT(1), /** + * + * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -569,6 +655,8 @@ public enum Issue
     ;
 
     /**
+     *
+     *
      * 
      * The issue is undefined.
      * 
@@ -577,6 +665,8 @@ public enum Issue */ public static final int ISSUE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -585,6 +675,8 @@ public enum Issue */ public static final int CONTACT_SUPPORT_VALUE = 1; /** + * + * *
      * [ICANN](https://icann.org/) requires verification of the email address
      * in the `Registration`'s `contact_settings.registrant_contact` field. To
@@ -600,7 +692,6 @@ public enum Issue
      */
     public static final int UNVERIFIED_EMAIL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -625,49 +716,49 @@ public static Issue valueOf(int value) {
      */
     public static Issue forNumber(int value) {
       switch (value) {
-        case 0: return ISSUE_UNSPECIFIED;
-        case 1: return CONTACT_SUPPORT;
-        case 2: return UNVERIFIED_EMAIL;
-        default: return null;
+        case 0:
+          return ISSUE_UNSPECIFIED;
+        case 1:
+          return CONTACT_SUPPORT;
+        case 2:
+          return UNVERIFIED_EMAIL;
+        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<
-        Issue> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Issue findValueByNumber(int number) {
-              return Issue.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 Issue findValueByNumber(int number) {
+            return Issue.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.domains.v1beta1.Registration.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Issue[] VALUES = values();
 
-    public static Issue valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Issue 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;
@@ -687,12 +778,15 @@ private Issue(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -701,30 +795,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 `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * 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 { @@ -735,11 +829,16 @@ public java.lang.String getName() { public static final int DOMAIN_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object domainName_; /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domainName. */ @java.lang.Override @@ -748,29 +847,31 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -781,11 +882,15 @@ public java.lang.String getDomainName() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -793,11 +898,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -805,11 +914,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -819,11 +931,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -831,11 +947,15 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -843,11 +963,14 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -857,61 +980,92 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 7; private int state_; /** + * + * *
    * Output only. The state of the `Registration`
    * 
* - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.Registration.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 state of the `Registration`
    * 
* - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.domains.v1beta1.Registration.State getState() { + @java.lang.Override + public com.google.cloud.domains.v1beta1.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.Registration.State result = com.google.cloud.domains.v1beta1.Registration.State.valueOf(state_); - return result == null ? com.google.cloud.domains.v1beta1.Registration.State.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.Registration.State result = + com.google.cloud.domains.v1beta1.Registration.State.valueOf(state_); + return result == null + ? com.google.cloud.domains.v1beta1.Registration.State.UNRECOGNIZED + : result; } public static final int ISSUES_FIELD_NUMBER = 8; private java.util.List issues_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue> issues_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue> + issues_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue>() { - public com.google.cloud.domains.v1beta1.Registration.Issue convert(java.lang.Integer from) { + public com.google.cloud.domains.v1beta1.Registration.Issue convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.Registration.Issue result = com.google.cloud.domains.v1beta1.Registration.Issue.valueOf(from); - return result == null ? com.google.cloud.domains.v1beta1.Registration.Issue.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.Registration.Issue result = + com.google.cloud.domains.v1beta1.Registration.Issue.valueOf(from); + return result == null + ? com.google.cloud.domains.v1beta1.Registration.Issue.UNRECOGNIZED + : result; } }; /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the issues. */ @java.lang.Override public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue>(issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue>( + issues_, issues_converter_); } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of issues. */ @java.lang.Override @@ -919,11 +1073,16 @@ public int getIssuesCount() { return issues_.size(); } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The issues at the given index. */ @@ -932,24 +1091,33 @@ public com.google.cloud.domains.v1beta1.Registration.Issue getIssues(int index) return issues_converter_.convert(issues_.get(index)); } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for issues. */ @java.lang.Override - public java.util.List - getIssuesValueList() { + public java.util.List getIssuesValueList() { return issues_; } /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -957,27 +1125,27 @@ public com.google.cloud.domains.v1beta1.Registration.Issue getIssues(int index) public int getIssuesValue(int index) { return issues_.get(index); } + private int issuesMemoizedSerializedSize; public static final int LABELS_FIELD_NUMBER = 9; + 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.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_Registration_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -986,28 +1154,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - @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(); } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1015,11 +1185,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1027,16 +1198,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1044,12 +1215,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 9; */ @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(); } @@ -1059,6 +1229,8 @@ public java.lang.String getLabelsOrThrow( public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER = 10; private com.google.cloud.domains.v1beta1.ManagementSettings managementSettings_; /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1067,6 +1239,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -1074,6 +1247,8 @@ public boolean hasManagementSettings() { return managementSettings_ != null; } /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1082,13 +1257,18 @@ public boolean hasManagementSettings() {
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; + * * @return The managementSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings() { - return managementSettings_ == null ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() + : managementSettings_; } /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -1099,13 +1279,16 @@ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings
    * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() {
+  public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder
+      getManagementSettingsOrBuilder() {
     return getManagementSettings();
   }
 
   public static final int DNS_SETTINGS_FIELD_NUMBER = 11;
   private com.google.cloud.domains.v1beta1.DnsSettings dnsSettings_;
   /**
+   *
+   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1113,6 +1296,7 @@ public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagemen
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; + * * @return Whether the dnsSettings field is set. */ @java.lang.Override @@ -1120,6 +1304,8 @@ public boolean hasDnsSettings() { return dnsSettings_ != null; } /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1127,13 +1313,18 @@ public boolean hasDnsSettings() {
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; + * * @return The dnsSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings() { - return dnsSettings_ == null ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() + : dnsSettings_; } /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -1150,13 +1341,18 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
   public static final int CONTACT_SETTINGS_FIELD_NUMBER = 12;
   private com.google.cloud.domains.v1beta1.ContactSettings contactSettings_;
   /**
+   *
+   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contactSettings field is set. */ @java.lang.Override @@ -1164,27 +1360,38 @@ public boolean hasContactSettings() { return contactSettings_ != null; } /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contactSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings getContactSettings() { - return contactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() + : contactSettings_; } /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSettingsOrBuilder() { @@ -1194,6 +1401,8 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti public static final int PENDING_CONTACT_SETTINGS_FIELD_NUMBER = 13; private com.google.cloud.domains.v1beta1.ContactSettings pendingContactSettings_; /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1204,7 +1413,10 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti
    * email they receive.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the pendingContactSettings field is set. */ @java.lang.Override @@ -1212,6 +1424,8 @@ public boolean hasPendingContactSettings() { return pendingContactSettings_ != null; } /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1222,14 +1436,21 @@ public boolean hasPendingContactSettings() {
    * email they receive.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pendingContactSettings. */ @java.lang.Override public com.google.cloud.domains.v1beta1.ContactSettings getPendingContactSettings() { - return pendingContactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : pendingContactSettings_; + return pendingContactSettings_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() + : pendingContactSettings_; } /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -1240,46 +1461,64 @@ public com.google.cloud.domains.v1beta1.ContactSettings getPendingContactSetting
    * email they receive.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder + getPendingContactSettingsOrBuilder() { return getPendingContactSettings(); } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 14; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> + supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>() { public com.google.cloud.domains.v1beta1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactPrivacy result = com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); - return result == null ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.ContactPrivacy result = + com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); + return result == null + ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED + : result; } }; /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -1287,12 +1526,17 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1301,26 +1545,35 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return supportedPrivacy_; } /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1328,9 +1581,11 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } + private int supportedPrivacyMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1342,8 +1597,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -1357,7 +1611,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (expireTime_ != null) { output.writeMessage(6, getExpireTime()); } - if (state_ != com.google.cloud.domains.v1beta1.Registration.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.domains.v1beta1.Registration.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } if (getIssuesList().size() > 0) { @@ -1367,12 +1622,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < issues_.size(); i++) { output.writeEnumNoTag(issues_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 9); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 9); if (managementSettings_ != null) { output.writeMessage(10, getManagementSettings()); } @@ -1408,66 +1659,62 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domainName_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpireTime()); } - if (state_ != com.google.cloud.domains.v1beta1.Registration.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + if (state_ + != com.google.cloud.domains.v1beta1.Registration.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } { int dataSize = 0; for (int i = 0; i < issues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(issues_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(issues_.get(i)); } size += dataSize; - if (!getIssuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }issuesMemoizedSerializedSize = dataSize; - } - 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(9, labels__); + if (!getIssuesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + issuesMemoizedSerializedSize = dataSize; + } + 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(9, labels__); } if (managementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getManagementSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getManagementSettings()); } if (dnsSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getDnsSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getDnsSettings()); } if (contactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getContactSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getContactSettings()); } if (pendingContactSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getPendingContactSettings()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(13, getPendingContactSettings()); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedPrivacyMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1477,50 +1724,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1beta1.Registration)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.Registration other = (com.google.cloud.domains.v1beta1.Registration) obj; + com.google.cloud.domains.v1beta1.Registration other = + (com.google.cloud.domains.v1beta1.Registration) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDomainName() - .equals(other.getDomainName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDomainName().equals(other.getDomainName())) 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 (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } if (state_ != other.state_) return false; if (!issues_.equals(other.issues_)) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasManagementSettings() != other.hasManagementSettings()) return false; if (hasManagementSettings()) { - if (!getManagementSettings() - .equals(other.getManagementSettings())) return false; + if (!getManagementSettings().equals(other.getManagementSettings())) return false; } if (hasDnsSettings() != other.hasDnsSettings()) return false; if (hasDnsSettings()) { - if (!getDnsSettings() - .equals(other.getDnsSettings())) return false; + if (!getDnsSettings().equals(other.getDnsSettings())) return false; } if (hasContactSettings() != other.hasContactSettings()) return false; if (hasContactSettings()) { - if (!getContactSettings() - .equals(other.getContactSettings())) return false; + if (!getContactSettings().equals(other.getContactSettings())) return false; } if (hasPendingContactSettings() != other.hasPendingContactSettings()) return false; if (hasPendingContactSettings()) { - if (!getPendingContactSettings() - .equals(other.getPendingContactSettings())) return false; + if (!getPendingContactSettings().equals(other.getPendingContactSettings())) return false; } if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1581,97 +1820,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.domains.v1beta1.Registration parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.domains.v1beta1.Registration parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.Registration parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.Registration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.Registration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.Registration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.Registration parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.Registration parseFrom(java.io.InputStream input) 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.domains.v1beta1.Registration parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.Registration parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.Registration parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.Registration parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.Registration parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.Registration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1beta1.Registration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The `Registration` resource facilitates managing and configuring domain name
    * registrations.
@@ -1690,43 +1936,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.domains.v1beta1.Registration}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.Registration)
       com.google.cloud.domains.v1beta1.RegistrationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_Registration_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 9:
           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 9:
           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.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_Registration_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.domains.v1beta1.Registration.class, com.google.cloud.domains.v1beta1.Registration.Builder.class);
+              com.google.cloud.domains.v1beta1.Registration.class,
+              com.google.cloud.domains.v1beta1.Registration.Builder.class);
     }
 
     // Construct using com.google.cloud.domains.v1beta1.Registration.newBuilder()
@@ -1734,16 +1980,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1798,9 +2043,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_Registration_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.domains.v1beta1.DomainsProto
+          .internal_static_google_cloud_domains_v1beta1_Registration_descriptor;
     }
 
     @java.lang.Override
@@ -1819,7 +2064,8 @@ public com.google.cloud.domains.v1beta1.Registration build() {
 
     @java.lang.Override
     public com.google.cloud.domains.v1beta1.Registration buildPartial() {
-      com.google.cloud.domains.v1beta1.Registration result = new com.google.cloud.domains.v1beta1.Registration(this);
+      com.google.cloud.domains.v1beta1.Registration result =
+          new com.google.cloud.domains.v1beta1.Registration(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.domainName_ = domainName_;
@@ -1874,38 +2120,39 @@ public com.google.cloud.domains.v1beta1.Registration buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.domains.v1beta1.Registration) {
-        return mergeFrom((com.google.cloud.domains.v1beta1.Registration)other);
+        return mergeFrom((com.google.cloud.domains.v1beta1.Registration) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1941,8 +2188,7 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.Registration other) {
         }
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (other.hasManagementSettings()) {
         mergeManagementSettings(other.getManagementSettings());
       }
@@ -1993,23 +2239,26 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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; @@ -2018,21 +2267,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * 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 { @@ -2040,57 +2290,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Name of the `Registration` resource, in the format
      * `projects/*/locations/*/registrations/<domain_name>`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2098,18 +2355,22 @@ public Builder setNameBytes( private java.lang.Object domainName_ = ""; /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -2118,20 +2379,23 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -2139,54 +2403,67 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -2194,39 +2471,58 @@ public Builder setDomainNameBytes( 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 creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2242,14 +2538,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2260,17 +2559,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2282,11 +2585,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2300,48 +2607,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The creation timestamp of the `Registration` resource.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2349,39 +2672,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -2397,14 +2739,17 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -2415,17 +2760,21 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -2437,11 +2786,15 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -2455,48 +2808,64 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * Output only. The expiration timestamp of the `Registration`.
      * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -2504,51 +2873,75 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.Registration.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 state of the `Registration`
      * 
* - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.domains.v1beta1.Registration.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.Registration.State result = com.google.cloud.domains.v1beta1.Registration.State.valueOf(state_); - return result == null ? com.google.cloud.domains.v1beta1.Registration.State.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.Registration.State result = + com.google.cloud.domains.v1beta1.Registration.State.valueOf(state_); + return result == null + ? com.google.cloud.domains.v1beta1.Registration.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2556,28 +2949,33 @@ public Builder setState(com.google.cloud.domains.v1beta1.Registration.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the `Registration`
      * 
* - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private java.util.List issues_ = - java.util.Collections.emptyList(); + private java.util.List issues_ = java.util.Collections.emptyList(); + private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); @@ -2585,34 +2983,50 @@ private void ensureIssuesIsMutable() { } } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the issues. */ public java.util.List getIssuesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue>(issues_, issues_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.Registration.Issue>( + issues_, issues_converter_); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of issues. */ public int getIssuesCount() { return issues_.size(); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The issues at the given index. */ @@ -2620,17 +3034,21 @@ public com.google.cloud.domains.v1beta1.Registration.Issue getIssues(int index) return issues_converter_.convert(issues_.get(index)); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The issues to set. * @return This builder for chaining. */ - public Builder setIssues( - int index, com.google.cloud.domains.v1beta1.Registration.Issue value) { + public Builder setIssues(int index, com.google.cloud.domains.v1beta1.Registration.Issue value) { if (value == null) { throw new NullPointerException(); } @@ -2640,11 +3058,16 @@ public Builder setIssues( return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The issues to add. * @return This builder for chaining. */ @@ -2658,11 +3081,16 @@ public Builder addIssues(com.google.cloud.domains.v1beta1.Registration.Issue val return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The issues to add. * @return This builder for chaining. */ @@ -2676,11 +3104,16 @@ public Builder addAllIssues( return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearIssues() { @@ -2690,23 +3123,32 @@ public Builder clearIssues() { return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for issues. */ - public java.util.List - getIssuesValueList() { + public java.util.List getIssuesValueList() { return java.util.Collections.unmodifiableList(issues_); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ @@ -2714,28 +3156,37 @@ public int getIssuesValue(int index) { return issues_.get(index); } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. * @return This builder for chaining. */ - public Builder setIssuesValue( - int index, int value) { + public Builder setIssuesValue(int index, int value) { ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for issues to add. * @return This builder for chaining. */ @@ -2746,16 +3197,20 @@ public Builder addIssuesValue(int value) { return this; } /** + * + * *
      * Output only. The set of issues with the `Registration` that require attention.
      * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for issues to add. * @return This builder for chaining. */ - public Builder addAllIssuesValue( - java.lang.Iterable values) { + public Builder addAllIssuesValue(java.lang.Iterable values) { ensureIssuesIsMutable(); for (int value : values) { issues_.add(value); @@ -2764,22 +3219,21 @@ public Builder addAllIssuesValue( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2791,28 +3245,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - @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(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2820,11 +3276,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 9; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2832,16 +3289,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 9; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2849,12 +3307,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 9; */ @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(); } @@ -2862,71 +3319,73 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
* * map<string, string> labels = 9; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private com.google.cloud.domains.v1beta1.ManagementSettings managementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> managementSettingsBuilder_; + com.google.cloud.domains.v1beta1.ManagementSettings, + com.google.cloud.domains.v1beta1.ManagementSettings.Builder, + com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> + managementSettingsBuilder_; /** + * + * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2935,12 +3394,15 @@ public Builder putAllLabels(
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ public boolean hasManagementSettings() { return managementSettingsBuilder_ != null || managementSettings_ != null; } /** + * + * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2949,16 +3411,21 @@ public boolean hasManagementSettings() {
      * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; + * * @return The managementSettings. */ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings() { if (managementSettingsBuilder_ == null) { - return managementSettings_ == null ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_; + return managementSettings_ == null + ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() + : managementSettings_; } else { return managementSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2968,7 +3435,8 @@ public com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings
      *
      * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
      */
-    public Builder setManagementSettings(com.google.cloud.domains.v1beta1.ManagementSettings value) {
+    public Builder setManagementSettings(
+        com.google.cloud.domains.v1beta1.ManagementSettings value) {
       if (managementSettingsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2982,6 +3450,8 @@ public Builder setManagementSettings(com.google.cloud.domains.v1beta1.Management
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3003,6 +3473,8 @@ public Builder setManagementSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3012,11 +3484,14 @@ public Builder setManagementSettings(
      *
      * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
      */
-    public Builder mergeManagementSettings(com.google.cloud.domains.v1beta1.ManagementSettings value) {
+    public Builder mergeManagementSettings(
+        com.google.cloud.domains.v1beta1.ManagementSettings value) {
       if (managementSettingsBuilder_ == null) {
         if (managementSettings_ != null) {
           managementSettings_ =
-            com.google.cloud.domains.v1beta1.ManagementSettings.newBuilder(managementSettings_).mergeFrom(value).buildPartial();
+              com.google.cloud.domains.v1beta1.ManagementSettings.newBuilder(managementSettings_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           managementSettings_ = value;
         }
@@ -3028,6 +3503,8 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1beta1.Manageme
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3049,6 +3526,8 @@ public Builder clearManagementSettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3058,12 +3537,15 @@ public Builder clearManagementSettings() {
      *
      * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
      */
-    public com.google.cloud.domains.v1beta1.ManagementSettings.Builder getManagementSettingsBuilder() {
-      
+    public com.google.cloud.domains.v1beta1.ManagementSettings.Builder
+        getManagementSettingsBuilder() {
+
       onChanged();
       return getManagementSettingsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3073,15 +3555,19 @@ public com.google.cloud.domains.v1beta1.ManagementSettings.Builder getManagement
      *
      * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
      */
-    public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder() {
+    public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder
+        getManagementSettingsOrBuilder() {
       if (managementSettingsBuilder_ != null) {
         return managementSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return managementSettings_ == null ?
-            com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance() : managementSettings_;
+        return managementSettings_ == null
+            ? com.google.cloud.domains.v1beta1.ManagementSettings.getDefaultInstance()
+            : managementSettings_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3092,14 +3578,17 @@ public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagemen
      * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder> 
+            com.google.cloud.domains.v1beta1.ManagementSettings,
+            com.google.cloud.domains.v1beta1.ManagementSettings.Builder,
+            com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder>
         getManagementSettingsFieldBuilder() {
       if (managementSettingsBuilder_ == null) {
-        managementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1beta1.ManagementSettings, com.google.cloud.domains.v1beta1.ManagementSettings.Builder, com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder>(
-                getManagementSettings(),
-                getParentForChildren(),
-                isClean());
+        managementSettingsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.domains.v1beta1.ManagementSettings,
+                com.google.cloud.domains.v1beta1.ManagementSettings.Builder,
+                com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder>(
+                getManagementSettings(), getParentForChildren(), isClean());
         managementSettings_ = null;
       }
       return managementSettingsBuilder_;
@@ -3107,8 +3596,13 @@ public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagemen
 
     private com.google.cloud.domains.v1beta1.DnsSettings dnsSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> dnsSettingsBuilder_;
+            com.google.cloud.domains.v1beta1.DnsSettings,
+            com.google.cloud.domains.v1beta1.DnsSettings.Builder,
+            com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>
+        dnsSettingsBuilder_;
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3116,12 +3610,15 @@ public com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagemen
      * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; + * * @return Whether the dnsSettings field is set. */ public boolean hasDnsSettings() { return dnsSettingsBuilder_ != null || dnsSettings_ != null; } /** + * + * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3129,16 +3626,21 @@ public boolean hasDnsSettings() {
      * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; + * * @return The dnsSettings. */ public com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings() { if (dnsSettingsBuilder_ == null) { - return dnsSettings_ == null ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_; + return dnsSettings_ == null + ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() + : dnsSettings_; } else { return dnsSettingsBuilder_.getMessage(); } } /** + * + * *
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3161,6 +3663,8 @@ public Builder setDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings value
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3181,6 +3685,8 @@ public Builder setDnsSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3193,7 +3699,9 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings val
       if (dnsSettingsBuilder_ == null) {
         if (dnsSettings_ != null) {
           dnsSettings_ =
-            com.google.cloud.domains.v1beta1.DnsSettings.newBuilder(dnsSettings_).mergeFrom(value).buildPartial();
+              com.google.cloud.domains.v1beta1.DnsSettings.newBuilder(dnsSettings_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dnsSettings_ = value;
         }
@@ -3205,6 +3713,8 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings val
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3225,6 +3735,8 @@ public Builder clearDnsSettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3234,11 +3746,13 @@ public Builder clearDnsSettings() {
      * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;
      */
     public com.google.cloud.domains.v1beta1.DnsSettings.Builder getDnsSettingsBuilder() {
-      
+
       onChanged();
       return getDnsSettingsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3251,11 +3765,14 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
       if (dnsSettingsBuilder_ != null) {
         return dnsSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return dnsSettings_ == null ?
-            com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance() : dnsSettings_;
+        return dnsSettings_ == null
+            ? com.google.cloud.domains.v1beta1.DnsSettings.getDefaultInstance()
+            : dnsSettings_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings controlling the DNS configuration of the `Registration`. You
      * cannot update these with the `UpdateRegistration` method. To update these
@@ -3265,14 +3782,17 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
      * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder> 
+            com.google.cloud.domains.v1beta1.DnsSettings,
+            com.google.cloud.domains.v1beta1.DnsSettings.Builder,
+            com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>
         getDnsSettingsFieldBuilder() {
       if (dnsSettingsBuilder_ == null) {
-        dnsSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1beta1.DnsSettings, com.google.cloud.domains.v1beta1.DnsSettings.Builder, com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>(
-                getDnsSettings(),
-                getParentForChildren(),
-                isClean());
+        dnsSettingsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.domains.v1beta1.DnsSettings,
+                com.google.cloud.domains.v1beta1.DnsSettings.Builder,
+                com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder>(
+                getDnsSettings(), getParentForChildren(), isClean());
         dnsSettings_ = null;
       }
       return dnsSettingsBuilder_;
@@ -3280,45 +3800,64 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
 
     private com.google.cloud.domains.v1beta1.ContactSettings contactSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> contactSettingsBuilder_;
+            com.google.cloud.domains.v1beta1.ContactSettings,
+            com.google.cloud.domains.v1beta1.ContactSettings.Builder,
+            com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>
+        contactSettingsBuilder_;
     /**
+     *
+     *
      * 
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contactSettings field is set. */ public boolean hasContactSettings() { return contactSettingsBuilder_ != null || contactSettings_ != null; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contactSettings. */ public com.google.cloud.domains.v1beta1.ContactSettings getContactSettings() { if (contactSettingsBuilder_ == null) { - return contactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() + : contactSettings_; } else { return contactSettingsBuilder_.getMessage(); } } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setContactSettings(com.google.cloud.domains.v1beta1.ContactSettings value) { if (contactSettingsBuilder_ == null) { @@ -3334,13 +3873,17 @@ public Builder setContactSettings(com.google.cloud.domains.v1beta1.ContactSettin return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setContactSettings( com.google.cloud.domains.v1beta1.ContactSettings.Builder builderForValue) { @@ -3354,19 +3897,25 @@ public Builder setContactSettings( return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeContactSettings(com.google.cloud.domains.v1beta1.ContactSettings value) { if (contactSettingsBuilder_ == null) { if (contactSettings_ != null) { contactSettings_ = - com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(contactSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(contactSettings_) + .mergeFrom(value) + .buildPartial(); } else { contactSettings_ = value; } @@ -3378,13 +3927,17 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1beta1.ContactSett return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearContactSettings() { if (contactSettingsBuilder_ == null) { @@ -3398,54 +3951,70 @@ public Builder clearContactSettings() { return this; } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1beta1.ContactSettings.Builder getContactSettingsBuilder() { - + onChanged(); return getContactSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSettingsOrBuilder() { if (contactSettingsBuilder_ != null) { return contactSettingsBuilder_.getMessageOrBuilder(); } else { - return contactSettings_ == null ? - com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : contactSettings_; + return contactSettings_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() + : contactSettings_; } } /** + * + * *
      * Required. Settings for contact information linked to the `Registration`. You cannot
      * update these with the `UpdateRegistration` method. To update these
      * settings, use the `ConfigureContactSettings` method.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings, + com.google.cloud.domains.v1beta1.ContactSettings.Builder, + com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> getContactSettingsFieldBuilder() { if (contactSettingsBuilder_ == null) { - contactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( - getContactSettings(), - getParentForChildren(), - isClean()); + contactSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings, + com.google.cloud.domains.v1beta1.ContactSettings.Builder, + com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( + getContactSettings(), getParentForChildren(), isClean()); contactSettings_ = null; } return contactSettingsBuilder_; @@ -3453,8 +4022,13 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti private com.google.cloud.domains.v1beta1.ContactSettings pendingContactSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> pendingContactSettingsBuilder_; + com.google.cloud.domains.v1beta1.ContactSettings, + com.google.cloud.domains.v1beta1.ContactSettings.Builder, + com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> + pendingContactSettingsBuilder_; /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3465,13 +4039,18 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSetti
      * email they receive.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the pendingContactSettings field is set. */ public boolean hasPendingContactSettings() { return pendingContactSettingsBuilder_ != null || pendingContactSettings_ != null; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3482,17 +4061,24 @@ public boolean hasPendingContactSettings() {
      * email they receive.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pendingContactSettings. */ public com.google.cloud.domains.v1beta1.ContactSettings getPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { - return pendingContactSettings_ == null ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : pendingContactSettings_; + return pendingContactSettings_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() + : pendingContactSettings_; } else { return pendingContactSettingsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3503,9 +4089,12 @@ public com.google.cloud.domains.v1beta1.ContactSettings getPendingContactSetting
      * email they receive.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPendingContactSettings(com.google.cloud.domains.v1beta1.ContactSettings value) { + public Builder setPendingContactSettings( + com.google.cloud.domains.v1beta1.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3519,6 +4108,8 @@ public Builder setPendingContactSettings(com.google.cloud.domains.v1beta1.Contac return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3529,7 +4120,9 @@ public Builder setPendingContactSettings(com.google.cloud.domains.v1beta1.Contac
      * email they receive.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPendingContactSettings( com.google.cloud.domains.v1beta1.ContactSettings.Builder builderForValue) { @@ -3543,6 +4136,8 @@ public Builder setPendingContactSettings( return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3553,13 +4148,18 @@ public Builder setPendingContactSettings(
      * email they receive.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergePendingContactSettings(com.google.cloud.domains.v1beta1.ContactSettings value) { + public Builder mergePendingContactSettings( + com.google.cloud.domains.v1beta1.ContactSettings value) { if (pendingContactSettingsBuilder_ == null) { if (pendingContactSettings_ != null) { pendingContactSettings_ = - com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(pendingContactSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.ContactSettings.newBuilder(pendingContactSettings_) + .mergeFrom(value) + .buildPartial(); } else { pendingContactSettings_ = value; } @@ -3571,6 +4171,8 @@ public Builder mergePendingContactSettings(com.google.cloud.domains.v1beta1.Cont return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3581,7 +4183,9 @@ public Builder mergePendingContactSettings(com.google.cloud.domains.v1beta1.Cont
      * email they receive.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPendingContactSettings() { if (pendingContactSettingsBuilder_ == null) { @@ -3595,6 +4199,8 @@ public Builder clearPendingContactSettings() { return this; } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3605,14 +4211,19 @@ public Builder clearPendingContactSettings() {
      * email they receive.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.domains.v1beta1.ContactSettings.Builder getPendingContactSettingsBuilder() { - + public com.google.cloud.domains.v1beta1.ContactSettings.Builder + getPendingContactSettingsBuilder() { + onChanged(); return getPendingContactSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3623,17 +4234,23 @@ public com.google.cloud.domains.v1beta1.ContactSettings.Builder getPendingContac
      * email they receive.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder() { + public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder + getPendingContactSettingsOrBuilder() { if (pendingContactSettingsBuilder_ != null) { return pendingContactSettingsBuilder_.getMessageOrBuilder(); } else { - return pendingContactSettings_ == null ? - com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() : pendingContactSettings_; + return pendingContactSettings_ == null + ? com.google.cloud.domains.v1beta1.ContactSettings.getDefaultInstance() + : pendingContactSettings_; } } /** + * + * *
      * Output only. Pending contact settings for the `Registration`. Updates to the
      * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -3644,24 +4261,29 @@ public com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getPendingConta
      * email they receive.
      * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> + com.google.cloud.domains.v1beta1.ContactSettings, + com.google.cloud.domains.v1beta1.ContactSettings.Builder, + com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder> getPendingContactSettingsFieldBuilder() { if (pendingContactSettingsBuilder_ == null) { - pendingContactSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.ContactSettings, com.google.cloud.domains.v1beta1.ContactSettings.Builder, com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( - getPendingContactSettings(), - getParentForChildren(), - isClean()); + pendingContactSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.ContactSettings, + com.google.cloud.domains.v1beta1.ContactSettings.Builder, + com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder>( + getPendingContactSettings(), getParentForChildren(), isClean()); pendingContactSettings_ = null; } return pendingContactSettingsBuilder_; } - private java.util.List supportedPrivacy_ = - java.util.Collections.emptyList(); + private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); + private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -3669,37 +4291,54 @@ private void ensureSupportedPrivacyIsMutable() { } } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the supportedPrivacy. */ - public java.util.List getSupportedPrivacyList() { + public java.util.List + getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -3707,12 +4346,17 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -3728,12 +4372,17 @@ public Builder setSupportedPrivacy( return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -3747,12 +4396,17 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1beta1.ContactPriva return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -3766,12 +4420,17 @@ public Builder addAllSupportedPrivacy( return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -3781,25 +4440,34 @@ public Builder clearSupportedPrivacy() { return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -3807,30 +4475,39 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue( - int index, int value) { + public Builder setSupportedPrivacyValue(int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -3841,17 +4518,21 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** + * + * *
      * Output only. Set of options for the `contact_settings.privacy` field that this
      * `Registration` supports.
      * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue( - java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -3859,9 +4540,9 @@ public Builder addAllSupportedPrivacyValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3871,12 +4552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.Registration) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.Registration) private static final com.google.cloud.domains.v1beta1.Registration DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.Registration(); } @@ -3885,16 +4566,16 @@ public static com.google.cloud.domains.v1beta1.Registration getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Registration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Registration(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Registration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Registration(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3909,6 +4590,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.Registration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationName.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationName.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationName.java diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java index 50ae8cc3..e9c1ed1f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RegistrationOrBuilder.java @@ -1,177 +1,265 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RegistrationOrBuilder extends +public interface RegistrationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.Registration) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the `Registration` resource, in the format
    * `projects/*/locations/*/registrations/<domain_name>`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* - * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of the `Registration` resource.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Output only. The expiration timestamp of the `Registration`.
    * 
* - * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** + * + * *
    * Output only. The state of the `Registration`
    * 
* - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the `Registration`
    * 
* - * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.domains.v1beta1.Registration.State getState(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the issues. */ java.util.List getIssuesList(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of issues. */ int getIssuesCount(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The issues at the given index. */ com.google.cloud.domains.v1beta1.Registration.Issue getIssues(int index); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for issues. */ - java.util.List - getIssuesValueList(); + java.util.List getIssuesValueList(); /** + * + * *
    * Output only. The set of issues with the `Registration` that require attention.
    * 
* - * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of issues at the given index. */ int getIssuesValue(int index); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -180,30 +268,31 @@ public interface RegistrationOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - 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(); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -212,22 +301,24 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
* * map<string, string> labels = 9; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -236,10 +327,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ boolean hasManagementSettings(); /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -248,10 +342,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; + * * @return The managementSettings. */ com.google.cloud.domains.v1beta1.ManagementSettings getManagementSettings(); /** + * + * *
    * Settings for management of the `Registration`, including renewal, billing,
    * and transfer. You cannot update these with the `UpdateRegistration`
@@ -264,6 +361,8 @@ java.lang.String getLabelsOrThrow(
   com.google.cloud.domains.v1beta1.ManagementSettingsOrBuilder getManagementSettingsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -271,10 +370,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; + * * @return Whether the dnsSettings field is set. */ boolean hasDnsSettings(); /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -282,10 +384,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1beta1.DnsSettings dns_settings = 11; + * * @return The dnsSettings. */ com.google.cloud.domains.v1beta1.DnsSettings getDnsSettings(); /** + * + * *
    * Settings controlling the DNS configuration of the `Registration`. You
    * cannot update these with the `UpdateRegistration` method. To update these
@@ -297,39 +402,55 @@ java.lang.String getLabelsOrThrow(
   com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the contactSettings field is set. */ boolean hasContactSettings(); /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The contactSettings. */ com.google.cloud.domains.v1beta1.ContactSettings getContactSettings(); /** + * + * *
    * Required. Settings for contact information linked to the `Registration`. You cannot
    * update these with the `UpdateRegistration` method. To update these
    * settings, use the `ConfigureContactSettings` method.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getContactSettingsOrBuilder(); /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -340,11 +461,16 @@ java.lang.String getLabelsOrThrow(
    * email they receive.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the pendingContactSettings field is set. */ boolean hasPendingContactSettings(); /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -355,11 +481,16 @@ java.lang.String getLabelsOrThrow(
    * email they receive.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The pendingContactSettings. */ com.google.cloud.domains.v1beta1.ContactSettings getPendingContactSettings(); /** + * + * *
    * Output only. Pending contact settings for the `Registration`. Updates to the
    * `contact_settings` field that change its `registrant_contact` or `privacy`
@@ -370,59 +501,85 @@ java.lang.String getLabelsOrThrow(
    * email they receive.
    * 
* - * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.domains.v1beta1.ContactSettingsOrBuilder getPendingContactSettingsOrBuilder(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int index); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List - getSupportedPrivacyValueList(); + java.util.List getSupportedPrivacyValueList(); /** + * + * *
    * Output only. Set of options for the `contact_settings.privacy` field that this
    * `Registration` supports.
    * 
* - * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java index e40dae0e..da738ce3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `ResetAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest} */ -public final class ResetAuthorizationCodeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResetAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) ResetAuthorizationCodeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResetAuthorizationCodeRequest.newBuilder() to construct. private ResetAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResetAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResetAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResetAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResetAuthorizationCodeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + registration_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResetAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being reset,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getRegistration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -178,15 +205,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.domains.v1beta1.ResetAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest other = (com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest other = + (com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `ResetAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.class, + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_ResetAuthorizationCodeRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.getDefaultInstance(); } @@ -364,7 +401,8 @@ public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest result = new com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest(this); + com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest result = + new com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -374,38 +412,39 @@ public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +452,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest other) { - if (other == com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -437,7 +478,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +492,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -470,21 +517,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -492,64 +542,77 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being reset,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -559,30 +622,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) - private static final com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest(); } - public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResetAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +659,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..12453edf --- /dev/null +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/ResetAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1beta1/domains.proto + +package com.google.cloud.domains.v1beta1; + +public interface ResetAuthorizationCodeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The registration. + */ + java.lang.String getRegistration(); + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being reset,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for registration. + */ + com.google.protobuf.ByteString getRegistrationBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java similarity index 62% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java index fe7f10af..4f2f6956 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `RetrieveAuthorizationCode` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest} */ -public final class RetrieveAuthorizationCodeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveAuthorizationCodeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) RetrieveAuthorizationCodeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveAuthorizationCodeRequest.newBuilder() to construct. - private RetrieveAuthorizationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveAuthorizationCodeRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetrieveAuthorizationCodeRequest() { registration_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveAuthorizationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveAuthorizationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private RetrieveAuthorizationCodeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - registration_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + registration_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +92,42 @@ private RetrieveAuthorizationCodeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private volatile java.lang.Object registration_; /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ @java.lang.Override @@ -110,30 +136,32 @@ public java.lang.String getRegistration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; } } /** + * + * *
    * Required. The name of the `Registration` whose authorization code is being retrieved,
    * in the format `projects/*/locations/*/registrations/*`.
    * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -142,6 +170,7 @@ public java.lang.String getRegistration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registration_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -178,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.domains.v1beta1.RetrieveAuthorizationCodeRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest other = (com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) obj; + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest other = + (com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) obj; - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +234,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest 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.domains.v1beta1.RetrieveAuthorizationCodeRequest + 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.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveAuthorizationCode` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.class, + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.Builder.class); } - // Construct using com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.newBuilder() + // Construct using + // com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +382,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveAuthorizationCodeRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest + getDefaultInstanceForType() { return com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.getDefaultInstance(); } @@ -364,7 +404,8 @@ public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest build() @java.lang.Override public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest buildPartial() { - com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest result = new com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest(this); + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest result = + new com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest(this); result.registration_ = registration_; onBuilt(); return result; @@ -374,46 +415,50 @@ public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest other) { - if (other == com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest other) { + if (other + == com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest.getDefaultInstance()) + return this; if (!other.getRegistration().isEmpty()) { registration_ = other.registration_; onChanged(); @@ -437,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +496,23 @@ public Builder mergeFrom( private java.lang.Object registration_ = ""; /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The registration. */ public java.lang.String getRegistration() { java.lang.Object ref = registration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); registration_ = s; return s; @@ -470,21 +521,24 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for registration. */ - public com.google.protobuf.ByteString - getRegistrationBytes() { + public com.google.protobuf.ByteString getRegistrationBytes() { java.lang.Object ref = registration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); registration_ = b; return b; } else { @@ -492,64 +546,77 @@ public java.lang.String getRegistration() { } } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The registration to set. * @return This builder for chaining. */ - public Builder setRegistration( - java.lang.String value) { + public Builder setRegistration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + registration_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearRegistration() { - + registration_ = getDefaultInstance().getRegistration(); onChanged(); return this; } /** + * + * *
      * Required. The name of the `Registration` whose authorization code is being retrieved,
      * in the format `projects/*/locations/*/registrations/*`.
      * 
* - * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for registration to set. * @return This builder for chaining. */ - public Builder setRegistrationBytes( - com.google.protobuf.ByteString value) { + public Builder setRegistrationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + registration_ = 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); } @@ -559,30 +626,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) - private static final com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest(); } - public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveAuthorizationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveAuthorizationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveAuthorizationCodeRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +663,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java new file mode 100644 index 00000000..fc4cf2a3 --- /dev/null +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveAuthorizationCodeRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/domains/v1beta1/domains.proto + +package com.google.cloud.domains.v1beta1; + +public interface RetrieveAuthorizationCodeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The registration. + */ + java.lang.String getRegistration(); + /** + * + * + *
+   * Required. The name of the `Registration` whose authorization code is being retrieved,
+   * in the format `projects/*/locations/*/registrations/*`.
+   * 
+ * + * + * string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for registration. + */ + com.google.protobuf.ByteString getRegistrationBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java index 260ea9b5..a772a1c1 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest} */ -public final class RetrieveRegisterParametersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveRegisterParametersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) RetrieveRegisterParametersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersRequest.newBuilder() to construct. - private RetrieveRegisterParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetrieveRegisterParametersRequest() { domainName_ = ""; location_ = ""; @@ -26,16 +45,15 @@ private RetrieveRegisterParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveRegisterParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveRegisterParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +72,27 @@ private RetrieveRegisterParametersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,39 @@ private RetrieveRegisterParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ @java.lang.Override @@ -116,29 +141,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -149,11 +174,16 @@ public java.lang.String getDomainName() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -162,29 +192,31 @@ 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; } } /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -193,6 +225,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -235,17 +267,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.domains.v1beta1.RetrieveRegisterParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest other = (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) obj; + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest other = + (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,134 +298,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest 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.domains.v1beta1.RetrieveRegisterParametersRequest + 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.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.class, + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.Builder.class); } - // Construct using com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.newBuilder() + // Construct using + // com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,14 +448,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest getDefaultInstanceForType() { - return com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.getDefaultInstance(); + public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest + getDefaultInstanceForType() { + return com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest + .getDefaultInstance(); } @java.lang.Override @@ -427,7 +471,8 @@ public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest build( @java.lang.Override public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest buildPartial() { - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest result = new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest(this); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest result = + new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -438,46 +483,51 @@ public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest)other); + return mergeFrom( + (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest other) { - if (other == com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest other) { + if (other + == com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest + .getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -505,7 +555,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +569,20 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -537,20 +591,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -558,54 +613,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -613,18 +675,22 @@ public Builder setDomainNameBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -633,20 +699,23 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -654,61 +723,74 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,30 +800,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) - private static final com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest(); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,9 +837,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java index 004b285f..3e925b59 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersRequestOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RetrieveRegisterParametersRequestOrBuilder extends +public interface RetrieveRegisterParametersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java index 1ea86e75..25e91b2c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponse.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Response for the `RetrieveRegisterParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse} */ -public final class RetrieveRegisterParametersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveRegisterParametersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) RetrieveRegisterParametersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveRegisterParametersResponse.newBuilder() to construct. - private RetrieveRegisterParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveRegisterParametersResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveRegisterParametersResponse() { - } + + private RetrieveRegisterParametersResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveRegisterParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveRegisterParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +69,30 @@ private RetrieveRegisterParametersResponse( case 0: done = true; break; - case 10: { - com.google.cloud.domains.v1beta1.RegisterParameters.Builder subBuilder = null; - if (registerParameters_ != null) { - subBuilder = registerParameters_.toBuilder(); + case 10: + { + com.google.cloud.domains.v1beta1.RegisterParameters.Builder subBuilder = null; + if (registerParameters_ != null) { + subBuilder = registerParameters_.toBuilder(); + } + registerParameters_ = + input.readMessage( + com.google.cloud.domains.v1beta1.RegisterParameters.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registerParameters_); + registerParameters_ = subBuilder.buildPartial(); + } + + break; } - registerParameters_ = input.readMessage(com.google.cloud.domains.v1beta1.RegisterParameters.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registerParameters_); - registerParameters_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +100,39 @@ private RetrieveRegisterParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1beta1.RegisterParameters registerParameters_; /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * * @return Whether the registerParameters field is set. */ @java.lang.Override @@ -114,18 +140,25 @@ public boolean hasRegisterParameters() { return registerParameters_ != null; } /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * * @return The registerParameters. */ @java.lang.Override public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters() { - return registerParameters_ == null ? com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() : registerParameters_; + return registerParameters_ == null + ? com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() + : registerParameters_; } /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
@@ -133,11 +166,13 @@ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder getRegisterParametersOrBuilder() { + public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder + getRegisterParametersOrBuilder() { return getRegisterParameters(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (registerParameters_ != null) { output.writeMessage(1, getRegisterParameters()); } @@ -164,8 +198,7 @@ public int getSerializedSize() { size = 0; if (registerParameters_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRegisterParameters()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegisterParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse other = (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) obj; + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse other = + (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) obj; if (hasRegisterParameters() != other.hasRegisterParameters()) return false; if (hasRegisterParameters()) { - if (!getRegisterParameters() - .equals(other.getRegisterParameters())) return false; + if (!getRegisterParameters().equals(other.getRegisterParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,134 +241,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse 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.domains.v1beta1.RetrieveRegisterParametersResponse + 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.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `RetrieveRegisterParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.class, + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.Builder.class); } - // Construct using com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.newBuilder() + // Construct using + // com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,14 +393,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveRegisterParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse getDefaultInstanceForType() { - return com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.getDefaultInstance(); + public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse + getDefaultInstanceForType() { + return com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse + .getDefaultInstance(); } @java.lang.Override @@ -370,7 +416,8 @@ public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse build @java.lang.Override public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse buildPartial() { - com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse result = new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse(this); + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse result = + new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse(this); if (registerParametersBuilder_ == null) { result.registerParameters_ = registerParameters_; } else { @@ -384,46 +431,51 @@ public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) { - return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse)other); + return mergeFrom( + (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse other) { - if (other == com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse other) { + if (other + == com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse + .getDefaultInstance()) return this; if (other.hasRegisterParameters()) { mergeRegisterParameters(other.getRegisterParameters()); } @@ -446,7 +498,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,41 +512,55 @@ public Builder mergeFrom( private com.google.cloud.domains.v1beta1.RegisterParameters registerParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> registerParametersBuilder_; + com.google.cloud.domains.v1beta1.RegisterParameters, + com.google.cloud.domains.v1beta1.RegisterParameters.Builder, + com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> + registerParametersBuilder_; /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * * @return Whether the registerParameters field is set. */ public boolean hasRegisterParameters() { return registerParametersBuilder_ != null || registerParameters_ != null; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * * @return The registerParameters. */ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters() { if (registerParametersBuilder_ == null) { - return registerParameters_ == null ? com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() : registerParameters_; + return registerParameters_ == null + ? com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() + : registerParameters_; } else { return registerParametersBuilder_.getMessage(); } } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public Builder setRegisterParameters(com.google.cloud.domains.v1beta1.RegisterParameters value) { + public Builder setRegisterParameters( + com.google.cloud.domains.v1beta1.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -506,6 +574,8 @@ public Builder setRegisterParameters(com.google.cloud.domains.v1beta1.RegisterPa return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -524,17 +594,22 @@ public Builder setRegisterParameters( return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public Builder mergeRegisterParameters(com.google.cloud.domains.v1beta1.RegisterParameters value) { + public Builder mergeRegisterParameters( + com.google.cloud.domains.v1beta1.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (registerParameters_ != null) { registerParameters_ = - com.google.cloud.domains.v1beta1.RegisterParameters.newBuilder(registerParameters_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.RegisterParameters.newBuilder(registerParameters_) + .mergeFrom(value) + .buildPartial(); } else { registerParameters_ = value; } @@ -546,6 +621,8 @@ public Builder mergeRegisterParameters(com.google.cloud.domains.v1beta1.Register return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -564,33 +641,42 @@ public Builder clearRegisterParameters() { return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1beta1.RegisterParameters.Builder getRegisterParametersBuilder() { - + public com.google.cloud.domains.v1beta1.RegisterParameters.Builder + getRegisterParametersBuilder() { + onChanged(); return getRegisterParametersFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder getRegisterParametersOrBuilder() { + public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder + getRegisterParametersOrBuilder() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilder(); } else { - return registerParameters_ == null ? - com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() : registerParameters_; + return registerParameters_ == null + ? com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance() + : registerParameters_; } } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -598,21 +684,24 @@ public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder getRegisterP * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> + com.google.cloud.domains.v1beta1.RegisterParameters, + com.google.cloud.domains.v1beta1.RegisterParameters.Builder, + com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder>( - getRegisterParameters(), - getParentForChildren(), - isClean()); + registerParametersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.RegisterParameters, + com.google.cloud.domains.v1beta1.RegisterParameters.Builder, + com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder>( + getRegisterParameters(), getParentForChildren(), isClean()); registerParameters_ = null; } return registerParametersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -622,30 +711,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) - private static final com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse(); } - public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveRegisterParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveRegisterParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveRegisterParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveRegisterParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,9 +748,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java index ff42db57..353e7f18 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveRegisterParametersResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RetrieveRegisterParametersResponseOrBuilder extends +public interface RetrieveRegisterParametersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * * @return Whether the registerParameters field is set. */ boolean hasRegisterParameters(); /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
* * .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * * @return The registerParameters. */ com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters(); /** + * + * *
    * Parameters to use when calling the `RegisterDomain` method.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java index 7510e3c6..384aad0b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveTransferParametersRequest} */ -public final class RetrieveTransferParametersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveTransferParametersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) RetrieveTransferParametersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersRequest.newBuilder() to construct. - private RetrieveTransferParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RetrieveTransferParametersRequest() { domainName_ = ""; location_ = ""; @@ -26,16 +45,15 @@ private RetrieveTransferParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveTransferParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveTransferParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +72,27 @@ private RetrieveTransferParametersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,39 @@ private RetrieveTransferParametersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ @java.lang.Override @@ -116,29 +141,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -149,11 +174,16 @@ public java.lang.String getDomainName() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -162,29 +192,31 @@ 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; } } /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -193,6 +225,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -235,17 +267,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.domains.v1beta1.RetrieveTransferParametersRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest other = (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) obj; + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest other = + (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,134 +298,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest 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.domains.v1beta1.RetrieveTransferParametersRequest + 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.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveTransferParametersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.class, + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.Builder.class); } - // Construct using com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.newBuilder() + // Construct using + // com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,14 +448,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersRequest_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest getDefaultInstanceForType() { - return com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.getDefaultInstance(); + public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest + getDefaultInstanceForType() { + return com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest + .getDefaultInstance(); } @java.lang.Override @@ -427,7 +471,8 @@ public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest build( @java.lang.Override public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest buildPartial() { - com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest result = new com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest(this); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest result = + new com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest(this); result.domainName_ = domainName_; result.location_ = location_; onBuilt(); @@ -438,46 +483,51 @@ public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest)other); + return mergeFrom( + (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest other) { - if (other == com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest other) { + if (other + == com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest + .getDefaultInstance()) return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -505,7 +555,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +569,20 @@ public Builder mergeFrom( private java.lang.Object domainName_ = ""; /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -537,20 +591,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -558,54 +613,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * Required. The domain name. Unicode domain names must be expressed in Punycode format.
      * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -613,18 +675,22 @@ public Builder setDomainNameBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -633,20 +699,23 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -654,61 +723,74 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,30 +800,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) - private static final com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest(); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,9 +837,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java index 84f2828f..38eaf7a4 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersRequestOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RetrieveTransferParametersRequestOrBuilder extends +public interface RetrieveTransferParametersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveTransferParametersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * Required. The domain name. Unicode domain names must be expressed in Punycode format.
    * 
* * string domain_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java index d102a308..f65aaafb 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponse.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Response for the `RetrieveTransferParameters` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveTransferParametersResponse} */ -public final class RetrieveTransferParametersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RetrieveTransferParametersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) RetrieveTransferParametersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RetrieveTransferParametersResponse.newBuilder() to construct. - private RetrieveTransferParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetrieveTransferParametersResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RetrieveTransferParametersResponse() { - } + + private RetrieveTransferParametersResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetrieveTransferParametersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RetrieveTransferParametersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +69,30 @@ private RetrieveTransferParametersResponse( case 0: done = true; break; - case 10: { - com.google.cloud.domains.v1beta1.TransferParameters.Builder subBuilder = null; - if (transferParameters_ != null) { - subBuilder = transferParameters_.toBuilder(); + case 10: + { + com.google.cloud.domains.v1beta1.TransferParameters.Builder subBuilder = null; + if (transferParameters_ != null) { + subBuilder = transferParameters_.toBuilder(); + } + transferParameters_ = + input.readMessage( + com.google.cloud.domains.v1beta1.TransferParameters.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferParameters_); + transferParameters_ = subBuilder.buildPartial(); + } + + break; } - transferParameters_ = input.readMessage(com.google.cloud.domains.v1beta1.TransferParameters.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transferParameters_); - transferParameters_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +100,39 @@ private RetrieveTransferParametersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.Builder.class); } public static final int TRANSFER_PARAMETERS_FIELD_NUMBER = 1; private com.google.cloud.domains.v1beta1.TransferParameters transferParameters_; /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; + * * @return Whether the transferParameters field is set. */ @java.lang.Override @@ -114,18 +140,25 @@ public boolean hasTransferParameters() { return transferParameters_ != null; } /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; + * * @return The transferParameters. */ @java.lang.Override public com.google.cloud.domains.v1beta1.TransferParameters getTransferParameters() { - return transferParameters_ == null ? com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() : transferParameters_; + return transferParameters_ == null + ? com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() + : transferParameters_; } /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
@@ -133,11 +166,13 @@ public com.google.cloud.domains.v1beta1.TransferParameters getTransferParameters * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.TransferParametersOrBuilder getTransferParametersOrBuilder() { + public com.google.cloud.domains.v1beta1.TransferParametersOrBuilder + getTransferParametersOrBuilder() { return getTransferParameters(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (transferParameters_ != null) { output.writeMessage(1, getTransferParameters()); } @@ -164,8 +198,7 @@ public int getSerializedSize() { size = 0; if (transferParameters_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTransferParameters()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTransferParameters()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse other = (com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) obj; + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse other = + (com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) obj; if (hasTransferParameters() != other.hasTransferParameters()) return false; if (hasTransferParameters()) { - if (!getTransferParameters() - .equals(other.getTransferParameters())) return false; + if (!getTransferParameters().equals(other.getTransferParameters())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,134 +241,145 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse 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.domains.v1beta1.RetrieveTransferParametersResponse + 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.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `RetrieveTransferParameters` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.RetrieveTransferParametersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.Builder.class); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.class, + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.Builder.class); } - // Construct using com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.newBuilder() + // Construct using + // com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,14 +393,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_RetrieveTransferParametersResponse_descriptor; } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse getDefaultInstanceForType() { - return com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.getDefaultInstance(); + public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse + getDefaultInstanceForType() { + return com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse + .getDefaultInstance(); } @java.lang.Override @@ -370,7 +416,8 @@ public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse build @java.lang.Override public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse buildPartial() { - com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse result = new com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse(this); + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse result = + new com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse(this); if (transferParametersBuilder_ == null) { result.transferParameters_ = transferParameters_; } else { @@ -384,46 +431,51 @@ public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) { - return mergeFrom((com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse)other); + return mergeFrom( + (com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse other) { - if (other == com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse other) { + if (other + == com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse + .getDefaultInstance()) return this; if (other.hasTransferParameters()) { mergeTransferParameters(other.getTransferParameters()); } @@ -446,7 +498,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,41 +512,55 @@ public Builder mergeFrom( private com.google.cloud.domains.v1beta1.TransferParameters transferParameters_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.TransferParameters, com.google.cloud.domains.v1beta1.TransferParameters.Builder, com.google.cloud.domains.v1beta1.TransferParametersOrBuilder> transferParametersBuilder_; + com.google.cloud.domains.v1beta1.TransferParameters, + com.google.cloud.domains.v1beta1.TransferParameters.Builder, + com.google.cloud.domains.v1beta1.TransferParametersOrBuilder> + transferParametersBuilder_; /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; + * * @return Whether the transferParameters field is set. */ public boolean hasTransferParameters() { return transferParametersBuilder_ != null || transferParameters_ != null; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; + * * @return The transferParameters. */ public com.google.cloud.domains.v1beta1.TransferParameters getTransferParameters() { if (transferParametersBuilder_ == null) { - return transferParameters_ == null ? com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() : transferParameters_; + return transferParameters_ == null + ? com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() + : transferParameters_; } else { return transferParametersBuilder_.getMessage(); } } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ - public Builder setTransferParameters(com.google.cloud.domains.v1beta1.TransferParameters value) { + public Builder setTransferParameters( + com.google.cloud.domains.v1beta1.TransferParameters value) { if (transferParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -506,6 +574,8 @@ public Builder setTransferParameters(com.google.cloud.domains.v1beta1.TransferPa return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -524,17 +594,22 @@ public Builder setTransferParameters( return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ - public Builder mergeTransferParameters(com.google.cloud.domains.v1beta1.TransferParameters value) { + public Builder mergeTransferParameters( + com.google.cloud.domains.v1beta1.TransferParameters value) { if (transferParametersBuilder_ == null) { if (transferParameters_ != null) { transferParameters_ = - com.google.cloud.domains.v1beta1.TransferParameters.newBuilder(transferParameters_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.TransferParameters.newBuilder(transferParameters_) + .mergeFrom(value) + .buildPartial(); } else { transferParameters_ = value; } @@ -546,6 +621,8 @@ public Builder mergeTransferParameters(com.google.cloud.domains.v1beta1.Transfer return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -564,33 +641,42 @@ public Builder clearTransferParameters() { return this; } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ - public com.google.cloud.domains.v1beta1.TransferParameters.Builder getTransferParametersBuilder() { - + public com.google.cloud.domains.v1beta1.TransferParameters.Builder + getTransferParametersBuilder() { + onChanged(); return getTransferParametersFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ - public com.google.cloud.domains.v1beta1.TransferParametersOrBuilder getTransferParametersOrBuilder() { + public com.google.cloud.domains.v1beta1.TransferParametersOrBuilder + getTransferParametersOrBuilder() { if (transferParametersBuilder_ != null) { return transferParametersBuilder_.getMessageOrBuilder(); } else { - return transferParameters_ == null ? - com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() : transferParameters_; + return transferParameters_ == null + ? com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance() + : transferParameters_; } } /** + * + * *
      * Parameters to use when calling the `TransferDomain` method.
      * 
@@ -598,21 +684,24 @@ public com.google.cloud.domains.v1beta1.TransferParametersOrBuilder getTransferP * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.TransferParameters, com.google.cloud.domains.v1beta1.TransferParameters.Builder, com.google.cloud.domains.v1beta1.TransferParametersOrBuilder> + com.google.cloud.domains.v1beta1.TransferParameters, + com.google.cloud.domains.v1beta1.TransferParameters.Builder, + com.google.cloud.domains.v1beta1.TransferParametersOrBuilder> getTransferParametersFieldBuilder() { if (transferParametersBuilder_ == null) { - transferParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.TransferParameters, com.google.cloud.domains.v1beta1.TransferParameters.Builder, com.google.cloud.domains.v1beta1.TransferParametersOrBuilder>( - getTransferParameters(), - getParentForChildren(), - isClean()); + transferParametersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.TransferParameters, + com.google.cloud.domains.v1beta1.TransferParameters.Builder, + com.google.cloud.domains.v1beta1.TransferParametersOrBuilder>( + getTransferParameters(), getParentForChildren(), isClean()); transferParameters_ = null; } return transferParametersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -622,30 +711,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) - private static final com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse DEFAULT_INSTANCE; + private static final com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse(); } - public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse getDefaultInstance() { + public static com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetrieveTransferParametersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetrieveTransferParametersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetrieveTransferParametersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetrieveTransferParametersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,9 +748,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse getDefaultInstanceForType() { + public com.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java index c7263e6a..0f62cee3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/RetrieveTransferParametersResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface RetrieveTransferParametersResponseOrBuilder extends +public interface RetrieveTransferParametersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.RetrieveTransferParametersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; + * * @return Whether the transferParameters field is set. */ boolean hasTransferParameters(); /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
* * .google.cloud.domains.v1beta1.TransferParameters transfer_parameters = 1; + * * @return The transferParameters. */ com.google.cloud.domains.v1beta1.TransferParameters getTransferParameters(); /** + * + * *
    * Parameters to use when calling the `TransferDomain` method.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java index 10615b71..9e3ac8f0 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.SearchDomainsRequest} */ -public final class SearchDomainsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchDomainsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.SearchDomainsRequest) SearchDomainsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchDomainsRequest.newBuilder() to construct. private SearchDomainsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchDomainsRequest() { query_ = ""; location_ = ""; @@ -26,16 +44,15 @@ private SearchDomainsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchDomainsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchDomainsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private SearchDomainsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private SearchDomainsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, com.google.cloud.domains.v1beta1.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, + com.google.cloud.domains.v1beta1.SearchDomainsRequest.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -149,11 +173,16 @@ public java.lang.String getQuery() { public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ @java.lang.Override @@ -162,29 +191,31 @@ 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; } } /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -235,17 +266,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.domains.v1beta1.SearchDomainsRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.SearchDomainsRequest other = (com.google.cloud.domains.v1beta1.SearchDomainsRequest) obj; + com.google.cloud.domains.v1beta1.SearchDomainsRequest other = + (com.google.cloud.domains.v1beta1.SearchDomainsRequest) obj; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.SearchDomainsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.SearchDomainsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.SearchDomainsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.SearchDomainsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.SearchDomainsRequest) com.google.cloud.domains.v1beta1.SearchDomainsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, com.google.cloud.domains.v1beta1.SearchDomainsRequest.Builder.class); + com.google.cloud.domains.v1beta1.SearchDomainsRequest.class, + com.google.cloud.domains.v1beta1.SearchDomainsRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.SearchDomainsRequest.newBuilder() @@ -385,16 +425,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_SearchDomainsRequest_descriptor; } @java.lang.Override @@ -427,7 +466,8 @@ public com.google.cloud.domains.v1beta1.SearchDomainsRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.SearchDomainsRequest buildPartial() { - com.google.cloud.domains.v1beta1.SearchDomainsRequest result = new com.google.cloud.domains.v1beta1.SearchDomainsRequest(this); + com.google.cloud.domains.v1beta1.SearchDomainsRequest result = + new com.google.cloud.domains.v1beta1.SearchDomainsRequest(this); result.query_ = query_; result.location_ = location_; onBuilt(); @@ -438,38 +478,39 @@ public com.google.cloud.domains.v1beta1.SearchDomainsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.SearchDomainsRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.SearchDomainsRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.SearchDomainsRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +518,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.SearchDomainsRequest other) { - if (other == com.google.cloud.domains.v1beta1.SearchDomainsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.SearchDomainsRequest.getDefaultInstance()) + return this; if (!other.getQuery().isEmpty()) { query_ = other.query_; onChanged(); @@ -505,7 +547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.SearchDomainsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.SearchDomainsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +560,20 @@ public Builder mergeFrom( private java.lang.Object query_ = ""; /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -537,20 +582,21 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -558,54 +604,61 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Required. String used to search for available domain names.
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -613,18 +666,22 @@ public Builder setQueryBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -633,20 +690,23 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -654,61 +714,74 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Required. The location. Must be in the format `projects/*/locations/*`.
      * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.SearchDomainsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.SearchDomainsRequest) private static final com.google.cloud.domains.v1beta1.SearchDomainsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.SearchDomainsRequest(); } @@ -732,16 +805,16 @@ public static com.google.cloud.domains.v1beta1.SearchDomainsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +829,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.SearchDomainsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java index 4c9dac91..cc0a024c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsRequestOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface SearchDomainsRequestOrBuilder extends +public interface SearchDomainsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.SearchDomainsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Required. String used to search for available domain names.
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Required. The location. Must be in the format `projects/*/locations/*`.
    * 
* - * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java index 87670f8c..634d67cb 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Response for the `SearchDomains` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.SearchDomainsResponse} */ -public final class SearchDomainsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchDomainsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.SearchDomainsResponse) SearchDomainsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchDomainsResponse.newBuilder() to construct. private SearchDomainsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchDomainsResponse() { registerParameters_ = 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 SearchDomainsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchDomainsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,26 @@ private SearchDomainsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - registerParameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + registerParameters_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + registerParameters_.add( + input.readMessage( + com.google.cloud.domains.v1beta1.RegisterParameters.parser(), + extensionRegistry)); + break; } - registerParameters_.add( - input.readMessage(com.google.cloud.domains.v1beta1.RegisterParameters.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +98,7 @@ private SearchDomainsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { registerParameters_ = java.util.Collections.unmodifiableList(registerParameters_); @@ -87,22 +107,27 @@ private SearchDomainsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, com.google.cloud.domains.v1beta1.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, + com.google.cloud.domains.v1beta1.SearchDomainsResponse.Builder.class); } public static final int REGISTER_PARAMETERS_FIELD_NUMBER = 1; private java.util.List registerParameters_; /** + * + * *
    * Results of the domain name search.
    * 
@@ -110,10 +135,13 @@ private SearchDomainsResponse( * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public java.util.List getRegisterParametersList() { + public java.util.List + getRegisterParametersList() { return registerParameters_; } /** + * + * *
    * Results of the domain name search.
    * 
@@ -121,11 +149,13 @@ public java.util.List getRe * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRegisterParametersOrBuilderList() { return registerParameters_; } /** + * + * *
    * Results of the domain name search.
    * 
@@ -137,6 +167,8 @@ public int getRegisterParametersCount() { return registerParameters_.size(); } /** + * + * *
    * Results of the domain name search.
    * 
@@ -148,6 +180,8 @@ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters return registerParameters_.get(index); } /** + * + * *
    * Results of the domain name search.
    * 
@@ -155,12 +189,13 @@ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ @java.lang.Override - public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder getRegisterParametersOrBuilder( - int index) { + public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder + getRegisterParametersOrBuilder(int index) { return registerParameters_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < registerParameters_.size(); i++) { output.writeMessage(1, registerParameters_.get(i)); } @@ -187,8 +221,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < registerParameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, registerParameters_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, registerParameters_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +232,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.domains.v1beta1.SearchDomainsResponse)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.SearchDomainsResponse other = (com.google.cloud.domains.v1beta1.SearchDomainsResponse) obj; + com.google.cloud.domains.v1beta1.SearchDomainsResponse other = + (com.google.cloud.domains.v1beta1.SearchDomainsResponse) obj; - if (!getRegisterParametersList() - .equals(other.getRegisterParametersList())) return false; + if (!getRegisterParametersList().equals(other.getRegisterParametersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,117 +262,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.SearchDomainsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.SearchDomainsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.SearchDomainsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the `SearchDomains` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.SearchDomainsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.SearchDomainsResponse) com.google.cloud.domains.v1beta1.SearchDomainsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, com.google.cloud.domains.v1beta1.SearchDomainsResponse.Builder.class); + com.google.cloud.domains.v1beta1.SearchDomainsResponse.class, + com.google.cloud.domains.v1beta1.SearchDomainsResponse.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.SearchDomainsResponse.newBuilder() @@ -346,17 +390,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRegisterParametersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_SearchDomainsResponse_descriptor; } @java.lang.Override @@ -391,7 +435,8 @@ public com.google.cloud.domains.v1beta1.SearchDomainsResponse build() { @java.lang.Override public com.google.cloud.domains.v1beta1.SearchDomainsResponse buildPartial() { - com.google.cloud.domains.v1beta1.SearchDomainsResponse result = new com.google.cloud.domains.v1beta1.SearchDomainsResponse(this); + com.google.cloud.domains.v1beta1.SearchDomainsResponse result = + new com.google.cloud.domains.v1beta1.SearchDomainsResponse(this); int from_bitField0_ = bitField0_; if (registerParametersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +455,39 @@ public com.google.cloud.domains.v1beta1.SearchDomainsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.SearchDomainsResponse) { - return mergeFrom((com.google.cloud.domains.v1beta1.SearchDomainsResponse)other); + return mergeFrom((com.google.cloud.domains.v1beta1.SearchDomainsResponse) other); } else { super.mergeFrom(other); return this; @@ -449,7 +495,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.SearchDomainsResponse other) { - if (other == com.google.cloud.domains.v1beta1.SearchDomainsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.SearchDomainsResponse.getDefaultInstance()) + return this; if (registerParametersBuilder_ == null) { if (!other.registerParameters_.isEmpty()) { if (registerParameters_.isEmpty()) { @@ -468,9 +515,10 @@ public Builder mergeFrom(com.google.cloud.domains.v1beta1.SearchDomainsResponse registerParametersBuilder_ = null; registerParameters_ = other.registerParameters_; bitField0_ = (bitField0_ & ~0x00000001); - registerParametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRegisterParametersFieldBuilder() : null; + registerParametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRegisterParametersFieldBuilder() + : null; } else { registerParametersBuilder_.addAllMessages(other.registerParameters_); } @@ -495,7 +543,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.SearchDomainsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.SearchDomainsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,28 +553,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List registerParameters_ = - java.util.Collections.emptyList(); + private java.util.List + registerParameters_ = java.util.Collections.emptyList(); + private void ensureRegisterParametersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - registerParameters_ = new java.util.ArrayList(registerParameters_); + registerParameters_ = + new java.util.ArrayList( + registerParameters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> registerParametersBuilder_; + com.google.cloud.domains.v1beta1.RegisterParameters, + com.google.cloud.domains.v1beta1.RegisterParameters.Builder, + com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> + registerParametersBuilder_; /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ - public java.util.List getRegisterParametersList() { + public java.util.List + getRegisterParametersList() { if (registerParametersBuilder_ == null) { return java.util.Collections.unmodifiableList(registerParameters_); } else { @@ -533,11 +593,14 @@ public java.util.List getRe } } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public int getRegisterParametersCount() { if (registerParametersBuilder_ == null) { @@ -547,11 +610,14 @@ public int getRegisterParametersCount() { } } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters(int index) { if (registerParametersBuilder_ == null) { @@ -561,11 +627,14 @@ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters } } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public Builder setRegisterParameters( int index, com.google.cloud.domains.v1beta1.RegisterParameters value) { @@ -582,11 +651,14 @@ public Builder setRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public Builder setRegisterParameters( int index, com.google.cloud.domains.v1beta1.RegisterParameters.Builder builderForValue) { @@ -600,13 +672,17 @@ public Builder setRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ - public Builder addRegisterParameters(com.google.cloud.domains.v1beta1.RegisterParameters value) { + public Builder addRegisterParameters( + com.google.cloud.domains.v1beta1.RegisterParameters value) { if (registerParametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,11 +696,14 @@ public Builder addRegisterParameters(com.google.cloud.domains.v1beta1.RegisterPa return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public Builder addRegisterParameters( int index, com.google.cloud.domains.v1beta1.RegisterParameters value) { @@ -641,11 +720,14 @@ public Builder addRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public Builder addRegisterParameters( com.google.cloud.domains.v1beta1.RegisterParameters.Builder builderForValue) { @@ -659,11 +741,14 @@ public Builder addRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public Builder addRegisterParameters( int index, com.google.cloud.domains.v1beta1.RegisterParameters.Builder builderForValue) { @@ -677,18 +762,20 @@ public Builder addRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public Builder addAllRegisterParameters( java.lang.Iterable values) { if (registerParametersBuilder_ == null) { ensureRegisterParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, registerParameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, registerParameters_); onChanged(); } else { registerParametersBuilder_.addAllMessages(values); @@ -696,11 +783,14 @@ public Builder addAllRegisterParameters( return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public Builder clearRegisterParameters() { if (registerParametersBuilder_ == null) { @@ -713,11 +803,14 @@ public Builder clearRegisterParameters() { return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public Builder removeRegisterParameters(int index) { if (registerParametersBuilder_ == null) { @@ -730,39 +823,49 @@ public Builder removeRegisterParameters(int index) { return this; } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public com.google.cloud.domains.v1beta1.RegisterParameters.Builder getRegisterParametersBuilder( int index) { return getRegisterParametersFieldBuilder().getBuilder(index); } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ - public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder getRegisterParametersOrBuilder( - int index) { + public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder + getRegisterParametersOrBuilder(int index) { if (registerParametersBuilder_ == null) { - return registerParameters_.get(index); } else { + return registerParameters_.get(index); + } else { return registerParametersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ - public java.util.List - getRegisterParametersOrBuilderList() { + public java.util.List + getRegisterParametersOrBuilderList() { if (registerParametersBuilder_ != null) { return registerParametersBuilder_.getMessageOrBuilderList(); } else { @@ -770,45 +873,62 @@ public com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder getRegisterP } } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ - public com.google.cloud.domains.v1beta1.RegisterParameters.Builder addRegisterParametersBuilder() { - return getRegisterParametersFieldBuilder().addBuilder( - com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()); + public com.google.cloud.domains.v1beta1.RegisterParameters.Builder + addRegisterParametersBuilder() { + return getRegisterParametersFieldBuilder() + .addBuilder(com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()); } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ public com.google.cloud.domains.v1beta1.RegisterParameters.Builder addRegisterParametersBuilder( int index) { - return getRegisterParametersFieldBuilder().addBuilder( - index, com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()); + return getRegisterParametersFieldBuilder() + .addBuilder( + index, com.google.cloud.domains.v1beta1.RegisterParameters.getDefaultInstance()); } /** + * + * *
      * Results of the domain name search.
      * 
* - * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; + * */ - public java.util.List - getRegisterParametersBuilderList() { + public java.util.List + getRegisterParametersBuilderList() { return getRegisterParametersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> + com.google.cloud.domains.v1beta1.RegisterParameters, + com.google.cloud.domains.v1beta1.RegisterParameters.Builder, + com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder> getRegisterParametersFieldBuilder() { if (registerParametersBuilder_ == null) { - registerParametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.domains.v1beta1.RegisterParameters, com.google.cloud.domains.v1beta1.RegisterParameters.Builder, com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder>( + registerParametersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.domains.v1beta1.RegisterParameters, + com.google.cloud.domains.v1beta1.RegisterParameters.Builder, + com.google.cloud.domains.v1beta1.RegisterParametersOrBuilder>( registerParameters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -817,9 +937,9 @@ public com.google.cloud.domains.v1beta1.RegisterParameters.Builder addRegisterPa } return registerParametersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +949,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.SearchDomainsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.SearchDomainsResponse) private static final com.google.cloud.domains.v1beta1.SearchDomainsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.SearchDomainsResponse(); } @@ -843,16 +963,16 @@ public static com.google.cloud.domains.v1beta1.SearchDomainsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchDomainsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchDomainsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchDomainsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchDomainsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +987,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.SearchDomainsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java index d152eb33..bfcbd407 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/SearchDomainsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface SearchDomainsResponseOrBuilder extends +public interface SearchDomainsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.SearchDomainsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Results of the domain name search.
    * 
* * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - java.util.List - getRegisterParametersList(); + java.util.List getRegisterParametersList(); /** + * + * *
    * Results of the domain name search.
    * 
@@ -25,6 +44,8 @@ public interface SearchDomainsResponseOrBuilder extends */ com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters(int index); /** + * + * *
    * Results of the domain name search.
    * 
@@ -33,15 +54,19 @@ public interface SearchDomainsResponseOrBuilder extends */ int getRegisterParametersCount(); /** + * + * *
    * Results of the domain name search.
    * 
* * repeated .google.cloud.domains.v1beta1.RegisterParameters register_parameters = 1; */ - java.util.List + java.util.List getRegisterParametersOrBuilderList(); /** + * + * *
    * Results of the domain name search.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java similarity index 74% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java index 236c0b05..7860562f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `TransferDomain` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.TransferDomainRequest} */ -public final class TransferDomainRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferDomainRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.TransferDomainRequest) TransferDomainRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferDomainRequest.newBuilder() to construct. private TransferDomainRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferDomainRequest() { parent_ = ""; contactNotices_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private TransferDomainRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferDomainRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferDomainRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,86 +72,97 @@ private TransferDomainRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = input.readMessage(com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = + input.readMessage( + com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contactNotices_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - contactNotices_.add(rawValue); - break; - } - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 24: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } contactNotices_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 34: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contactNotices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + contactNotices_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 34: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } + + break; } + case 42: + { + com.google.cloud.domains.v1beta1.AuthorizationCode.Builder subBuilder = null; + if (authorizationCode_ != null) { + subBuilder = authorizationCode_.toBuilder(); + } + authorizationCode_ = + input.readMessage( + com.google.cloud.domains.v1beta1.AuthorizationCode.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authorizationCode_); + authorizationCode_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.cloud.domains.v1beta1.AuthorizationCode.Builder subBuilder = null; - if (authorizationCode_ != null) { - subBuilder = authorizationCode_.toBuilder(); + break; } - authorizationCode_ = input.readMessage(com.google.cloud.domains.v1beta1.AuthorizationCode.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authorizationCode_); - authorizationCode_ = subBuilder.buildPartial(); + case 48: + { + validateOnly_ = input.readBool(); + break; } - - break; - } - case 48: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,8 +170,7 @@ private TransferDomainRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contactNotices_ = java.util.Collections.unmodifiableList(contactNotices_); @@ -152,28 +179,36 @@ private TransferDomainRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.TransferDomainRequest.class, com.google.cloud.domains.v1beta1.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1beta1.TransferDomainRequest.class, + com.google.cloud.domains.v1beta1.TransferDomainRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 @@ -182,30 +217,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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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 { @@ -216,6 +253,8 @@ public java.lang.String getParent() { public static final int REGISTRATION_FIELD_NUMBER = 2; private com.google.cloud.domains.v1beta1.Registration registration_; /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -225,7 +264,10 @@ public java.lang.String getParent() {
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ @java.lang.Override @@ -233,6 +275,8 @@ public boolean hasRegistration() { return registration_ != null; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -242,14 +286,21 @@ public boolean hasRegistration() {
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1beta1.Registration getRegistration() { - return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() + : registration_; } /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -259,7 +310,9 @@ public com.google.cloud.domains.v1beta1.Registration getRegistration() {
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder() { @@ -269,16 +322,22 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB public static final int CONTACT_NOTICES_FIELD_NUMBER = 3; private java.util.List contactNotices_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> contactNotices_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice> + contactNotices_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>() { public com.google.cloud.domains.v1beta1.ContactNotice convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactNotice result = com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); - return result == null ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.ContactNotice result = + com.google.cloud.domains.v1beta1.ContactNotice.valueOf(from); + return result == null + ? com.google.cloud.domains.v1beta1.ContactNotice.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -286,14 +345,18 @@ public com.google.cloud.domains.v1beta1.ContactNotice convert(java.lang.Integer
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @return A list containing the contactNotices. */ @java.lang.Override public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -301,6 +364,7 @@ public java.util.List getContact
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @return The count of contactNotices. */ @java.lang.Override @@ -308,6 +372,8 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -315,6 +381,7 @@ public int getContactNoticesCount() {
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -323,6 +390,8 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -330,14 +399,16 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ @java.lang.Override - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return contactNotices_; } /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -345,6 +416,7 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -352,11 +424,14 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde public int getContactNoticesValue(int index) { return contactNotices_.get(index); } + private int contactNoticesMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 4; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -364,6 +439,7 @@ public int getContactNoticesValue(int index) {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -371,6 +447,8 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -378,6 +456,7 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ @java.lang.Override @@ -385,6 +464,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -401,12 +482,15 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 5;
   private com.google.cloud.domains.v1beta1.AuthorizationCode authorizationCode_;
   /**
+   *
+   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; + * * @return Whether the authorizationCode field is set. */ @java.lang.Override @@ -414,19 +498,26 @@ public boolean hasAuthorizationCode() { return authorizationCode_ != null; } /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; + * * @return The authorizationCode. */ @java.lang.Override public com.google.cloud.domains.v1beta1.AuthorizationCode getAuthorizationCode() { - return authorizationCode_ == null ? com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance() : authorizationCode_; + return authorizationCode_ == null + ? com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance() + : authorizationCode_; } /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -435,18 +526,22 @@ public com.google.cloud.domains.v1beta1.AuthorizationCode getAuthorizationCode()
    * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5;
    */
   @java.lang.Override
-  public com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder() {
+  public com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder
+      getAuthorizationCodeOrBuilder() {
     return getAuthorizationCode();
   }
 
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
+   *
+   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -455,6 +550,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,8 +562,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -504,32 +599,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRegistration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRegistration()); } { int dataSize = 0; for (int i = 0; i < contactNotices_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(contactNotices_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(contactNotices_.get(i)); } size += dataSize; - if (!getContactNoticesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }contactNoticesMemoizedSerializedSize = dataSize; + if (!getContactNoticesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + contactNoticesMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getYearlyPrice()); } if (authorizationCode_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAuthorizationCode()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAuthorizationCode()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -539,33 +631,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.domains.v1beta1.TransferDomainRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.TransferDomainRequest other = (com.google.cloud.domains.v1beta1.TransferDomainRequest) obj; + com.google.cloud.domains.v1beta1.TransferDomainRequest other = + (com.google.cloud.domains.v1beta1.TransferDomainRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; } if (!contactNotices_.equals(other.contactNotices_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } if (hasAuthorizationCode() != other.hasAuthorizationCode()) return false; if (hasAuthorizationCode()) { - if (!getAuthorizationCode() - .equals(other.getAuthorizationCode())) return false; + if (!getAuthorizationCode().equals(other.getAuthorizationCode())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -596,125 +684,134 @@ public int hashCode() { hash = (53 * hash) + getAuthorizationCode().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.TransferDomainRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.TransferDomainRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.TransferDomainRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `TransferDomain` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.TransferDomainRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.TransferDomainRequest) com.google.cloud.domains.v1beta1.TransferDomainRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.TransferDomainRequest.class, com.google.cloud.domains.v1beta1.TransferDomainRequest.Builder.class); + com.google.cloud.domains.v1beta1.TransferDomainRequest.class, + com.google.cloud.domains.v1beta1.TransferDomainRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.TransferDomainRequest.newBuilder() @@ -722,16 +819,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -763,9 +859,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_TransferDomainRequest_descriptor; } @java.lang.Override @@ -784,7 +880,8 @@ public com.google.cloud.domains.v1beta1.TransferDomainRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.TransferDomainRequest buildPartial() { - com.google.cloud.domains.v1beta1.TransferDomainRequest result = new com.google.cloud.domains.v1beta1.TransferDomainRequest(this); + com.google.cloud.domains.v1beta1.TransferDomainRequest result = + new com.google.cloud.domains.v1beta1.TransferDomainRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (registrationBuilder_ == null) { @@ -816,38 +913,39 @@ public com.google.cloud.domains.v1beta1.TransferDomainRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.TransferDomainRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.TransferDomainRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.TransferDomainRequest) other); } else { super.mergeFrom(other); return this; @@ -855,7 +953,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.TransferDomainRequest other) { - if (other == com.google.cloud.domains.v1beta1.TransferDomainRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.TransferDomainRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -901,7 +1000,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.TransferDomainRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.TransferDomainRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -910,23 +1010,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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; @@ -935,21 +1040,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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 { @@ -957,57 +1065,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the `Registration`. Must be in the
      * format `projects/*/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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1015,8 +1136,13 @@ public Builder setParentBytes( private com.google.cloud.domains.v1beta1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> registrationBuilder_; + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + registrationBuilder_; /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1026,13 +1152,18 @@ public Builder setParentBytes(
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1042,17 +1173,24 @@ public boolean hasRegistration() {
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ public com.google.cloud.domains.v1beta1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() + : registration_; } else { return registrationBuilder_.getMessage(); } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1062,7 +1200,9 @@ public com.google.cloud.domains.v1beta1.Registration getRegistration() {
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration value) { if (registrationBuilder_ == null) { @@ -1078,6 +1218,8 @@ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration val return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1087,7 +1229,9 @@ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration val
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRegistration( com.google.cloud.domains.v1beta1.Registration.Builder builderForValue) { @@ -1101,6 +1245,8 @@ public Builder setRegistration( return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1110,13 +1256,17 @@ public Builder setRegistration(
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration value) { if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_) + .mergeFrom(value) + .buildPartial(); } else { registration_ = value; } @@ -1128,6 +1278,8 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1137,7 +1289,9 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRegistration() { if (registrationBuilder_ == null) { @@ -1151,6 +1305,8 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1160,14 +1316,18 @@ public Builder clearRegistration() {
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1177,17 +1337,22 @@ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationBuil
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder() { if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null ? - com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() + : registration_; } } /** + * + * *
      * Required. The complete `Registration` resource to be created.
      * You can leave `registration.dns_settings` unset to import the
@@ -1197,24 +1362,29 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB
      * provided for free by the registrar.
      * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( - getRegistration(), - getParentForChildren(), - isClean()); + registrationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( + getRegistration(), getParentForChildren(), isClean()); registration_ = null; } return registrationBuilder_; } - private java.util.List contactNotices_ = - java.util.Collections.emptyList(); + private java.util.List contactNotices_ = java.util.Collections.emptyList(); + private void ensureContactNoticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { contactNotices_ = new java.util.ArrayList(contactNotices_); @@ -1222,6 +1392,8 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1229,13 +1401,17 @@ private void ensureContactNoticesIsMutable() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @return A list containing the contactNotices. */ public java.util.List getContactNoticesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>(contactNotices_, contactNotices_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactNotice>( + contactNotices_, contactNotices_converter_); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1243,12 +1419,15 @@ public java.util.List getContact
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @return The count of contactNotices. */ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1256,6 +1435,7 @@ public int getContactNoticesCount() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ @@ -1263,6 +1443,8 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde return contactNotices_converter_.convert(contactNotices_.get(index)); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1270,6 +1452,7 @@ public com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int inde
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param index The index to set the value at. * @param value The contactNotices to set. * @return This builder for chaining. @@ -1285,6 +1468,8 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1292,6 +1477,7 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1305,6 +1491,8 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1312,6 +1500,7 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param values The contactNotices to add. * @return This builder for chaining. */ @@ -1325,6 +1514,8 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1332,6 +1523,7 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1341,6 +1533,8 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1348,13 +1542,15 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - public java.util.List - getContactNoticesValueList() { + public java.util.List getContactNoticesValueList() { return java.util.Collections.unmodifiableList(contactNotices_); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1362,6 +1558,7 @@ public Builder clearContactNotices() {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ @@ -1369,6 +1566,8 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1376,18 +1575,20 @@ public int getContactNoticesValue(int index) {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. * @return This builder for chaining. */ - public Builder setContactNoticesValue( - int index, int value) { + public Builder setContactNoticesValue(int index, int value) { ensureContactNoticesIsMutable(); contactNotices_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1395,6 +1596,7 @@ public Builder setContactNoticesValue(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param value The enum numeric value on the wire for contactNotices to add. * @return This builder for chaining. */ @@ -1405,6 +1607,8 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that you acknowledge. The notices
      * needed here depend on the values specified in
@@ -1412,11 +1616,11 @@ public Builder addContactNoticesValue(int value) {
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param values The enum numeric values on the wire for contactNotices to add. * @return This builder for chaining. */ - public Builder addAllContactNoticesValue( - java.lang.Iterable values) { + public Builder addAllContactNoticesValue(java.lang.Iterable values) { ensureContactNoticesIsMutable(); for (int value : values) { contactNotices_.add(value); @@ -1427,8 +1631,11 @@ public Builder addAllContactNoticesValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1436,12 +1643,15 @@ public Builder addAllContactNoticesValue(
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1449,6 +1659,7 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1459,6 +1670,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1481,6 +1694,8 @@ public Builder setYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1489,8 +1704,7 @@ public Builder setYearlyPrice(com.google.type.Money value) {
      *
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setYearlyPrice(
-        com.google.type.Money.Builder builderForValue) {
+    public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) {
       if (yearlyPriceBuilder_ == null) {
         yearlyPrice_ = builderForValue.build();
         onChanged();
@@ -1501,6 +1715,8 @@ public Builder setYearlyPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1513,7 +1729,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       if (yearlyPriceBuilder_ == null) {
         if (yearlyPrice_ != null) {
           yearlyPrice_ =
-            com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial();
         } else {
           yearlyPrice_ = value;
         }
@@ -1525,6 +1741,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1545,6 +1763,8 @@ public Builder clearYearlyPrice() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1554,11 +1774,13 @@ public Builder clearYearlyPrice() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.type.Money.Builder getYearlyPriceBuilder() {
-      
+
       onChanged();
       return getYearlyPriceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1571,11 +1793,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
       if (yearlyPriceBuilder_ != null) {
         return yearlyPriceBuilder_.getMessageOrBuilder();
       } else {
-        return yearlyPrice_ == null ?
-            com.google.type.Money.getDefaultInstance() : yearlyPrice_;
+        return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. Acknowledgement of the price to transfer or renew the domain for one year.
      * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -1585,14 +1808,15 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
         getYearlyPriceFieldBuilder() {
       if (yearlyPriceBuilder_ == null) {
-        yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                getYearlyPrice(),
-                getParentForChildren(),
-                isClean());
+        yearlyPriceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Money,
+                com.google.type.Money.Builder,
+                com.google.type.MoneyOrBuilder>(
+                getYearlyPrice(), getParentForChildren(), isClean());
         yearlyPrice_ = null;
       }
       return yearlyPriceBuilder_;
@@ -1600,36 +1824,49 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
 
     private com.google.cloud.domains.v1beta1.AuthorizationCode authorizationCode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1beta1.AuthorizationCode, com.google.cloud.domains.v1beta1.AuthorizationCode.Builder, com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder> authorizationCodeBuilder_;
+            com.google.cloud.domains.v1beta1.AuthorizationCode,
+            com.google.cloud.domains.v1beta1.AuthorizationCode.Builder,
+            com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder>
+        authorizationCodeBuilder_;
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; + * * @return Whether the authorizationCode field is set. */ public boolean hasAuthorizationCode() { return authorizationCodeBuilder_ != null || authorizationCode_ != null; } /** + * + * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
      * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; + * * @return The authorizationCode. */ public com.google.cloud.domains.v1beta1.AuthorizationCode getAuthorizationCode() { if (authorizationCodeBuilder_ == null) { - return authorizationCode_ == null ? com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance() : authorizationCode_; + return authorizationCode_ == null + ? com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance() + : authorizationCode_; } else { return authorizationCodeBuilder_.getMessage(); } } /** + * + * *
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1651,6 +1888,8 @@ public Builder setAuthorizationCode(com.google.cloud.domains.v1beta1.Authorizati
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1670,6 +1909,8 @@ public Builder setAuthorizationCode(
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1677,11 +1918,14 @@ public Builder setAuthorizationCode(
      *
      * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5;
      */
-    public Builder mergeAuthorizationCode(com.google.cloud.domains.v1beta1.AuthorizationCode value) {
+    public Builder mergeAuthorizationCode(
+        com.google.cloud.domains.v1beta1.AuthorizationCode value) {
       if (authorizationCodeBuilder_ == null) {
         if (authorizationCode_ != null) {
           authorizationCode_ =
-            com.google.cloud.domains.v1beta1.AuthorizationCode.newBuilder(authorizationCode_).mergeFrom(value).buildPartial();
+              com.google.cloud.domains.v1beta1.AuthorizationCode.newBuilder(authorizationCode_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationCode_ = value;
         }
@@ -1693,6 +1937,8 @@ public Builder mergeAuthorizationCode(com.google.cloud.domains.v1beta1.Authoriza
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1712,6 +1958,8 @@ public Builder clearAuthorizationCode() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1719,12 +1967,15 @@ public Builder clearAuthorizationCode() {
      *
      * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5;
      */
-    public com.google.cloud.domains.v1beta1.AuthorizationCode.Builder getAuthorizationCodeBuilder() {
-      
+    public com.google.cloud.domains.v1beta1.AuthorizationCode.Builder
+        getAuthorizationCodeBuilder() {
+
       onChanged();
       return getAuthorizationCodeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1732,15 +1983,19 @@ public com.google.cloud.domains.v1beta1.AuthorizationCode.Builder getAuthorizati
      *
      * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5;
      */
-    public com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder() {
+    public com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder
+        getAuthorizationCodeOrBuilder() {
       if (authorizationCodeBuilder_ != null) {
         return authorizationCodeBuilder_.getMessageOrBuilder();
       } else {
-        return authorizationCode_ == null ?
-            com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance() : authorizationCode_;
+        return authorizationCode_ == null
+            ? com.google.cloud.domains.v1beta1.AuthorizationCode.getDefaultInstance()
+            : authorizationCode_;
       }
     }
     /**
+     *
+     *
      * 
      * The domain's transfer authorization code. You can obtain this from the
      * domain's current registrar.
@@ -1749,26 +2004,32 @@ public com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder getAuthorizat
      * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.domains.v1beta1.AuthorizationCode, com.google.cloud.domains.v1beta1.AuthorizationCode.Builder, com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder> 
+            com.google.cloud.domains.v1beta1.AuthorizationCode,
+            com.google.cloud.domains.v1beta1.AuthorizationCode.Builder,
+            com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder>
         getAuthorizationCodeFieldBuilder() {
       if (authorizationCodeBuilder_ == null) {
-        authorizationCodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.domains.v1beta1.AuthorizationCode, com.google.cloud.domains.v1beta1.AuthorizationCode.Builder, com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder>(
-                getAuthorizationCode(),
-                getParentForChildren(),
-                isClean());
+        authorizationCodeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.domains.v1beta1.AuthorizationCode,
+                com.google.cloud.domains.v1beta1.AuthorizationCode.Builder,
+                com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder>(
+                getAuthorizationCode(), getParentForChildren(), isClean());
         authorizationCode_ = null;
       }
       return authorizationCodeBuilder_;
     }
 
-    private boolean validateOnly_ ;
+    private boolean validateOnly_;
     /**
+     *
+     *
      * 
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -1776,37 +2037,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * Validate the request without actually transferring the domain.
      * 
* * bool validate_only = 6; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1816,12 +2083,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.TransferDomainRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.TransferDomainRequest) private static final com.google.cloud.domains.v1beta1.TransferDomainRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.TransferDomainRequest(); } @@ -1830,16 +2097,16 @@ public static com.google.cloud.domains.v1beta1.TransferDomainRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferDomainRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferDomainRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferDomainRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferDomainRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1854,6 +2121,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.TransferDomainRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java index b9e8a343..665ab5af 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferDomainRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface TransferDomainRequestOrBuilder extends +public interface TransferDomainRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.TransferDomainRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the `Registration`. Must be in the
    * format `projects/*/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 parent resource of the `Registration`. Must be in the
    * format `projects/*/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(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -39,11 +66,16 @@ public interface TransferDomainRequestOrBuilder extends
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the registration field is set. */ boolean hasRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -53,11 +85,16 @@ public interface TransferDomainRequestOrBuilder extends
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The registration. */ com.google.cloud.domains.v1beta1.Registration getRegistration(); /** + * + * *
    * Required. The complete `Registration` resource to be created.
    * You can leave `registration.dns_settings` unset to import the
@@ -67,11 +104,15 @@ public interface TransferDomainRequestOrBuilder extends
    * provided for free by the registrar.
    * 
* - * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.domains.v1beta1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -79,10 +120,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @return A list containing the contactNotices. */ java.util.List getContactNoticesList(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -90,10 +134,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @return The count of contactNotices. */ int getContactNoticesCount(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -101,11 +148,14 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param index The index of the element to return. * @return The contactNotices at the given index. */ com.google.cloud.domains.v1beta1.ContactNotice getContactNotices(int index); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -113,11 +163,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @return A list containing the enum numeric values on the wire for contactNotices. */ - java.util.List - getContactNoticesValueList(); + java.util.List getContactNoticesValueList(); /** + * + * *
    * The list of contact notices that you acknowledge. The notices
    * needed here depend on the values specified in
@@ -125,12 +177,15 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of contactNotices at the given index. */ int getContactNoticesValue(int index); /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -138,10 +193,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -149,10 +207,13 @@ public interface TransferDomainRequestOrBuilder extends
    * 
* * .google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Required. Acknowledgement of the price to transfer or renew the domain for one year.
    * Call `RetrieveTransferParameters` to obtain the price, which you must
@@ -164,26 +225,34 @@ public interface TransferDomainRequestOrBuilder extends
   com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder();
 
   /**
+   *
+   *
    * 
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; + * * @return Whether the authorizationCode field is set. */ boolean hasAuthorizationCode(); /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
    * 
* * .google.cloud.domains.v1beta1.AuthorizationCode authorization_code = 5; + * * @return The authorizationCode. */ com.google.cloud.domains.v1beta1.AuthorizationCode getAuthorizationCode(); /** + * + * *
    * The domain's transfer authorization code. You can obtain this from the
    * domain's current registrar.
@@ -194,11 +263,14 @@ public interface TransferDomainRequestOrBuilder extends
   com.google.cloud.domains.v1beta1.AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Validate the request without actually transferring the domain.
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java index e25d445f..5f754167 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferLockState.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Possible states of a `Registration`'s transfer lock.
  * 
* * Protobuf enum {@code google.cloud.domains.v1beta1.TransferLockState} */ -public enum TransferLockState - implements com.google.protobuf.ProtocolMessageEnum { +public enum TransferLockState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The state is unspecified.
    * 
@@ -21,6 +39,8 @@ public enum TransferLockState */ TRANSFER_LOCK_STATE_UNSPECIFIED(0), /** + * + * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -29,6 +49,8 @@ public enum TransferLockState */ UNLOCKED(1), /** + * + * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -40,6 +62,8 @@ public enum TransferLockState ; /** + * + * *
    * The state is unspecified.
    * 
@@ -48,6 +72,8 @@ public enum TransferLockState */ public static final int TRANSFER_LOCK_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The domain is unlocked and can be transferred to another registrar.
    * 
@@ -56,6 +82,8 @@ public enum TransferLockState */ public static final int UNLOCKED_VALUE = 1; /** + * + * *
    * The domain is locked and cannot be transferred to another registrar.
    * 
@@ -64,7 +92,6 @@ public enum TransferLockState */ public static final int LOCKED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,39 +116,42 @@ public static TransferLockState valueOf(int value) { */ public static TransferLockState forNumber(int value) { switch (value) { - case 0: return TRANSFER_LOCK_STATE_UNSPECIFIED; - case 1: return UNLOCKED; - case 2: return LOCKED; - default: return null; + case 0: + return TRANSFER_LOCK_STATE_UNSPECIFIED; + case 1: + return UNLOCKED; + case 2: + return LOCKED; + 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< - TransferLockState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransferLockState findValueByNumber(int number) { - return TransferLockState.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 TransferLockState findValueByNumber(int number) { + return TransferLockState.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.domains.v1beta1.DomainsProto.getDescriptor().getEnumTypes().get(3); } @@ -130,8 +160,7 @@ public TransferLockState findValueByNumber(int number) { public static TransferLockState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -147,4 +176,3 @@ private TransferLockState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.domains.v1beta1.TransferLockState) } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java similarity index 75% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java index 7b9a8a3d..303f44e6 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParameters.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Parameters required to transfer a domain from another registrar.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.TransferParameters} */ -public final class TransferParameters extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferParameters extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.TransferParameters) TransferParametersOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferParameters.newBuilder() to construct. private TransferParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferParameters() { domainName_ = ""; currentRegistrar_ = ""; @@ -29,16 +47,15 @@ private TransferParameters() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferParameters(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransferParameters( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,76 +75,83 @@ private TransferParameters( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domainName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + domainName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - currentRegistrar_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nameServers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + currentRegistrar_ = s; + break; } - nameServers_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nameServers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + nameServers_.add(s); + break; + } + case 32: + { + int rawValue = input.readEnum(); - transferLockState_ = rawValue; - break; - } - case 40: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - supportedPrivacy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + transferLockState_ = rawValue; + break; } - supportedPrivacy_.add(rawValue); - break; - } - case 42: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 40: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } supportedPrivacy_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 50: { - com.google.type.Money.Builder subBuilder = null; - if (yearlyPrice_ != null) { - subBuilder = yearlyPrice_.toBuilder(); - } - yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(yearlyPrice_); - yearlyPrice_ = subBuilder.buildPartial(); + case 42: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + supportedPrivacy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + supportedPrivacy_.add(rawValue); + } + input.popLimit(oldLimit); + break; } + case 50: + { + com.google.type.Money.Builder subBuilder = null; + if (yearlyPrice_ != null) { + subBuilder = yearlyPrice_.toBuilder(); + } + yearlyPrice_ = input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yearlyPrice_); + yearlyPrice_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -135,8 +159,7 @@ private TransferParameters( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nameServers_ = nameServers_.getUnmodifiableView(); @@ -148,27 +171,33 @@ private TransferParameters( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.TransferParameters.class, com.google.cloud.domains.v1beta1.TransferParameters.Builder.class); + com.google.cloud.domains.v1beta1.TransferParameters.class, + com.google.cloud.domains.v1beta1.TransferParameters.Builder.class); } public static final int DOMAIN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object domainName_; /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ @java.lang.Override @@ -177,29 +206,29 @@ public java.lang.String getDomainName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; } } /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -210,11 +239,14 @@ public java.lang.String getDomainName() { public static final int CURRENT_REGISTRAR_FIELD_NUMBER = 2; private volatile java.lang.Object currentRegistrar_; /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The currentRegistrar. */ @java.lang.Override @@ -223,29 +255,29 @@ public java.lang.String getCurrentRegistrar() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; } } /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The bytes for currentRegistrar. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -256,34 +288,42 @@ public java.lang.String getCurrentRegistrar() { public static final int NAME_SERVERS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList nameServers_; /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_; } /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -291,22 +331,26 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER = 4; private int transferLockState_; /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -314,12 +358,16 @@ public java.lang.String getNameServers(int index) {
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -327,45 +375,61 @@ public java.lang.String getNameServers(int index) {
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ - @java.lang.Override public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { + @java.lang.Override + public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.TransferLockState result = com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); - return result == null ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.TransferLockState result = + com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); + return result == null + ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED + : result; } public static final int SUPPORTED_PRIVACY_FIELD_NUMBER = 5; private java.util.List supportedPrivacy_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> supportedPrivacy_converter_ = + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy> + supportedPrivacy_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>() { public com.google.cloud.domains.v1beta1.ContactPrivacy convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.ContactPrivacy result = com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); - return result == null ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.ContactPrivacy result = + com.google.cloud.domains.v1beta1.ContactPrivacy.valueOf(from); + return result == null + ? com.google.cloud.domains.v1beta1.ContactPrivacy.UNRECOGNIZED + : result; } }; /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the supportedPrivacy. */ @java.lang.Override public java.util.List getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @return The count of supportedPrivacy. */ @java.lang.Override @@ -373,11 +437,14 @@ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -386,24 +453,29 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ @java.lang.Override - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return supportedPrivacy_; } /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -411,16 +483,20 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } + private int supportedPrivacyMemoizedSerializedSize; public static final int YEARLY_PRICE_FIELD_NUMBER = 6; private com.google.type.Money yearlyPrice_; /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return Whether the yearlyPrice field is set. */ @java.lang.Override @@ -428,11 +504,14 @@ public boolean hasYearlyPrice() { return yearlyPrice_ != null; } /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return The yearlyPrice. */ @java.lang.Override @@ -440,6 +519,8 @@ public com.google.type.Money getYearlyPrice() { return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
@@ -452,6 +533,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -463,8 +545,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(domainName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); @@ -475,7 +556,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < nameServers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nameServers_.getRaw(i)); } - if (transferLockState_ != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { + if (transferLockState_ + != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, transferLockState_); } if (getSupportedPrivacyList().size() > 0) { @@ -511,25 +594,26 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNameServersList().size(); } - if (transferLockState_ != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, transferLockState_); + if (transferLockState_ + != com.google.cloud.domains.v1beta1.TransferLockState.TRANSFER_LOCK_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, transferLockState_); } { int dataSize = 0; for (int i = 0; i < supportedPrivacy_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedPrivacy_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedPrivacy_.get(i)); } size += dataSize; - if (!getSupportedPrivacyList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedPrivacyMemoizedSerializedSize = dataSize; + if (!getSupportedPrivacyList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedPrivacyMemoizedSerializedSize = dataSize; } if (yearlyPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getYearlyPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getYearlyPrice()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -539,25 +623,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.domains.v1beta1.TransferParameters)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.TransferParameters other = (com.google.cloud.domains.v1beta1.TransferParameters) obj; + com.google.cloud.domains.v1beta1.TransferParameters other = + (com.google.cloud.domains.v1beta1.TransferParameters) obj; - if (!getDomainName() - .equals(other.getDomainName())) return false; - if (!getCurrentRegistrar() - .equals(other.getCurrentRegistrar())) return false; - if (!getNameServersList() - .equals(other.getNameServersList())) return false; + if (!getDomainName().equals(other.getDomainName())) return false; + if (!getCurrentRegistrar().equals(other.getCurrentRegistrar())) return false; + if (!getNameServersList().equals(other.getNameServersList())) return false; if (transferLockState_ != other.transferLockState_) return false; if (!supportedPrivacy_.equals(other.supportedPrivacy_)) return false; if (hasYearlyPrice() != other.hasYearlyPrice()) return false; if (hasYearlyPrice()) { - if (!getYearlyPrice() - .equals(other.getYearlyPrice())) return false; + if (!getYearlyPrice().equals(other.getYearlyPrice())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -594,117 +675,126 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.TransferParameters parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.TransferParameters parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.TransferParameters parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.TransferParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.domains.v1beta1.TransferParameters prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters required to transfer a domain from another registrar.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.TransferParameters} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.TransferParameters) com.google.cloud.domains.v1beta1.TransferParametersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_TransferParameters_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.TransferParameters.class, com.google.cloud.domains.v1beta1.TransferParameters.Builder.class); + com.google.cloud.domains.v1beta1.TransferParameters.class, + com.google.cloud.domains.v1beta1.TransferParameters.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.TransferParameters.newBuilder() @@ -712,16 +802,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -745,9 +834,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_TransferParameters_descriptor; } @java.lang.Override @@ -766,7 +855,8 @@ public com.google.cloud.domains.v1beta1.TransferParameters build() { @java.lang.Override public com.google.cloud.domains.v1beta1.TransferParameters buildPartial() { - com.google.cloud.domains.v1beta1.TransferParameters result = new com.google.cloud.domains.v1beta1.TransferParameters(this); + com.google.cloud.domains.v1beta1.TransferParameters result = + new com.google.cloud.domains.v1beta1.TransferParameters(this); int from_bitField0_ = bitField0_; result.domainName_ = domainName_; result.currentRegistrar_ = currentRegistrar_; @@ -794,38 +884,39 @@ public com.google.cloud.domains.v1beta1.TransferParameters buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.TransferParameters) { - return mergeFrom((com.google.cloud.domains.v1beta1.TransferParameters)other); + return mergeFrom((com.google.cloud.domains.v1beta1.TransferParameters) other); } else { super.mergeFrom(other); return this; @@ -833,7 +924,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.TransferParameters other) { - if (other == com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.TransferParameters.getDefaultInstance()) + return this; if (!other.getDomainName().isEmpty()) { domainName_ = other.domainName_; onChanged(); @@ -887,7 +979,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.TransferParameters) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.TransferParameters) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -896,22 +989,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object domainName_ = ""; /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The domainName. */ public java.lang.String getDomainName() { java.lang.Object ref = domainName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domainName_ = s; return s; @@ -920,20 +1016,21 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - public com.google.protobuf.ByteString - getDomainNameBytes() { + public com.google.protobuf.ByteString getDomainNameBytes() { java.lang.Object ref = domainName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domainName_ = b; return b; } else { @@ -941,54 +1038,61 @@ public java.lang.String getDomainName() { } } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The domainName to set. * @return This builder for chaining. */ - public Builder setDomainName( - java.lang.String value) { + public Builder setDomainName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domainName_ = value; onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @return This builder for chaining. */ public Builder clearDomainName() { - + domainName_ = getDefaultInstance().getDomainName(); onChanged(); return this; } /** + * + * *
      * The domain name. Unicode domain names are expressed in Punycode format.
      * 
* * string domain_name = 1; + * * @param value The bytes for domainName to set. * @return This builder for chaining. */ - public Builder setDomainNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domainName_ = value; onChanged(); return this; @@ -996,18 +1100,20 @@ public Builder setDomainNameBytes( private java.lang.Object currentRegistrar_ = ""; /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @return The currentRegistrar. */ public java.lang.String getCurrentRegistrar() { java.lang.Object ref = currentRegistrar_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentRegistrar_ = s; return s; @@ -1016,20 +1122,21 @@ public java.lang.String getCurrentRegistrar() { } } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @return The bytes for currentRegistrar. */ - public com.google.protobuf.ByteString - getCurrentRegistrarBytes() { + public com.google.protobuf.ByteString getCurrentRegistrarBytes() { java.lang.Object ref = currentRegistrar_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentRegistrar_ = b; return b; } else { @@ -1037,95 +1144,112 @@ public java.lang.String getCurrentRegistrar() { } } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @param value The currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrar( - java.lang.String value) { + public Builder setCurrentRegistrar(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentRegistrar_ = value; onChanged(); return this; } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @return This builder for chaining. */ public Builder clearCurrentRegistrar() { - + currentRegistrar_ = getDefaultInstance().getCurrentRegistrar(); onChanged(); return this; } /** + * + * *
      * The registrar that currently manages the domain.
      * 
* * string current_registrar = 2; + * * @param value The bytes for currentRegistrar to set. * @return This builder for chaining. */ - public Builder setCurrentRegistrarBytes( - com.google.protobuf.ByteString value) { + public Builder setCurrentRegistrarBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentRegistrar_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList nameServers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList nameServers_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNameServersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameServers_ = new com.google.protobuf.LazyStringArrayList(nameServers_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @return A list containing the nameServers. */ - public com.google.protobuf.ProtocolStringList - getNameServersList() { + public com.google.protobuf.ProtocolStringList getNameServersList() { return nameServers_.getUnmodifiableView(); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @return The count of nameServers. */ public int getNameServersCount() { return nameServers_.size(); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ @@ -1133,80 +1257,90 @@ public java.lang.String getNameServers(int index) { return nameServers_.get(index); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - public com.google.protobuf.ByteString - getNameServersBytes(int index) { + public com.google.protobuf.ByteString getNameServersBytes(int index) { return nameServers_.getByteString(index); } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param index The index to set the value at. * @param value The nameServers to set. * @return This builder for chaining. */ - public Builder setNameServers( - int index, java.lang.String value) { + public Builder setNameServers(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.set(index, value); onChanged(); return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param value The nameServers to add. * @return This builder for chaining. */ - public Builder addNameServers( - java.lang.String value) { + public Builder addNameServers(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNameServersIsMutable(); + throw new NullPointerException(); + } + ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param values The nameServers to add. * @return This builder for chaining. */ - public Builder addAllNameServers( - java.lang.Iterable values) { + public Builder addAllNameServers(java.lang.Iterable values) { ensureNameServersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nameServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nameServers_); onChanged(); return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1216,20 +1350,22 @@ public Builder clearNameServers() { return this; } /** + * + * *
      * The name servers that currently store the configuration of the domain.
      * 
* * repeated string name_servers = 3; + * * @param value The bytes of the nameServers to add. * @return This builder for chaining. */ - public Builder addNameServersBytes( - com.google.protobuf.ByteString value) { + public Builder addNameServersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNameServersIsMutable(); nameServers_.add(value); onChanged(); @@ -1238,6 +1374,8 @@ public Builder addNameServersBytes( private int transferLockState_ = 0; /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1245,12 +1383,16 @@ public Builder addNameServersBytes(
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ - @java.lang.Override public int getTransferLockStateValue() { + @java.lang.Override + public int getTransferLockStateValue() { return transferLockState_; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1258,16 +1400,19 @@ public Builder addNameServersBytes(
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @param value The enum numeric value on the wire for transferLockState to set. * @return This builder for chaining. */ public Builder setTransferLockStateValue(int value) { - + transferLockState_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1275,15 +1420,21 @@ public Builder setTransferLockStateValue(int value) {
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ @java.lang.Override public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState() { @SuppressWarnings("deprecation") - com.google.cloud.domains.v1beta1.TransferLockState result = com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); - return result == null ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED : result; + com.google.cloud.domains.v1beta1.TransferLockState result = + com.google.cloud.domains.v1beta1.TransferLockState.valueOf(transferLockState_); + return result == null + ? com.google.cloud.domains.v1beta1.TransferLockState.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1291,6 +1442,7 @@ public com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState()
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @param value The transferLockState to set. * @return This builder for chaining. */ @@ -1298,12 +1450,14 @@ public Builder setTransferLockState(com.google.cloud.domains.v1beta1.TransferLoc if (value == null) { throw new NullPointerException(); } - + transferLockState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether the domain is protected by a transfer lock. For a
      * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -1311,17 +1465,18 @@ public Builder setTransferLockState(com.google.cloud.domains.v1beta1.TransferLoc
      * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return This builder for chaining. */ public Builder clearTransferLockState() { - + transferLockState_ = 0; onChanged(); return this; } - private java.util.List supportedPrivacy_ = - java.util.Collections.emptyList(); + private java.util.List supportedPrivacy_ = java.util.Collections.emptyList(); + private void ensureSupportedPrivacyIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { supportedPrivacy_ = new java.util.ArrayList(supportedPrivacy_); @@ -1329,34 +1484,45 @@ private void ensureSupportedPrivacyIsMutable() { } } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the supportedPrivacy. */ - public java.util.List getSupportedPrivacyList() { + public java.util.List + getSupportedPrivacyList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>(supportedPrivacy_, supportedPrivacy_converter_); + java.lang.Integer, com.google.cloud.domains.v1beta1.ContactPrivacy>( + supportedPrivacy_, supportedPrivacy_converter_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @return The count of supportedPrivacy. */ public int getSupportedPrivacyCount() { return supportedPrivacy_.size(); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ @@ -1364,11 +1530,14 @@ public com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int i return supportedPrivacy_converter_.convert(supportedPrivacy_.get(index)); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param index The index to set the value at. * @param value The supportedPrivacy to set. * @return This builder for chaining. @@ -1384,11 +1553,14 @@ public Builder setSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param value The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1402,11 +1574,14 @@ public Builder addSupportedPrivacy(com.google.cloud.domains.v1beta1.ContactPriva return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param values The supportedPrivacy to add. * @return This builder for chaining. */ @@ -1420,11 +1595,14 @@ public Builder addAllSupportedPrivacy( return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @return This builder for chaining. */ public Builder clearSupportedPrivacy() { @@ -1434,23 +1612,28 @@ public Builder clearSupportedPrivacy() { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - public java.util.List - getSupportedPrivacyValueList() { + public java.util.List getSupportedPrivacyValueList() { return java.util.Collections.unmodifiableList(supportedPrivacy_); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ @@ -1458,28 +1641,33 @@ public int getSupportedPrivacyValue(int index) { return supportedPrivacy_.get(index); } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. * @return This builder for chaining. */ - public Builder setSupportedPrivacyValue( - int index, int value) { + public Builder setSupportedPrivacyValue(int index, int value) { ensureSupportedPrivacyIsMutable(); supportedPrivacy_.set(index, value); onChanged(); return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param value The enum numeric value on the wire for supportedPrivacy to add. * @return This builder for chaining. */ @@ -1490,16 +1678,18 @@ public Builder addSupportedPrivacyValue(int value) { return this; } /** + * + * *
      * Contact privacy options that the domain supports.
      * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param values The enum numeric values on the wire for supportedPrivacy to add. * @return This builder for chaining. */ - public Builder addAllSupportedPrivacyValue( - java.lang.Iterable values) { + public Builder addAllSupportedPrivacyValue(java.lang.Iterable values) { ensureSupportedPrivacyIsMutable(); for (int value : values) { supportedPrivacy_.add(value); @@ -1510,24 +1700,31 @@ public Builder addAllSupportedPrivacyValue( private com.google.type.Money yearlyPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> yearlyPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + yearlyPriceBuilder_; /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; + * * @return Whether the yearlyPrice field is set. */ public boolean hasYearlyPrice() { return yearlyPriceBuilder_ != null || yearlyPrice_ != null; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1538,6 +1735,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1558,14 +1757,15 @@ public Builder setYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
* * .google.type.Money yearly_price = 6; */ - public Builder setYearlyPrice( - com.google.type.Money.Builder builderForValue) { + public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { if (yearlyPriceBuilder_ == null) { yearlyPrice_ = builderForValue.build(); onChanged(); @@ -1576,6 +1776,8 @@ public Builder setYearlyPrice( return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1586,7 +1788,7 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { if (yearlyPriceBuilder_ == null) { if (yearlyPrice_ != null) { yearlyPrice_ = - com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(yearlyPrice_).mergeFrom(value).buildPartial(); } else { yearlyPrice_ = value; } @@ -1598,6 +1800,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1616,6 +1820,8 @@ public Builder clearYearlyPrice() { return this; } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1623,11 +1829,13 @@ public Builder clearYearlyPrice() { * .google.type.Money yearly_price = 6; */ public com.google.type.Money.Builder getYearlyPriceBuilder() { - + onChanged(); return getYearlyPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1638,11 +1846,12 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { if (yearlyPriceBuilder_ != null) { return yearlyPriceBuilder_.getMessageOrBuilder(); } else { - return yearlyPrice_ == null ? - com.google.type.Money.getDefaultInstance() : yearlyPrice_; + return yearlyPrice_ == null ? com.google.type.Money.getDefaultInstance() : yearlyPrice_; } } /** + * + * *
      * Price to transfer or renew the domain for one year.
      * 
@@ -1650,21 +1859,22 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { * .google.type.Money yearly_price = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getYearlyPriceFieldBuilder() { if (yearlyPriceBuilder_ == null) { - yearlyPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - getYearlyPrice(), - getParentForChildren(), - isClean()); + yearlyPriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + getYearlyPrice(), getParentForChildren(), isClean()); yearlyPrice_ = null; } return yearlyPriceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1674,12 +1884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.TransferParameters) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.TransferParameters) private static final com.google.cloud.domains.v1beta1.TransferParameters DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.TransferParameters(); } @@ -1688,16 +1898,16 @@ public static com.google.cloud.domains.v1beta1.TransferParameters getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferParameters parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransferParameters(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferParameters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferParameters(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1712,6 +1922,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.domains.v1beta1.TransferParameters getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java similarity index 81% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java index 4710aec6..c97368a1 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/TransferParametersOrBuilder.java @@ -1,94 +1,132 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface TransferParametersOrBuilder extends +public interface TransferParametersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.TransferParameters) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The domainName. */ java.lang.String getDomainName(); /** + * + * *
    * The domain name. Unicode domain names are expressed in Punycode format.
    * 
* * string domain_name = 1; + * * @return The bytes for domainName. */ - com.google.protobuf.ByteString - getDomainNameBytes(); + com.google.protobuf.ByteString getDomainNameBytes(); /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The currentRegistrar. */ java.lang.String getCurrentRegistrar(); /** + * + * *
    * The registrar that currently manages the domain.
    * 
* * string current_registrar = 2; + * * @return The bytes for currentRegistrar. */ - com.google.protobuf.ByteString - getCurrentRegistrarBytes(); + com.google.protobuf.ByteString getCurrentRegistrarBytes(); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return A list containing the nameServers. */ - java.util.List - getNameServersList(); + java.util.List getNameServersList(); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @return The count of nameServers. */ int getNameServersCount(); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the element to return. * @return The nameServers at the given index. */ java.lang.String getNameServers(int index); /** + * + * *
    * The name servers that currently store the configuration of the domain.
    * 
* * repeated string name_servers = 3; + * * @param index The index of the value to return. * @return The bytes of the nameServers at the given index. */ - com.google.protobuf.ByteString - getNameServersBytes(int index); + com.google.protobuf.ByteString getNameServersBytes(int index); /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -96,10 +134,13 @@ public interface TransferParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The enum numeric value on the wire for transferLockState. */ int getTransferLockStateValue(); /** + * + * *
    * Indicates whether the domain is protected by a transfer lock. For a
    * transfer to succeed, this must show `UNLOCKED`. To unlock a domain,
@@ -107,78 +148,101 @@ public interface TransferParametersOrBuilder extends
    * 
* * .google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4; + * * @return The transferLockState. */ com.google.cloud.domains.v1beta1.TransferLockState getTransferLockState(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the supportedPrivacy. */ java.util.List getSupportedPrivacyList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @return The count of supportedPrivacy. */ int getSupportedPrivacyCount(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the element to return. * @return The supportedPrivacy at the given index. */ com.google.cloud.domains.v1beta1.ContactPrivacy getSupportedPrivacy(int index); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @return A list containing the enum numeric values on the wire for supportedPrivacy. */ - java.util.List - getSupportedPrivacyValueList(); + java.util.List getSupportedPrivacyValueList(); /** + * + * *
    * Contact privacy options that the domain supports.
    * 
* * repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedPrivacy at the given index. */ int getSupportedPrivacyValue(int index); /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return Whether the yearlyPrice field is set. */ boolean hasYearlyPrice(); /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
* * .google.type.Money yearly_price = 6; + * * @return The yearlyPrice. */ com.google.type.Money getYearlyPrice(); /** + * + * *
    * Price to transfer or renew the domain for one year.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java index bef07b52..38134848 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; /** + * + * *
  * Request for the `UpdateRegistration` method.
  * 
* * Protobuf type {@code google.cloud.domains.v1beta1.UpdateRegistrationRequest} */ -public final class UpdateRegistrationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRegistrationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.domains.v1beta1.UpdateRegistrationRequest) UpdateRegistrationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRegistrationRequest.newBuilder() to construct. private UpdateRegistrationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRegistrationRequest() { - } + + private UpdateRegistrationRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRegistrationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRegistrationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateRegistrationRequest( case 0: done = true; break; - case 10: { - com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; - if (registration_ != null) { - subBuilder = registration_.toBuilder(); - } - registration_ = input.readMessage(com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(registration_); - registration_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.domains.v1beta1.Registration.Builder subBuilder = null; + if (registration_ != null) { + subBuilder = registration_.toBuilder(); + } + registration_ = + input.readMessage( + com.google.cloud.domains.v1beta1.Registration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(registration_); + registration_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateRegistrationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.Builder.class); } public static final int REGISTRATION_FIELD_NUMBER = 1; private com.google.cloud.domains.v1beta1.Registration registration_; /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; + * * @return Whether the registration field is set. */ @java.lang.Override @@ -127,18 +153,25 @@ public boolean hasRegistration() { return registration_ != null; } /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; + * * @return The registration. */ @java.lang.Override public com.google.cloud.domains.v1beta1.Registration getRegistration() { - return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() + : registration_; } /** + * + * *
    * Fields of the `Registration` to update.
    * 
@@ -153,13 +186,17 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,13 +204,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -181,13 +222,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -195,6 +239,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +251,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (registration_ != null) { output.writeMessage(1, getRegistration()); } @@ -224,12 +268,10 @@ public int getSerializedSize() { size = 0; if (registration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRegistration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRegistration()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +281,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.domains.v1beta1.UpdateRegistrationRequest)) { return super.equals(obj); } - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest other = (com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) obj; + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest other = + (com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) obj; if (hasRegistration() != other.hasRegistration()) return false; if (hasRegistration()) { - if (!getRegistration() - .equals(other.getRegistration())) return false; + if (!getRegistration().equals(other.getRegistration())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,117 +322,127 @@ public int hashCode() { } public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for the `UpdateRegistration` method.
    * 
* * Protobuf type {@code google.cloud.domains.v1beta1.UpdateRegistrationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.domains.v1beta1.UpdateRegistrationRequest) com.google.cloud.domains.v1beta1.UpdateRegistrationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.Builder.class); + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.class, + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.Builder.class); } // Construct using com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.newBuilder() @@ -399,16 +450,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.domains.v1beta1.DomainsProto.internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.domains.v1beta1.DomainsProto + .internal_static_google_cloud_domains_v1beta1_UpdateRegistrationRequest_descriptor; } @java.lang.Override @@ -449,7 +499,8 @@ public com.google.cloud.domains.v1beta1.UpdateRegistrationRequest build() { @java.lang.Override public com.google.cloud.domains.v1beta1.UpdateRegistrationRequest buildPartial() { - com.google.cloud.domains.v1beta1.UpdateRegistrationRequest result = new com.google.cloud.domains.v1beta1.UpdateRegistrationRequest(this); + com.google.cloud.domains.v1beta1.UpdateRegistrationRequest result = + new com.google.cloud.domains.v1beta1.UpdateRegistrationRequest(this); if (registrationBuilder_ == null) { result.registration_ = registration_; } else { @@ -468,38 +519,39 @@ public com.google.cloud.domains.v1beta1.UpdateRegistrationRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) { - return mergeFrom((com.google.cloud.domains.v1beta1.UpdateRegistrationRequest)other); + return mergeFrom((com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.domains.v1beta1.UpdateRegistrationRequest other) { - if (other == com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.domains.v1beta1.UpdateRegistrationRequest.getDefaultInstance()) + return this; if (other.hasRegistration()) { mergeRegistration(other.getRegistration()); } @@ -533,7 +586,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.domains.v1beta1.UpdateRegistrationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +599,47 @@ public Builder mergeFrom( private com.google.cloud.domains.v1beta1.Registration registration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> registrationBuilder_; + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + registrationBuilder_; /** + * + * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; + * * @return Whether the registration field is set. */ public boolean hasRegistration() { return registrationBuilder_ != null || registration_ != null; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; + * * @return The registration. */ public com.google.cloud.domains.v1beta1.Registration getRegistration() { if (registrationBuilder_ == null) { - return registration_ == null ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() + : registration_; } else { return registrationBuilder_.getMessage(); } } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -593,6 +660,8 @@ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration val return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -611,6 +680,8 @@ public Builder setRegistration( return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -621,7 +692,9 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v if (registrationBuilder_ == null) { if (registration_ != null) { registration_ = - com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_).mergeFrom(value).buildPartial(); + com.google.cloud.domains.v1beta1.Registration.newBuilder(registration_) + .mergeFrom(value) + .buildPartial(); } else { registration_ = value; } @@ -633,6 +706,8 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -651,6 +726,8 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -658,11 +735,13 @@ public Builder clearRegistration() { * .google.cloud.domains.v1beta1.Registration registration = 1; */ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationBuilder() { - + onChanged(); return getRegistrationFieldBuilder().getBuilder(); } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -673,11 +752,14 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB if (registrationBuilder_ != null) { return registrationBuilder_.getMessageOrBuilder(); } else { - return registration_ == null ? - com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() : registration_; + return registration_ == null + ? com.google.cloud.domains.v1beta1.Registration.getDefaultInstance() + : registration_; } } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -685,14 +767,17 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB * .google.cloud.domains.v1beta1.Registration registration = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder> + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder> getRegistrationFieldBuilder() { if (registrationBuilder_ == null) { - registrationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.domains.v1beta1.Registration, com.google.cloud.domains.v1beta1.Registration.Builder, com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( - getRegistration(), - getParentForChildren(), - isClean()); + registrationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.domains.v1beta1.Registration, + com.google.cloud.domains.v1beta1.Registration.Builder, + com.google.cloud.domains.v1beta1.RegistrationOrBuilder>( + getRegistration(), getParentForChildren(), isClean()); registration_ = null; } return registrationBuilder_; @@ -700,45 +785,61 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrB private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -754,16 +855,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -774,19 +877,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -798,13 +904,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -818,61 +927,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The field mask describing which fields to update as a comma-separated list.
      * For example, if only the labels are being updated, the `update_mask` is
      * `"labels"`.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +1004,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.domains.v1beta1.UpdateRegistrationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.domains.v1beta1.UpdateRegistrationRequest) private static final com.google.cloud.domains.v1beta1.UpdateRegistrationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.domains.v1beta1.UpdateRegistrationRequest(); } @@ -896,16 +1018,16 @@ public static com.google.cloud.domains.v1beta1.UpdateRegistrationRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRegistrationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateRegistrationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRegistrationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateRegistrationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,6 +1042,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.domains.v1beta1.UpdateRegistrationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java rename to proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java index 74f08b4f..65ac6dd6 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java +++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/UpdateRegistrationRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/domains/v1beta1/domains.proto package com.google.cloud.domains.v1beta1; -public interface UpdateRegistrationRequestOrBuilder extends +public interface UpdateRegistrationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.domains.v1beta1.UpdateRegistrationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; + * * @return Whether the registration field is set. */ boolean hasRegistration(); /** + * + * *
    * Fields of the `Registration` to update.
    * 
* * .google.cloud.domains.v1beta1.Registration registration = 1; + * * @return The registration. */ com.google.cloud.domains.v1beta1.Registration getRegistration(); /** + * + * *
    * Fields of the `Registration` to update.
    * 
@@ -35,35 +59,46 @@ public interface UpdateRegistrationRequestOrBuilder extends com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationOrBuilder(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The field mask describing which fields to update as a comma-separated list.
    * For example, if only the labels are being updated, the `update_mask` is
    * `"labels"`.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto b/proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto rename to proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/exportregistration/SyncExportRegistrationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/AsyncGetRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/AsyncGetRegistration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/AsyncGetRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/AsyncGetRegistration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/getregistration/SyncGetRegistrationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrations.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrations.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrations.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrations.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/listregistrations/SyncListRegistrationsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomain.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomain.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomain.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomain.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/AsyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/AsyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/AsyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/AsyncSearchDomains.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomains.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsStringString.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsStringString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsStringString.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/searchdomains/SyncSearchDomainsStringString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomain.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomain.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomainLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomainLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomainLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/AsyncTransferDomainLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomain.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomain.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistration.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistration.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainssettings/searchdomains/SyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1/domainssettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/domainssettings/searchdomains/SyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1/domainssettings/searchdomains/SyncSearchDomains.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/domains/v1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettings.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettings.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistration.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistration.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistration.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/deleteregistration/SyncDeleteRegistrationString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistration.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistration.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistrationLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistrationLRO.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistrationLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/AsyncExportRegistrationLRO.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistration.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistration.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/exportregistration/SyncExportRegistrationString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/AsyncGetRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/AsyncGetRegistration.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/AsyncGetRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/AsyncGetRegistration.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistration.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistration.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/getregistration/SyncGetRegistrationString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrations.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrations.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrations.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrations.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrationsPaged.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrationsPaged.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrationsPaged.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/AsyncListRegistrationsPaged.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrations.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrations.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrations.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrations.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsLocationname.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsLocationname.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsLocationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsLocationname.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/listregistrations/SyncListRegistrationsString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomain.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomain.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomainLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomainLRO.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomainLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/AsyncRegisterDomainLRO.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomain.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomain.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/AsyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/AsyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/AsyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/AsyncSearchDomains.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomains.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsStringString.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsStringString.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsStringString.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/searchdomains/SyncSearchDomainsStringString.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomain.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomain.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomainLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomainLRO.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomainLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/AsyncTransferDomainLRO.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomain.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomain.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistration.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistration.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistration.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistration.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainssettings/searchdomains/SyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainssettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainssettings/searchdomains/SyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/domainssettings/searchdomains/SyncSearchDomains.java diff --git a/owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1alpha2/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1alpha2/samples/snippets/generated/com/google/cloud/domains/v1alpha2/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1alpha2/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettings.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/AsyncConfigureContactSettingsLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettings.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsRegistrationnameContactsettingsFieldmask.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurecontactsettings/SyncConfigureContactSettingsStringContactsettingsFieldmask.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettings.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/AsyncConfigureDnsSettingsLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettings.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsRegistrationnameDnssettingsFieldmask.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configurednssettings/SyncConfigureDnsSettingsStringDnssettingsFieldmask.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettings.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/AsyncConfigureManagementSettingsLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettings.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsRegistrationnameManagementsettingsFieldmask.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/configuremanagementsettings/SyncConfigureManagementSettingsStringManagementsettingsFieldmask.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistration.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistration.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/AsyncDeleteRegistrationLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistration.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationRegistrationname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/deleteregistration/SyncDeleteRegistrationString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistration.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistration.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/AsyncExportRegistrationLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistration.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistration.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationRegistrationname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/exportregistration/SyncExportRegistrationString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/AsyncGetRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/AsyncGetRegistration.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/AsyncGetRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/AsyncGetRegistration.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistration.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistration.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationRegistrationname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/getregistration/SyncGetRegistrationString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrations.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrations.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrations.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrations.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/AsyncListRegistrationsPaged.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrations.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrations.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrations.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrations.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsLocationname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/listregistrations/SyncListRegistrationsString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomain.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomain.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/AsyncRegisterDomainLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomain.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomain.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainLocationnameRegistrationMoney.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/registerdomain/SyncRegisterDomainStringRegistrationMoney.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/AsyncResetAuthorizationCode.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCode.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeRegistrationname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/resetauthorizationcode/SyncResetAuthorizationCodeString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/AsyncRetrieveAuthorizationCode.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCode.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeRegistrationname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveauthorizationcode/SyncRetrieveAuthorizationCodeString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/AsyncRetrieveRegisterParameters.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParameters.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersLocationnameString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrieveregisterparameters/SyncRetrieveRegisterParametersStringString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/AsyncRetrieveTransferParameters.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParameters.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersLocationnameString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/retrievetransferparameters/SyncRetrieveTransferParametersStringString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/AsyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/AsyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/AsyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/AsyncSearchDomains.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomains.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsLocationnameString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsStringString.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsStringString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsStringString.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/searchdomains/SyncSearchDomainsStringString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomain.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomain.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomainLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomainLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomainLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/AsyncTransferDomainLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomain.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomain.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomain.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomain.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainLocationnameRegistrationMoneyAuthorizationcode.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/transferdomain/SyncTransferDomainStringRegistrationMoneyAuthorizationcode.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistration.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistration.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/AsyncUpdateRegistrationLRO.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistration.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistration.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistration.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistration.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainsclient/updateregistration/SyncUpdateRegistrationRegistrationFieldmask.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainssettings/searchdomains/SyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainssettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/domainssettings/searchdomains/SyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/domainssettings/searchdomains/SyncSearchDomains.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java b/samples/snippets/generated/com/google/cloud/domains/v1beta1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/domains/v1beta1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java rename to samples/snippets/generated/com/google/cloud/domains/v1beta1/stub/domainsstubsettings/searchdomains/SyncSearchDomains.java